From 7a0dde3049fbea26c5f6d7557e87a1013dbdd523 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:09:33 +0200 Subject: [PATCH 1/2] Bump actions/setup-python from 5.2.0 to 5.3.0 (#315) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5.2.0...v5.3.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pre-commit.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9d638b3..f49d5a54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5.2.0 + uses: actions/setup-python@v5.3.0 with: python-version: ${{ matrix.python-version }} @@ -112,7 +112,7 @@ jobs: steps: - name: Set up Python 3.10 - uses: actions/setup-python@v5.2.0 + uses: actions/setup-python@v5.3.0 with: python-version: '3.10' diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 4d7cb60a..8c7d588c 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 1 - - uses: actions/setup-python@v5.2.0 + - uses: actions/setup-python@v5.3.0 with: python-version: 3.11 - uses: pre-commit/action@v3.0.1 From bda8d0bf3d82dceec7badca276f34c7babb0a267 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Tue, 29 Oct 2024 13:26:25 +0200 Subject: [PATCH 2/2] Deprecate Python 3.9 support and test on 3.12 (#318) --- .github/workflows/ci.yml | 2 +- HISTORY.rst | 4 +++- setup.py | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f49d5a54..b994a074 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Set up Python ${{ matrix.python-version }} diff --git a/HISTORY.rst b/HISTORY.rst index bbbcaed3..34c82f14 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,8 +2,10 @@ History ======= -X.Y.Z (YYYY-MM-DD) +0.3.8 (2024-09-29) ------------------ +* Test on Python 3.12 (:pr:`318`) +* Deprecate Python 3.9 (:pr:`318`) * Fix nvcc compilation (:pr:`316`) * Workaround numba #5929 (:pr:`312`) * Restrict NumPy to less than 2.0.0 (:pr:`313`) diff --git a/setup.py b/setup.py index 8866899f..7fef4284 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ "decorator", "numpy >= 1.14.0, != 1.15.3, < 2.0.0", "numba >= 0.53.1", + "setuptools", ] extras_require = { @@ -63,9 +64,9 @@ "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], description="Radio Astronomy Building Blocks", extras_require=extras_require, @@ -77,7 +78,7 @@ keywords="codex-africanus", name="codex-africanus", packages=find_packages(), - python_requires=">=3.9", + python_requires=">=3.10", setup_requires=setup_requirements, test_suite="tests", tests_require=test_requirements,