Skip to content

Commit

Permalink
Change: Update supported Python versions (#425)
Browse files Browse the repository at this point in the history
* Change: Update supported Python versions

Officially drop Python 3.7 and 3.8 and support Python 3.12

* Update README

* Update dependencies

Add autohooks-plugin-mypy and update dependencies for Python >= 3.9
only.

* Drop poetry.toml config

Allow users to define the location of the virtual environment.
  • Loading branch information
bjoernricks committed Oct 18, 2023
1 parent 51f9dd0 commit 1d3890a
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 468 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

name: Check and test
uses: greenbone/workflows/.github/workflows/ci-python.yml@main
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ linting via [pylint](https://github.com/PyCQA/pylint).
You can install the latest stable release of autohooks-plugin-pylint from the
Python Package Index using [pip](https://pip.pypa.io/):

pip install autohooks-plugin-pylint

Note the `pip` refers to the Python 3 package manager. In a environment where
Python 2 is also available the correct command may be `pip3`.
python3 -m pip install autohooks-plugin-pylint

### Install using poetry

Expand Down Expand Up @@ -76,6 +73,6 @@ first.

## License

Copyright (C) 2019 - 2022 [Greenbone AG](https://www.greenbone.net/)
Copyright (C) 2019 - 2023 [Greenbone AG](https://www.greenbone.net/)

Licensed under the [GNU General Public License v3.0 or later](LICENSE).
Loading

0 comments on commit 1d3890a

Please sign in to comment.