diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 80ca37d..62edea8 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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: | diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index b733806..5c49a9f 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -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: diff --git a/.github/workflows/python-packages.yml b/.github/workflows/python-packages.yml index 3b72196..4533825 100644 --- a/.github/workflows/python-packages.yml +++ b/.github/workflows/python-packages.yml @@ -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: | diff --git a/README.rst b/README.rst index 145a48d..1a38b75 100644 --- a/README.rst +++ b/README.rst @@ -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:** diff --git a/doc/contributing.rst b/doc/contributing.rst index d70a230..19d79c5 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -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 diff --git a/doc/install.rst b/doc/install.rst index 6c27331..1c8ec37 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -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 diff --git a/doc/requirements.rst b/doc/requirements.rst index abd48ef..54aac7f 100644 --- a/doc/requirements.rst +++ b/doc/requirements.rst @@ -40,5 +40,4 @@ Python Versions Rivalcfg currently supports -* Python 2.7 (support will be dropped someday) -* Python 3.5+ +* Python 3.9+ diff --git a/noxfile.py b/noxfile.py index bdbb9ec..d31fdf2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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(".")