Skip to content

Commit

Permalink
Align GH workflow, tox and package metadata to supported Python versions
Browse files Browse the repository at this point in the history
Signed-off-by: Ievgen Popovych <[email protected]>
  • Loading branch information
Jmennius committed Nov 29, 2023
1 parent 662dffa commit 35b03f6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, windows-latest]

steps:
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ requires = [
"pyyaml"
]
description-file = "README.rst"
requires-python = ">=3.6"
requires-python = ">=3.8"
classifiers = [
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'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',
]
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ logging-clear-handlers=1
eval-attr="!=slow"

[flake8]
min-version=3.6
min-version=3.8
# Default pyflakes errors we ignore:
# - E241: missing whitespace after ',' (used to align visually)
# - E221: multiple spaces before operator (used to align visually)
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{36,37,38}-test, py38-flake8, docs
envlist = py{38,39,310,311,312}-test, py312-flake8, docs
isolated_build = True

[tox:.package]
Expand All @@ -26,11 +26,11 @@ files = example confuse test docs
[testenv]
deps =
{test,cov}: {[_test]deps}
py{36,37,38}-flake8: {[_flake8]deps}
py{38,39,310,311,312}-flake8: {[_flake8]deps}
commands =
cov: nose2 --with-coverage {posargs}
test: nose2 {posargs}
py36-flake8: flake8 --min-version 3.6 {posargs} {[_flake8]files}
py38-flake8: flake8 --min-version 3.8 {posargs} {[_flake8]files}

[testenv:docs]
deps =
Expand Down

0 comments on commit 35b03f6

Please sign in to comment.