From 46ed16b904b4e8df3f05e6f362f5f7838c1bc5b2 Mon Sep 17 00:00:00 2001 From: Fabio Date: Mon, 25 Nov 2024 17:57:14 -0300 Subject: [PATCH] Add support for python 3.12 --- .github/workflows/deploy-pypi.yml | 2 +- .github/workflows/test-pr.yml | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 8138ae81..606ced04 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macOS-latest, windows-latest] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 7a4343a4..34e5cca5 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macOS-latest, windows-latest] steps: - uses: actions/checkout@v2 diff --git a/setup.cfg b/setup.cfg index 11c68c15..27599a0b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,7 @@ exclude = **/__init__.py, docs/source/conf.py ;file.py: error [requires] -python_version = ">=3.8,<3.12" +python_version = ">=3.8,<3.13" # See the docstring in versioneer.py for instructions. Note that you must # re-run 'versioneer.py setup' after changing this section, and commit the diff --git a/setup.py b/setup.py index 39fb9a0d..c5d7a4e2 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ URL_ISSUES = "https://github.com/scikit-learn-contrib/hiclass/issues" EMAIL = "fabio.malchermiranda@hpi.de, Niklas.Koehnecke@student.hpi.uni-potsdam.de" AUTHOR = "Fabio Malcher Miranda, Niklas Koehnecke" -REQUIRES_PYTHON = ">=3.8,<3.12" +REQUIRES_PYTHON = ">=3.8,<3.13" KEYWORDS = ["hierarchical classification"] DACS_SOFTWARE = "https://gitlab.com/dacs-hpi" # What packages are required for this module to be executed?