Skip to content

Commit

Permalink
misc!: Added Python 3.13 support and removed Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
flozz committed Oct 28, 2024
1 parent a4f7e61 commit dea6b3d
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 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@v5
with:
python-version: "3.12"
python-version: "3.13"

- 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.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:

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@v5
with:
python-version: "3.12"
python-version: "3.13"

- name: "Install Python build dependencies"
run: |
Expand Down
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ Changelog

* feat: Allow to reduce the delay between two commands sent to devices (@Miskler, #236)
* feat: Added an env var to remove the delay between commands to speedup the tests (@flozz)
* misc: Added Python 3.13 support (@flozz)
* misc!: Removed Python 3.8 support (@flozz)

* **v4.13.0:**

Expand Down
7 changes: 4 additions & 3 deletions doc/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ To run the tests only for a specific Python version, you can use following
commands (the corresponding Python interpreter must be installed on your
machine)::

nox --session test-2.7
nox --session test-3.6
nox --session test-3.7
nox --session test-3.8
nox --session test-3.9
nox --session test-3.10
nox --session test-3.11
nox --session test-3.12
nox --session test-3.13


Building The Documentation
Expand Down
2 changes: 1 addition & 1 deletion doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Windows

On Windows, you have to install first:

* Python 3.6+ (see https://www.python.org/downloads/windows/)
* Python 3.9+ (see https://www.python.org/downloads/windows/)
* Visual C++ 2015 Build Tools: https://www.microsoft.com/en-us/download/details.aspx?id=48159


Expand Down
3 changes: 1 addition & 2 deletions doc/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ Python Versions

Rivalcfg currently supports

* Python 2.7 (support will be dropped someday)
* Python 3.5+
* Python 3.9+
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.8", "3.9", "3.10", "3.11", "3.12"], reuse_venv=True)
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"], reuse_venv=True)
def test(session):
session.install("pytest")
session.install(".")
Expand Down

0 comments on commit dea6b3d

Please sign in to comment.