From 04d3fedd281e8d5ae0e4374eb3ecfef6db85d21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20J=C3=A4derberg?= Date: Fri, 17 Oct 2025 13:32:05 +0200 Subject: [PATCH 1/2] Up minimum python version to 3.10 according to `uv tree` the dependencies are unsatisfiable with 3.9 because project depends on neo4j-viz[docs] which depends on sphinx==8.1.3 which requires 3.10 --- .github/workflows/snowflake-integration-tests.yml | 2 +- .github/workflows/unit-tests.yml | 4 ++-- python-wrapper/pyproject.toml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/snowflake-integration-tests.yml b/.github/workflows/snowflake-integration-tests.yml index d9d4c8b..f8f3d6c 100644 --- a/.github/workflows/snowflake-integration-tests.yml +++ b/.github/workflows/snowflake-integration-tests.yml @@ -45,4 +45,4 @@ jobs: SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} SNOWFLAKE_ROLE: ACCOUNTADMIN SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }} - run: pytest tests/ --include-snowflake -W "ignore:Python Runtime 3.9 reached its End-Of-Life:DeprecationWarning" + run: pytest tests/ --include-snowflake diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 0e44291..91208a4 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] defaults: run: @@ -45,4 +45,4 @@ jobs: - run: pip install ".[snowflake]" - name: Run tests - run: pytest tests/ -W "ignore:Python Runtime 3.9 reached its End-Of-Life:DeprecationWarning" + run: pytest tests/ diff --git a/python-wrapper/pyproject.toml b/python-wrapper/pyproject.toml index 49816a6..3a78a27 100644 --- a/python-wrapper/pyproject.toml +++ b/python-wrapper/pyproject.toml @@ -18,7 +18,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -36,7 +35,7 @@ dependencies = [ "pydantic-extra-types >=2, <3", "enum-tools==0.12.0" ] -requires-python = ">=3.9" +requires-python = ">=3.10" [project.optional-dependencies] From 98c0bca6b397940b159888cba09d05e490e395a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20J=C3=A4derberg?= Date: Fri, 17 Oct 2025 14:12:59 +0200 Subject: [PATCH 2/2] Update license declarations Per https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license Requires increasing minimum setuptools version --- python-wrapper/pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-wrapper/pyproject.toml b/python-wrapper/pyproject.toml index 3a78a27..3710f8f 100644 --- a/python-wrapper/pyproject.toml +++ b/python-wrapper/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -8,12 +8,12 @@ version = "0.5.1" description = "A simple graph visualization tool" readme = "README.md" authors = [{ name = "Neo4j", email = "team-gds@neo4j.org" }] -license = { file = "LICENSE" } +license = "GPL-3.0-only" +license-files = [ "LICENSE" ] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3",