Skip to content

Commit

Permalink
Drop Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame authored Oct 14, 2023
1 parent 14ba55a commit c09f813
Show file tree
Hide file tree
Showing 5 changed files with 797 additions and 810 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ jobs:
# - { python-version: "3.10", os: ubuntu-latest, session: "mypy" }
# - { python-version: "3.9", os: ubuntu-latest, session: "mypy" }
# - { python-version: "3.8", os: ubuntu-latest, session: "mypy" }
# - { python-version: "3.7", os: ubuntu-latest, session: "mypy" }
- { python-version: "3.11", os: ubuntu-latest, session: "tests" }
- { python-version: "3.10", os: ubuntu-latest, session: "tests" }
- { python-version: "3.9", os: ubuntu-latest, session: "tests" }
- { python-version: "3.8", os: ubuntu-latest, session: "tests" }
- { python-version: "3.7", os: ubuntu-latest, session: "tests" }
- { python-version: "3.11", os: windows-latest, session: "tests" }
- { python-version: "3.11", os: macos-latest, session: "tests" }
# - { python-version: "3.11", os: ubuntu-latest, session: "typeguard" }
Expand Down
6 changes: 4 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ Request features on the `Issue Tracker`_.
How to set up your development environment
------------------------------------------

You need Python 3.7+ and the following tools:
You need Python 3.8+ and the following tools:

- Poetry_
- Nox_
- nox-poetry_

Install the package with development requirements:

Expand All @@ -62,6 +63,7 @@ You can now run an interactive Python session:
.. _Poetry: https://python-poetry.org/
.. _Nox: https://nox.thea.codes/
.. _nox-poetry: https://nox-poetry.readthedocs.io/


How to test the project
Expand Down Expand Up @@ -105,7 +107,7 @@ Your pull request needs to meet the following guidelines for acceptance:

Feel free to submit early, though—we can always iterate on this.

To run linting and code formatting checks before commiting your change, you can install pre-commit as a Git hook by running the following command:
To run linting and code formatting checks before committing your change, you can install pre-commit as a Git hook by running the following command:

.. code:: console
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


package = "freebox_api"
python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.11", "3.10", "3.9", "3.8"]
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down
Loading

0 comments on commit c09f813

Please sign in to comment.