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 1lyZlz-0001iA-A4 for psycopg@arkaria.postgresql.org; Wed, 30 Jun 2021 12:56:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lyZly-0002vv-93 for psycopg@arkaria.postgresql.org; Wed, 30 Jun 2021 12:56:58 +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 1lyZly-0002vn-1b for psycopg@lists.postgresql.org; Wed, 30 Jun 2021 12:56:58 +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 1lyZlr-0002my-EW for psycopg@postgresql.org; Wed, 30 Jun 2021 12:56:57 +0000 Received: by mail-lj1-x234.google.com with SMTP id a6so3175355ljq.3 for ; Wed, 30 Jun 2021 05:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZAECVK1tKLv1Ti6mCcGhjLbusetmovkMMKo8gU7jRI4=; b=QbN9Ft6bjomcIqqAFTaZm5aya6CThTX2s7EpxCslo9FtupDvNMIXwB+y4MIddqkCcf mLi6BzC2fH6Me3VHlNJ1jaS+Ehi7lXsUpgY9SHX9/gqvWNUilWRaK30zFwreItpTnoAa 0wiG2Bu7jUeFFEKQZYgRUMonWe7fwGzdgSRmFTJxE+OPayUIpiNJB3nH02F+BN49zl7D jzfX8bG/t8XpxjxCNRkoIcP63MqS1/utdV01UUAuzAb2GmPv0vXr3CQBTR7b1/dO7yu4 1J/JXc0SrxbyM3xLx/US/ZnVu6/HAPTl1mDm0pbLdNcJO3VZL7sgJ33X7rYA5JsP11kK CpBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZAECVK1tKLv1Ti6mCcGhjLbusetmovkMMKo8gU7jRI4=; b=GMYWdxWZWPNT0BJmZ1MzAzTVQtNC9iABmdYVeNMBtur6ot5ypHTLRwUaWkfKjpD+6E SItg4NPE9L3+KihrMFjJ8hstkgBLC+n65EfsmNcU7aUpoH9W2tFz4ffgolyOi3TZXdI9 IyR+U9NUyxpqZvTEsex9E+6YJ0YjPojfZNSyMhVsFojN0zNAlVtprM/4S4Q1nH0SGkDL 5JehBqISiZX6WF6gq8UlDSZOVloXVNjQEFtruXnOSof58n0NHsJs+IDbMQmpFhN1nojk FIFyR7Io/uYNEciMc75lwlrGSaKN70h7I0m1do++nOHj6zKCEPnJgYIamjvtPlOcO6s9 CgDg== X-Gm-Message-State: AOAM533MkDW0lOHi2Ka7HnaHUTOh4G0Ov/eCIVpD2bBZrsraaa98Kdgn N8wX+VawxsTbCdCFvlydzeoK8OYUn1P/4Alf1syBL4JhUek= X-Google-Smtp-Source: ABdhPJzQGQmFmrdMMOQVOTNJSoh5HpPlUzYiIZjRCUAWv9uJPI6ZlqNWU/1BfyB1hAtnz1YlpmUaCzfLAXzXtvHNPSg= X-Received: by 2002:a2e:8088:: with SMTP id i8mr7773103ljg.230.1625057808912; Wed, 30 Jun 2021 05:56:48 -0700 (PDT) MIME-Version: 1.0 From: Daniele Varrazzo Date: Wed, 30 Jun 2021 13:56:37 +0100 Message-ID: Subject: First testing packages for Psycopg 3! To: psycopg@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 Hello everyone! I have uploaded the first pip-installable packages for Psycopg 3 on testpypi! They can be tested using: pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ psycopg The package received this way is a pure Python package and requires the libpq installed in the system. It should work on Linux, MacOS, Windows. Instead of "psycopg" you can specify "psycopg[c]" to receive the C optimised package: this requires a C compiler and libpq-dev header, the same requisites needed for a psycopg2 installation. It currently works for Linux and MacOS. You can also specify "psycopg[binary]", which should install a precompiled version of the C package and require no C compiler or libpq installed in the system. This currently works on Linux and MacOS and is expected to work for Windows too in the future (https://github.com/psycopg/psycopg/issues/66). On Linux it ships with manylinux_2_24 wheel packages, so it requires pip >= 20.3 and a glibc-based distribution (no Alpine linux). The interface of Psycopg 3 is close to being finalized and at this moment I don't see major changes happening, but of course only use it in your project knowing that things may break with future releases. The "dev" release is mostly to shake up the packages and metadata and it should be followed soon by an alpha version. The documentation is not complete either but large parts are written: https://www.psycopg.org/psycopg3/docs/ Feedback is welcome and appreciated! Please give Psycopg 3 a spin and let me know if the interface can be improved, before it becomes final. Thank you very much! -- Daniele