public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daniele Varrazzo <[email protected]>
To: [email protected]
Subject: First testing packages for Psycopg 3!
Date: Wed, 30 Jun 2021 13:56:37 +0100
Message-ID: <CA+mi_8YNNs+zJqiF7DZYMGenoJUfVrGVnqpYMpVGyZ8LYRcLcw@mail.gmail.com> (raw)
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
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: First testing packages for Psycopg 3!
In-Reply-To: <CA+mi_8YNNs+zJqiF7DZYMGenoJUfVrGVnqpYMpVGyZ8LYRcLcw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox