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 1lxqxV-0006IW-08 for psycopg@arkaria.postgresql.org; Mon, 28 Jun 2021 13:05:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lxqxT-0002Nx-W7 for psycopg@arkaria.postgresql.org; Mon, 28 Jun 2021 13:05:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxqxT-0002L4-ON for psycopg@lists.postgresql.org; Mon, 28 Jun 2021 13:05:51 +0000 Received: from mail1.dalibo.net ([212.83.143.11] helo=mail.dalibo.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxqxR-0002l5-5M for psycopg@lists.postgresql.org; Mon, 28 Jun 2021 13:05:50 +0000 Received: from [192.168.24.81] (unknown [78.203.164.42]) by mail.dalibo.com (Postfix) with ESMTPSA id 64F7B1FF86 for ; Mon, 28 Jun 2021 15:05:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1624885546; bh=coWgPyHYHWfgmokS/uSjWs4f8XFIG06gavPkToRqCZY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=Yg2MbmdPraXVrwFhNwAwgNAdFlAd1XwDPyB1kS6E6Xk0OOOXb9KIdDXhV33nAIAG0 qcRMNLVuKDYD/dD6wCowM7fMVvyBnvkafT650O9VniDT3wziOJIwpZ6Ri5itYH4D6t OHGBExJytUUw/gzAf0ora1nkcnQV8/gO3CoRpPm0= Subject: Re: psycopg is the new psycopg3? To: psycopg@lists.postgresql.org References: <54a7e6b2-f785-e373-02ca-4fb35f8a9589@aklaver.com> <1dfca7ba-f4ed-3c10-87c2-e35e0df8800a@dndg.it> From: Denis Laxalde Message-ID: Date: Mon, 28 Jun 2021 15:05:46 +0200 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: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniele Varrazzo a écrit : > 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. That's a good point; so I agree moving to psycopg makes sense. > "import psycopg" is ready to merge > (https://github.com/psycopg/psycopg3/commit/7e526af8aca1c31b32a3ad55a0baf0de477c961c) I see here that the repository (URL) is also renamed, which looks reasonable as well.