.. _OpenSSL: https://www.openssl.org/source/
- Check if there is a new `cibuildwheel release`__; if so, upgrade it in
-``.github/workflows/packages-bin.yml``.
+ ``.github/workflows/packages-bin.yml``.
.. __: https://github.com/pypa/cibuildwheel/releases
- Use ``tools/bump_version.py`` to upgrade package version numbers.
-- Change ``docs/news.rst`` to drop the "unreleased" mark from the version
-
- Push to GitHub to run `the tests workflow`__.
.. __: https://github.com/psycopg/psycopg/actions/workflows/tests.yml
-- Build the packages by triggering manually the `Build packages workflow`__.
+- Build the packages by triggering manually the ones requested among:
+
+ - `Source packages`__
+ - `Binary packages`__
+ - `Pool packages`__
- .. __: https://github.com/psycopg/psycopg/actions/workflows/packages.yml
+ .. __: https://github.com/psycopg/psycopg/actions/workflows/packages-src.yml
+ .. __: https://github.com/psycopg/psycopg/actions/workflows/packages-bin.yml
+ .. __: https://github.com/psycopg/psycopg/actions/workflows/packages-pool.yml
- Delete the ``wheelhouse`` directory there is one.
- If the package is stable, omit ``-r testpypi``::
$ twine upload *
+
+- Run ``tools/bump_version.py -l dev`` to bump to the next dev version.
+
+
+When a new PostgreSQL major version is released
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Add the new version to ``tools/update_errors.py`` and run the script to add
+ new error classes.
+
+- Run the script ``tools/update_oids.py`` to add new oids. Use ``-h`` to get
+ an example docker command line to run a server locally.
+
+- Bump ``PG_VERSION`` in the ``macos`` job of
+ ``.github/workflows/packages-bin.yml``.
+
+- Bump ``pg_version`` in ``tools/build/build_macos_arm64.sh``.
+
+- Bump the version in ``tools/build/wheel_win32_before_build.bat``.
for t in [
TypeInfo('"char"', 18, 1002),
# autogenerated: start
- # Generated from PostgreSQL 15.0
+ # Generated from PostgreSQL 16.0
TypeInfo("aclitem", 1033, 1034),
TypeInfo("bit", 1560, 1561),
TypeInfo("bool", 16, 1000, regtype="boolean"),
}
function server_id {
- # Return the id of the first server available, else the emtpy string
+ # Return the id of the first server available, else the empty string
servers=$(get $servers_url || error "failed to request servers list")
server_ids=$(echo "$servers" | jq -r ".servers[].id")
for id in $server_ids; do