From 7be6fe592f867b8d9ca4c2f641b16dae5bfce28f Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 10 May 2025 16:29:10 +0200 Subject: [PATCH 1/2] Chore: Update project metadata to use SPDX license identifier ... as suggested by warning message emitted by `python -m build`. --- pyproject.toml | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 19a0a7c9..0ae48109 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,11 +15,11 @@ description = "CrateDB Python Client" authors = [{ name = "Crate.io", email = "office@crate.io" }] requires-python = ">=3.10" readme = "README.rst" -license = { file = "LICENSE"} +license = "Apache-2.0" +license_files = ["LICENSE"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/setup.py b/setup.py index 8feb4be4..7f32be0c 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,8 @@ def read(path): long_description=long_description, long_description_content_type="text/x-rst", platforms=["any"], - license="Apache License 2.0", + license="Apache-2.0", + license_files=["LICENSE"], keywords="cratedb db api dbapi database sql http rdbms olap", packages=find_namespace_packages("src"), package_dir={"": "src"}, @@ -82,7 +83,6 @@ def read(path): classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", From dc670452d955acdbab95a371ef49c8bc15810f25 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 10 May 2025 16:26:30 +0200 Subject: [PATCH 2/2] Dependencies: Update to verlib2>=0.3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7f32be0c..6ccde7b3 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def read(path): install_requires=[ "orjson<4", "urllib3", - "verlib2", + "verlib2>=0.3", ], extras_require={ "doc": [