Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lx6oN-0000ra-4K for psycopg@arkaria.postgresql.org; Sat, 26 Jun 2021 11:49:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lx6oJ-0006aq-29 for psycopg@arkaria.postgresql.org; Sat, 26 Jun 2021 11:49:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lx6oI-0006ai-R9 for psycopg@lists.postgresql.org; Sat, 26 Jun 2021 11:49:18 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lx6oC-0005c6-5Z for psycopg@lists.postgresql.org; Sat, 26 Jun 2021 11:49:18 +0000 Received: by mail-lj1-x234.google.com with SMTP id f13so16458227ljp.10 for ; Sat, 26 Jun 2021 04:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XNS8uHB49fxtjlZprzqQvxG+mJk4Y2byIzviPpOZmNI=; b=B/yJSFz2Xlv6KJlPSKsl8z72YMkk2hLfSkrl/7xsjaWe2dwO8KQAuwrraXVOoH/qNB eMcJB6hMoD7ke0lrVhd2j7AcugTcuQ4t78vVNc3UAkBNoJyTOGtrnOLb0zeAz6NQIWa/ o0g6MWQE6TW5P23tjba+fZ0voftA9zn/HcMxeZL54MNOyzMdr4WTlTQpp+3HJ85P/pe8 phtRPmF5d7Wyxgb5IQZyiAYsSKdx+wyVfnCD51ubxwhrtaGkI4j0dZLt1la6oWzn50eK m5VzZV7ubR4rdIGLOUiyslXKBz2XHaGhfWFjWvXRhZq6BbihjXVr1Vh0BhjeH214nKTQ C2XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XNS8uHB49fxtjlZprzqQvxG+mJk4Y2byIzviPpOZmNI=; b=n3qvDaYcvxYDVKv994n1XyxSDjJQ+Za37U672tMAE/0WnRchVWx52UDFO/+QknhG9O pVPX0n3loV5y8HvfEHZ5tJc+sUns04QPkM8SUHxFxjt54b9ff1SkgLh6ny51a7dbSeqd lowUlZsTw5D+8NmDY2ZE1kNZRgNLfWQ+W9M1A3SOKXx9X7nJhw9YHU8crRBjTW2hzQbJ i/yuJvmPAMRdk+Q4fIoLzbO6kKQZS1mUlrciOkPYnJAwIZan8zvx4yH7tiBpMMbftM7K GuuDqDVNUAslzrU9T/aW+MHoqMXmF/I1Rok4GPgeZ9q8uab1OTHscAHPObdMNYJ8b6kq dSzQ== X-Gm-Message-State: AOAM530qP3K9KRqbh8hviNoSqp6KuarzjY1/y3CW4bffHM7UBAeW0/Bj FiX+IzRMevdwrgIP0xFPUz7t/NWchLWqGACCnnM= X-Google-Smtp-Source: ABdhPJxPvVkhMZ/2PCKlLFJW7b35bb01ybNS6Xw8rtVlTWSQXG4iz44EORe3H5857Y0ST0eSBUpN3YaTgbcZHwrbn1U= X-Received: by 2002:a2e:8809:: with SMTP id x9mr11945529ljh.149.1624708150301; Sat, 26 Jun 2021 04:49:10 -0700 (PDT) MIME-Version: 1.0 References: <54a7e6b2-f785-e373-02ca-4fb35f8a9589@aklaver.com> <1dfca7ba-f4ed-3c10-87c2-e35e0df8800a@dndg.it> In-Reply-To: <1dfca7ba-f4ed-3c10-87c2-e35e0df8800a@dndg.it> From: Daniele Varrazzo Date: Sat, 26 Jun 2021 12:48:58 +0100 Message-ID: Subject: Re: psycopg is the new psycopg3? To: Federico Di Gregorio Cc: psycopg@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 11 Nov 2020 at 08:47, Federico Di Gregorio wrote: > Reading all the messages I have second toughts. If psycopg2 is here to > stay, i.e., if it will not be completely replaced by "psycopg3" (and by > completely I mean shutting down everything about it) then we will have > the following situation: > > psycopg2 version 2.x.y > psycopg version 3.w.z > > that at first sight is a bit confusing, isn't it? I have been settled with psycopg3 as the package name for a bit. Then, a few days ago, releasing psycopg 2.9, I got to see some problems. The main one is that, in order to respect semver, we should accept introducing breaking changes only at the change of the main version. People have been very confused to see breaking changes, although they were minor, from 2.8 to 2.9. Semver is much more an accepted, and expected, version number organisation than having the major number in the package name. I can expect to see psycopg 4, psycopg 5 etc. as we need to introduce breaking changes. So I think, although going from psycopg2 v2.x to psycopg v3.x might be confusing, the need to pin to the minor version instead of the major is probably more so, and would come to bite us much more often. "import psycopg" is ready to merge (https://github.com/psycopg/psycopg3/commit/7e526af8aca1c31b32a3ad55a0baf0de477c961c) -- Daniele