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 1lxBXR-0000jX-S7 for psycopg@arkaria.postgresql.org; Sat, 26 Jun 2021 16:52:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lxBXQ-0007HX-1l for psycopg@arkaria.postgresql.org; Sat, 26 Jun 2021 16:52:12 +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 1lxBXP-0007HN-53 for psycopg@lists.postgresql.org; Sat, 26 Jun 2021 16:52:11 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxBXL-0000Is-Th for psycopg@lists.postgresql.org; Sat, 26 Jun 2021 16:52:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9BCA132007F9; Sat, 26 Jun 2021 12:52:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 26 Jun 2021 12:52:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=5 cVJEk0SsOanatFFIoJB3xrOhDLvuW0nqG4tIQI1WHQ=; b=l87b39hyIjZicUOty BbYxeFkdkIf343s7X2E47Tzlq2l5o2QhwaW7pnVKOGVPODrmFYumsUHIeJN+s3IE 4zVzwnF2sljAvc38d+g07L5JzI+N2hCL3iL7t7WVNWrWnKu7T7cY+RHqLYet1+/3 06u+EjP1sKaB9Odpf2RMH4nskFX2/lqqmweVisyaTNC8OO1fnHOM1Ck3Ht5jEcSI XCqljl51Cp6u9ezUJe12c6QsKl8cveKqBSiPSDx4sz820B7kfnDX9eIw2EKJxsQi OSSdrbknqcNPNiqK5uMZCfwuU1MLTfNzIFQH25eE2qrZqyn9ZD1AP6HQh3nd0vGy UHp7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=5cVJEk0SsOanatFFIoJB3xrOhDLvuW0nqG4tIQI1W HQ=; b=EcLkvrfbmuzGNfmol8h0zGDqbhHfzpJRB2OgyUEp+knwDccQcbuLBDoVj QaVNGOGjMAKTk1KG36fKF5TegfbpZzHNaoW2wZyRIXEB56JL4n6MlRxMkrtbFWC/ 3nBnrT4axQL1BPw3gJj1eIECjrJnMcvt1fiRFuFvp0AACukCW6UUoqAtFwLi8T/t ZWgj6GHqPlrCWA/oMfpWWgv6ywNt45k01JVtXY2aMj/rwYwfQzgxzEdZNf3PHGkw caYDsT6NZYUpwckXu47zyrRknmmwETUzvK8fnLY0STDU5jqySXWtC2gk8A9lbLO6 oHYit3/jrXEp+GDRECac6JNf5E+ZQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehtddguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepgfffiefffffghedtueefleefueduffetleefgeel leetheegvdevfedvleelueeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Jun 2021 12:52:04 -0400 (EDT) Subject: Re: psycopg is the new psycopg3? To: Daniele Varrazzo , Federico Di Gregorio Cc: psycopg@lists.postgresql.org References: <54a7e6b2-f785-e373-02ca-4fb35f8a9589@aklaver.com> <1dfca7ba-f4ed-3c10-87c2-e35e0df8800a@dndg.it> From: Adrian Klaver Message-ID: Date: Sat, 26 Jun 2021 09:52:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/26/21 4:48 AM, Daniele Varrazzo wrote: > 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. Somewhere you lost me in the above. What exactly is the proposed package naming and versioning going to be going forward? > > "import psycopg" is ready to merge > (https://github.com/psycopg/psycopg3/commit/7e526af8aca1c31b32a3ad55a0baf0de477c961c) > > -- Daniele > > -- Adrian Klaver adrian.klaver@aklaver.com