diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bdaab28..0bd8efb 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: '3.x' - name: Install dependencies @@ -33,7 +33,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/pythontests.yml b/.github/workflows/pythontests.yml index 68c8b58..1d09907 100644 --- a/.github/workflows/pythontests.yml +++ b/.github/workflows/pythontests.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Upgrade pip and setuptools @@ -43,12 +43,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.8", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -63,8 +63,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + - uses: pre-commit/action@v3.0.0 with: extra_args: --all-files --hook-stage manual diff --git a/CHANGELOG.md b/CHANGELOG.md index af7b217..442fa8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing +### Removed +- Support for Python 3.7, as it is beyond its lifetime + +### Added +- Support for Python 3.12. ## [0.8.0] - 2023-06-05 diff --git a/README.rst b/README.rst index 8c074d3..5b6da4d 100644 --- a/README.rst +++ b/README.rst @@ -38,7 +38,7 @@ You can also specify which Python version to use by providing the respective ``virtualenv`` argument to ``setup.sh``, e.g. ``. setup.sh -p python3``. You might need to install additional system libraries to compile all packages. -ReMU requires Python >=3.7. +ReMU requires Python >=3.8. Installing official releases with ``pip`` ----------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 0fcc762..83e157c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,14 +24,14 @@ classifiers=[ # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dynamic = ["version"] -requires-python = ">=3.7,<4" +requires-python = ">=3.8,<4" dependencies = [ "numpy >= 1.21.0", "scipy >= 1.7.0", diff --git a/requirements.txt b/requirements.txt index 0b98da1..885ae4f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ emcee==3.1.2 flit==3.7.1 matplotlib>=3.5 numpy>=1.21 -pre-commit==2.17.0 +pre-commit==3.5.0 pyyaml==6.0.1 scipy>=1.7