Skip to content

Commit

Permalink
Change python version range 3.7-3.11 to 3.8-3.12
Browse files Browse the repository at this point in the history
As py3.12 was released in Oct 2023 whilst py3.7 is no longer
maintained.
  • Loading branch information
scottclowe committed Apr 11, 2024
1 parent 47c1aa9 commit 13c2e86
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.11"
python-version: "3.12"
- os: macos-latest
python-version: "3.11"
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.11"]
python-version: ["3.8", "3.12"]
include:
- os: windows-latest
python-version: "3.11"
python-version: "3.12"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ repos:
hooks:
- id: black
args:
- "--target-version=py37"
- "--target-version=py38"
- "--target-version=py39"
- "--target-version=py310"
- "--target-version=py311"
- "--target-version=py312"
types: [python]

- repo: https://github.com/asottile/blacken-docs
Expand All @@ -40,11 +40,11 @@ repos:
args: ["--profile=black"]
- id: nbqa-black
args:
- "--target-version=py37"
- "--target-version=py38"
- "--target-version=py39"
- "--target-version=py310"
- "--target-version=py311"
- "--target-version=py312"
additional_dependencies: ["black==24.3.0"]
- id: nbqa-flake8

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def run(self):
package_dir={meta["name"]: os.path.join(".", meta["path"])},
# If any package contains *.txt or *.rst files, include them:
# package_data={"": ["*.txt", "*.rst"],}
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=install_requires,
extras_require=extras_require,
# Metadata to display on PyPI
Expand All @@ -161,11 +161,11 @@ def run(self):
"Natural Language :: English",
"Programming Language :: Python",
"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",
],
# Could also include keywords, download_url, project_urls, etc.
# Custom commands
Expand Down

0 comments on commit 13c2e86

Please sign in to comment.