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 72ab5ec
Show file tree
Hide file tree
Showing 5 changed files with 803 additions and 817 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
16 changes: 9 additions & 7 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Contributor Guide
=================

Thank you for your interest in improving this project.
This project is open-source under the `GNU GPL v3`_ and
This project is open-source under the `MIT license`_ and
welcomes contributions in the form of bug reports, feature requests, and pull requests.

Here is a list of important resources for contributors:
Expand All @@ -12,10 +12,10 @@ Here is a list of important resources for contributors:
- `Issue Tracker`_
- `Code of Conduct`_

.. _GNU GPL v3: https://opensource.org/licenses/GPL-3.0
.. _Source Code: https://github.com/hacf-fr/freebox-api
.. _Documentation: https://freebox-api.readthedocs.io/
.. _Issue Tracker: https://github.com/hacf-fr/freebox-api/issues
.. _MIT license: https://opensource.org/licenses/MIT
.. _Source Code: https://github.com/hacf-fr/meteofrance-api
.. _Documentation: https://meteofrance-api.readthedocs.io/
.. _Issue Tracker: https://github.com/hacf-fr/meteofrance-api/issues

How to report a bug
-------------------
Expand Down 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 72ab5ec

Please sign in to comment.