From 262130c8627b5eb5f5d2083873dbc1f1c780f4df Mon Sep 17 00:00:00 2001 From: Yasha Bubnov Date: Fri, 21 Nov 2025 22:00:13 +0100 Subject: [PATCH 1/2] Upgrade torch and python dependencies This patch bump library version and upgrades torch and python dependencies. --- pyproject.toml | 12 ++++++------ torch_geopooling/__init__.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 62c1133..d25fffd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ ] readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers = [ @@ -20,10 +20,10 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Programming Language :: C++", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Operating System :: POSIX", @@ -31,7 +31,7 @@ classifiers = [ "Operating System :: MacOS" ] -dependencies = ["shapely>=2.0.0", "torch >= 2.7.0, < 2.8.0"] +dependencies = ["shapely>=2.0.0", "torch >= 2.8.0, < 2.9.0"] [project.urls] @@ -66,8 +66,8 @@ requires = [ "setuptools ~= 80.0.0", "sympy >= 1.12", "toml >= 0.7.0; python_version < '3.11'", - "torch >= 2.7.0, < 2.8.0; sys_platform == 'linux'", - "torch >= 2.7.0, < 2.8.0; sys_platform == 'darwin' or sys_platform == 'win'", + "torch >= 2.8.0, < 2.9.0; sys_platform == 'linux'", + "torch >= 2.8.0, < 2.9.0; sys_platform == 'darwin' or sys_platform == 'win'", "typing-extensions >= 4.8.0", "wheel >= 0.43.0" ] @@ -103,7 +103,7 @@ skip = "*.ipynb" # Configuration to build wheels for different version of python, operating systems and # architectures. See more in documentation: https://cibuildwheel.pypa.io/en/stable/options/ [tool.cibuildwheel] -build = "cp39-* cp310-* cp311-* cp312-*" +build = "cp310-* cp311-* cp312-* cp313-*" build-verbosity = 3 skip = "*-musllinux_*" repair-wheel-command = "" diff --git a/torch_geopooling/__init__.py b/torch_geopooling/__init__.py index b198ccc..79905d8 100644 --- a/torch_geopooling/__init__.py +++ b/torch_geopooling/__init__.py @@ -4,4 +4,4 @@ from typing import Final -__version__: Final[str] = "1.2.0" +__version__: Final[str] = "1.3.0" From fd8044287c7f9cfa70805e3e59dab30bb34e11a3 Mon Sep 17 00:00:00 2001 From: Yasha Bubnov Date: Fri, 21 Nov 2025 22:01:39 +0100 Subject: [PATCH 2/2] Remove 3.9 from unit tests. --- .github/workflows/python_unit_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python_unit_test.yaml b/.github/workflows/python_unit_test.yaml index 1174d15..1080942 100644 --- a/.github/workflows/python_unit_test.yaml +++ b/.github/workflows/python_unit_test.yaml @@ -10,7 +10,7 @@ jobs: unit-tests: strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] runs-on: ubuntu-latest steps: