Skip to content

Commit

Permalink
Drop support for Python 3.7 (#413)
Browse files Browse the repository at this point in the history
The tox environment was well behind and has been updated too.
  • Loading branch information
mjpieters authored Jan 25, 2023
1 parent 12dd9e5 commit c2fb6fa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
needs: [lint]
strategy:
matrix:
pyver: ['3.7', '3.8', '3.9', '3.10', '3.11']
pyver: ['3.8', '3.9', '3.10', '3.11']
os: [ubuntu, macos, windows]
fail-fast: false
runs-on: ${{ matrix.os }}-latest
Expand Down
1 change: 1 addition & 0 deletions CHANGES/413.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dropped Python 3.7 support.
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -37,7 +36,7 @@ classifiers =
Framework :: AsyncIO

[options]
python_requires = >=3.7
python_requires = >=3.8
packages = find:
include_package_data = True

Expand Down
13 changes: 4 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]

envlist = check, clean, {py36,py37,py38}-{debug,release}, report
envlist = check, clean, {py38,py39,py310,py311}-{debug,release}, report

[testenv]

Expand All @@ -19,11 +19,6 @@ commands =
setenv =
debug: PYTHONASYNCIODEBUG = 1

basepython:
py36: python3.6
py37: python3.7
py38: python3.8

[testenv:check]

deps =
Expand All @@ -37,7 +32,7 @@ commands =
python setup.py check -rms

basepython:
python3.7
python3.10

[testenv:clean]

Expand All @@ -48,7 +43,7 @@ commands =
coverage erase

basepython:
python3.7
python3.10

[testenv:report]

Expand All @@ -64,4 +59,4 @@ whitelist_externals =
echo

basepython:
python3.7
python3.10

0 comments on commit c2fb6fa

Please sign in to comment.