Skip to content

Commit

Permalink
Update compatible python versions to currently supported python 3.8 t…
Browse files Browse the repository at this point in the history
…hrough 3.12.
  • Loading branch information
udifuchs committed Feb 5, 2024
1 parent 4404701 commit 214bc6d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
# Run on earliest and latest supported python versions.
python-version: ["3.7", "3.11"]
python-version: ["3.8", "3.12"]
# Run linters and pytests.
testsuite: ["linters", "pytest"]
steps:
Expand All @@ -25,7 +25,7 @@ jobs:
pip install tox
- name: run linters
# Linters are only run on the earliest supported python version.
if: ${{ matrix.python-version == '3.7' && matrix.testsuite == 'linters' }}
if: ${{ matrix.python-version == '3.8' && matrix.testsuite == 'linters' }}
run: tox -e py3-pytest
- name: run pytest
if: ${{ matrix.testsuite == 'pytest' }}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ Whichever option you choose, I recommend reading their documentation about how `

### Changelog

#### 1.3 (2024-??-??)

* Update compatible python versions to currently supported python 3.8 through 3.12.

#### 1.3 (2023-05-12)

* Mark every pylint-silent comment with a signature. Fixes #4. PR #5.
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "Automatically add code comments to silence the output of pylint"
authors = [
{name = "Udi Fuchs", email = "udifuchs@gmail.com"},
]
requires-python = ">=3.7"
requires-python = ">=3.8"
license = {text = "GPL-2.0-or-later"}
classifiers = [
"Topic :: Software Development :: Quality Assurance",
Expand All @@ -17,11 +17,12 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
mypy
pep8
pylint
{py37,py311}-pytest
{py38,py312}-pytest

files = pylint_silent tests/test_samples.py

Expand Down Expand Up @@ -36,7 +36,7 @@ deps =
commands =
pylint {[tox]files}

[testenv:{py3,py37,py38,py39,py310,py311}-pytest]
[testenv:{py3,py38,py39,py310,py311,py312}-pytest]
deps =
pylint >= 2.16
pytest
Expand Down

0 comments on commit 214bc6d

Please sign in to comment.