]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: bump build packages versions
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 7 May 2025 11:05:49 +0000 (13:05 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 7 May 2025 18:18:57 +0000 (20:18 +0200)
Update packages metadata following PEP 639 license documentation.

docs/release.rst
psycopg/pyproject.toml
psycopg_c/pyproject.toml
psycopg_pool/pyproject.toml

index ce82717b511e7a549c1d556586fcfa742feee90c..f1a5aac4f7488eb7a1d60ffa5959afec163355aa 100644 (file)
@@ -114,6 +114,9 @@ When dropping end-of-life Python versions
 
 - Bump versions in the ``tests/constraints.txt`` file if it is necessary.
 
+- bump ``build-system.requires`` in ``*/pyproject.toml``. Install the packages
+  with ``pip install ./psycopg*/`` and check eventual warnings.
+
 - You may grep throughout the project for occurrences of a version to be dropped.
   However, favouring smaller pull requests is convenient and easy to review.
   An example for grepping `end-of-life <https://endoflife.date/python>` Python 3.8::
index 6373836284b3e13d52fd96de9dbbb66685b16025..1034e4bf89ca9fc24cf9ef06ea3de239bd94ed23 100644 (file)
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["setuptools>=49.2.0", "wheel>=0.37"]
+requires = ["setuptools>=80.3.1", "wheel>=0.37"]
 build-backend = "setuptools.build_meta"
 
 [project]
@@ -15,10 +15,11 @@ version = "3.3.0.dev1"
 #
 # NOTE: you can use `tools/bump_version.py` to maintain versions.
 
+license = "LGPL-3.0-only"
+license-files = ["LICENSE.txt"]
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
     "Operating System :: MacOS :: MacOS X",
     "Operating System :: Microsoft :: Windows",
     "Operating System :: POSIX",
@@ -44,9 +45,6 @@ dependencies = [
 name = "Daniele Varrazzo"
 email = "daniele.varrazzo@gmail.com"
 
-[project.license]
-text = "GNU Lesser General Public License v3 (LGPLv3)"
-
 [project.urls]
 Homepage = "https://psycopg.org/"
 Documentation = "https://psycopg.org/psycopg3/docs/"
@@ -99,7 +97,6 @@ docs = [
 
 [tool.setuptools]
 zip-safe = false
-license-files = ["LICENSE.txt"]
 include-package-data = true
 
 [tool.setuptools.package-data]
index 7604b335efe3a135ab1eaf1ebe2e9fca931090f8..905dfd0ed2d57ece358f0c4001cb9a6afd77cbc1 100644 (file)
@@ -1,11 +1,11 @@
 [build-system]
 requires = [
-    # Note: pinning these versions strictly because of the setuptools warning:
+    # Note: pinning this version strictly because of the setuptools warning:
     #
     #   `[tool.setuptools.ext-modules]` in `pyproject.toml` is still
     #   *experimental* and likely to change in future releases
     #
-    "setuptools == 75.6.0",
+    "setuptools == 80.3.1",
     "wheel >= 0.37",
     "tomli >= 2.0.1; python_version < '3.11'",
 ]
@@ -25,10 +25,11 @@ cython-requires = ["Cython >= 3.0.0"]
 name = "psycopg-c"
 description = "PostgreSQL database adapter for Python -- C optimisation distribution"
 version = "3.3.0.dev1"
+license = "LGPL-3.0-only"
+license-files = ["LICENSE.txt"]
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
     "Operating System :: MacOS :: MacOS X",
     "Operating System :: Microsoft :: Windows",
     "Operating System :: POSIX",
@@ -50,9 +51,6 @@ requires-python = ">= 3.10"
 name = "Daniele Varrazzo"
 email = "daniele.varrazzo@gmail.com"
 
-[project.license]
-text = "GNU Lesser General Public License v3 (LGPLv3)"
-
 [project.urls]
 Homepage = "https://psycopg.org/"
 Documentation = "https://psycopg.org/psycopg3/docs/"
@@ -72,7 +70,6 @@ packages = [
     "psycopg_c.types",
 ]
 zip-safe = false
-license-files = ["LICENSE.txt"]
 include-package-data = true
 
 [tool.setuptools.package-data]
index f6a4f30e604756175eddc745658118aeb4e7afaf..6f94406c4292a0ef004def44ade9d7523b3eb0a4 100644 (file)
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["setuptools>=49.2.0", "wheel>=0.37"]
+requires = ["setuptools>=80.3.1", "wheel>=0.37"]
 build-backend = "setuptools.build_meta"
 
 [project]
@@ -11,10 +11,11 @@ version = "3.3.0.dev1"
 # also change:
 # - `docs/news_pool.rst` to declare this version current or unreleased
 
+license = "LGPL-3.0-only"
+license-files = ["LICENSE.txt"]
 classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Intended Audience :: Developers",
-    "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
     "Operating System :: MacOS :: MacOS X",
     "Operating System :: Microsoft :: Windows",
     "Operating System :: POSIX",
@@ -39,9 +40,6 @@ dependencies = [
 name = "Daniele Varrazzo"
 email = "daniele.varrazzo@gmail.com"
 
-[project.license]
-text = "GNU Lesser General Public License v3 (LGPLv3)"
-
 [project.urls]
 Homepage = "https://psycopg.org/"
 Documentation = "https://www.psycopg.org/psycopg3/docs/advanced/pool.html"
@@ -55,7 +53,6 @@ content-type = "text/x-rst"
 
 [tool.setuptools]
 zip-safe = false
-license-files = ["LICENSE.txt"]
 include-package-data = true
 
 [tool.setuptools.package-data]