Skip to content

Commit

Permalink
Update python versions (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasium authored Oct 9, 2024
1 parent 5f9fd13 commit 8ce412b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"
- name: Install project
run: pip install -e .[check,test]
- name: run pre-commit
Expand All @@ -24,15 +24,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
pylint-version: ["2.17.*", "2.*", "3.*"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
pylint-version: ["3.0.*", "3.*"]
invoke-version: ["2.0.*", "2.*"]
exclude:
# pylint 2.x does not support 3.12
- python-version: "3.12"
pylint-version: "2.17.*"
- python-version: "3.12"
pylint-version: "2.*"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"
- name: Install project
run: pip install -e .
- name: Install libraries
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Changelog

# 4.0.0
* Minimum required pylint version is 3.0
* Support python 3.13
* Dropped support for python 3.8

# 3.0.0
* Minimum required pylint version is 2.17
* Support python 3.12
* Add support for pylint 3.x
* Dropped support for python 3.8
* Dropped support for python 3.7

# 2.0.0
* Removed support for invoke 1.x
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed"
]
requires-python = ">=3.8,<4"
requires-python = ">=3.9,<4"
dependencies = [
"invoke~=2.0",
"pylint>=2.17,<4",
"pylint~=3.0",
]

[project.license]
Expand Down

0 comments on commit 8ce412b

Please sign in to comment.