From 1488d9123b43362049d69890c4a296cdc5e9d067 Mon Sep 17 00:00:00 2001 From: Nathan Van Gheem Date: Wed, 30 Aug 2023 10:01:50 -0400 Subject: [PATCH] open up sdk python support (#1279) * open up sdk python support * all libraries can be 3.8+ * python 3.11 in doc * not tele for now --- CONTRIBUTING.md | 2 +- VERSION | 2 +- nucliadb_client/setup.py | 2 +- nucliadb_dataset/setup.py | 2 +- nucliadb_sdk/setup.py | 2 +- nucliadb_utils/setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8d667c4f08..28a0e91113 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,6 +30,6 @@ The process is simple and fast. Upon your first pull request, you will be prompt ### Setup & run tests NucliaDB -1. Install Python > 3.9 with a virtualenv with your prefered tool (pyenv, conda, pipenv,...) +1. Install Python == 3.11 with a virtualenv with your prefered tool (pyenv, conda, pipenv,...) 2. Install NucliaDB Dev Dependencies `make install` 3. Run `pytest nucliadb/nucliadb/tests` diff --git a/VERSION b/VERSION index e9763f6bfe..ad2261920c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.23.0 +2.24.0 diff --git a/nucliadb_client/setup.py b/nucliadb_client/setup.py index 3b05acb530..814fe3c11c 100644 --- a/nucliadb_client/setup.py +++ b/nucliadb_client/setup.py @@ -40,7 +40,7 @@ def load_reqs(filename): "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", ], url="https://nuclia.com", - python_requires=">=3.9, <4", + python_requires=">=3.8, <4", license="BSD", zip_safe=True, include_package_data=True, diff --git a/nucliadb_dataset/setup.py b/nucliadb_dataset/setup.py index 93fd823eb4..4e3b7ad6b0 100644 --- a/nucliadb_dataset/setup.py +++ b/nucliadb_dataset/setup.py @@ -45,7 +45,7 @@ def load_reqs(filename): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3 :: Only", ], - python_requires=">=3.9", + python_requires=">=3.8", include_package_data=True, package_data={"": ["*.txt", "*.md"], "nucliadb_dataset": ["py.typed"]}, packages=find_packages(), diff --git a/nucliadb_sdk/setup.py b/nucliadb_sdk/setup.py index 9b134657fc..efa797ddf5 100644 --- a/nucliadb_sdk/setup.py +++ b/nucliadb_sdk/setup.py @@ -42,7 +42,7 @@ def load_reqs(filename): "Programming Language :: Python :: 3 :: Only", ], url="https://nucliadb.com", - python_requires=">=3.9, <4", + python_requires=">=3.8, <4", license="BSD", zip_safe=True, include_package_data=True, diff --git a/nucliadb_utils/setup.py b/nucliadb_utils/setup.py index 16a5716fe0..697bb9653b 100644 --- a/nucliadb_utils/setup.py +++ b/nucliadb_utils/setup.py @@ -58,7 +58,7 @@ def load_extra(sections: List[str]): "Topic :: Software Development :: Libraries :: Python Modules", ], url="https://nuclia.com", - python_requires=">=3.9, <4", + python_requires=">=3.8, <4", license="BSD", setup_requires=[ "pytest-runner",