Skip to content

Commit

Permalink
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 6, 2023
1 parent 4cc505e commit d73c9bb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install Python 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 @@ -11,7 +11,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"]

name: "Build and test Pyguetzli"
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"

- 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 @@ -45,7 +45,8 @@ Changelog

* **[NEXT]** (changes on ``master`` but not released yet):

* Nothing yet :)
* Added Python 3.12 support (@flozz)
* Removed Python 3.7 support (@flozz)

* **v1.0.14:**

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def lint(session):
session.run("flake8", "pyguetzli", "test", "noxfile.py")


@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(".[PIL]")
Expand Down

0 comments on commit d73c9bb

Please sign in to comment.