Skip to content

Commit 57a868b

Browse files
Pierre-Sassoulasirtazaakramstdedos
authored
Drop python 3.6 and 3.7 which are past end of life upstream (#23)
* Move everything from the setup.cfg to pyproject.toml * Drop python 3.6 and 3.7 #8 (comment) * Upgrade python version to python 3.8 in tooling configuration Co-authored-by: Irtaza Akram <[email protected]> --------- Co-authored-by: Irtaza Akram <[email protected]> Co-authored-by: Stavros Ntentos <[email protected]>
1 parent 48212e2 commit 57a868b

File tree

6 files changed

+12
-22
lines changed

6 files changed

+12
-22
lines changed

.github/workflows/run-tests.yaml

+2-11
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,11 @@ jobs:
2020
- windows-latest
2121
- macos-latest
2222
python-version:
23-
- '3.6'
24-
- '3.7'
2523
- '3.8'
2624
- '3.9'
2725
- '3.10'
2826
- '3.11'
29-
# - '3.12' # FixMe: https://github.com/pylint-dev/pylint-pytest/issues/3
30-
# Python 3.6 is not available in `ubuntu-latest`.
31-
exclude:
32-
- python-version: '3.6'
33-
os: ubuntu-latest
34-
include:
35-
- python-version: '3.6'
36-
os: ubuntu-20.04
27+
# - '3.12' # FixMe: https://github.com/pylint-dev/pylint-pytest/issues/3
3728

3829
defaults:
3930
run:
@@ -68,7 +59,7 @@ jobs:
6859
env:
6960
FORCE_COLOR: 1
7061
PYTEST_CI_ARGS: --cov-report=xml --junitxml=test_artifacts/test_report.xml --color=yes
71-
run: tox ${{ matrix.python-version == '3.6' && '--skip-missing-interpreters=true' || '' }}
62+
run: tox --skip-missing-interpreters=true
7263

7364
- name: Upload coverage reports to Codecov
7465
uses: codecov/codecov-action@v3

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Removed
6+
7+
* Support for Python 3.6 & 3.7 (https://github.com/pylint-dev/pylint-pytest/pull/23)
8+
59
## [1.1.7] - 2023-12-04
610

711
This is a small release to support additionally Pylint v3.

pyproject.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Only a configuration storage, for now
2+
[tool.aliases]
3+
test = "pytest"
24

35
[tool.black]
46
line-length = 100
@@ -36,7 +38,7 @@ paths.source = [
3638
]
3739

3840
[tool.mypy]
39-
python_version = "3.7"
41+
python_version = "3.8"
4042
check_untyped_defs = true
4143
explicit_package_bases = true
4244
namespace_packages = true
@@ -89,8 +91,7 @@ ignore = [
8991
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
9092
]
9193

92-
# py36, but ruff does not support it :/
93-
target-version = "py37"
94+
target-version = "py38"
9495

9596
[tool.ruff.pydocstyle]
9697
convention = "google"
@@ -113,7 +114,7 @@ convention = "google"
113114

114115
[tool.pylint]
115116

116-
py-version = "3.6"
117+
py-version = "3.8"
117118

118119
ignore-paths="tests/input" # Ignore test inputs
119120

setup.cfg

-2
This file was deleted.

setup.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,14 @@
3131
"pylint>=2",
3232
"pytest>=4.6",
3333
],
34-
python_requires=">=3.6",
34+
python_requires=">=3.8",
3535
classifiers=[
3636
"Development Status :: 5 - Production/Stable",
3737
"Intended Audience :: Developers",
3838
"Topic :: Software Development :: Testing",
3939
"Topic :: Software Development :: Quality Assurance",
4040
"Programming Language :: Python",
4141
"Programming Language :: Python :: 3",
42-
"Programming Language :: Python :: 3.6",
43-
"Programming Language :: Python :: 3.7",
4442
"Programming Language :: Python :: 3.8",
4543
"Programming Language :: Python :: 3.9",
4644
"Programming Language :: Python :: 3.10",

tox.ini

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[tox]
22
envlist =
3-
py36-pylint2
4-
py37-pylint2
53
py38-pylint{2,3}
64
py39-pylint{2,3}
75
py310-pylint{2,3}

0 commit comments

Comments
 (0)