]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
doc: explain better that binary packages are on a best-effort basis
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 21 Sep 2024 18:29:58 +0000 (20:29 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 21 Sep 2024 18:29:58 +0000 (20:29 +0200)
Close #912.

docs/basic/install.rst

index f1d664381de1ec4a21fe16c729f35a166962ea8d..9f915fbfcf4e830a460b66d65497eaafa06164bc 100644 (file)
@@ -66,11 +66,21 @@ to update it beforehand.
 
     Binary packages are produced on a best-effort basis; the supported
     platforms depend on the CI runners available to build the
-    packages. You can check the `psycopg-binary PyPI files`__ to verify
-    that your platform is supported.
+    packages. This means that:
+
+    - binary packages for a new version of Python will be made available once
+      the runners used for the build support it; you can check the
+      `psycopg-binary PyPI files`__ to verify whether your platform is
+      supported.
+
+    - the libpq version included in the binary package depend on the version
+      available on the runners. You can use the `psycopg.pq.version()`
+      function and the `psycopg.pq.__build_version__` constant to infer the
+      features available.
 
     .. __: https://pypi.org/project/psycopg-binary/#files
 
+
 .. warning::
 
     Starting from Psycopg 3.1.20, ARM64 macOS binary packages (i.e. for
@@ -79,9 +89,9 @@ to update it beforehand.
     <local-installation>` or a :ref:`Python <pure-python-installation>`
     installation.
 
-If your platform is not supported you should proceed to a :ref:`local
-installation <local-installation>` or a :ref:`pure Python installation
-<pure-python-installation>`.
+If your platform is not supported, or if the libpq packaged is not suitable,
+you should proceed to a :ref:`local installation <local-installation>` or a
+:ref:`pure Python installation <pure-python-installation>`.
 
 .. seealso::