Skip to content

Commit

Permalink
chore!: Added Python 3.12 support and dropped Python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Oct 16, 2023
1 parent 930bdbc commit 961db0b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install build dependencies"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

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:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install Python build dependencies"
run: |
pip install wheel nox
pip install setuptools wheel nox
- name: "Build source distribution"
run: |
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ Changelog

* **[NEXT]** (changes on ``master`` that have not been released yet):

* Nothing yet :)
* chore: Added Python 3.12 support
* chore!: Dropped Python 3.7 support

* **v4.10.0:**

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def black_fix(session):
session.run("black", *PYTHON_FILES)


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"], reuse_venv=True)
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"], reuse_venv=True)
def test(session):
session.install("pytest")
session.install(".")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[tool.black]
target-version = ['py37']
target-version = ['py38']

0 comments on commit 961db0b

Please sign in to comment.