Skip to content

Commit

Permalink
Removed end-of-life Python 3.7 support (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Feb 10, 2024
1 parent 866bb42 commit 0d21a73
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
strategy:
matrix:
include:
- python-version: '3.7'
toxenv: 'py37,wheel'
- python-version: '3.8'
toxenv: 'py38,wheel'
- python-version: '3.9'
Expand Down
5 changes: 2 additions & 3 deletions data/pyinstaller/make_release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ If ( -not $PythonPath )
{
If ( $Architecture -eq "win32" )
{
# Note that the backtick here is used as escape character.
$PythonPath = "C:\Python37` (x86)"
$PythonPath = "C:\Python311-32"
}
Else
{
$PythonPath = "C:\Python37"
$PythonPath = "C:\Python311-64"
}
}

Expand Down
2 changes: 0 additions & 2 deletions data/templates/github_actions/test_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
strategy:
matrix:
include:
- python-version: '3.7'
toxenv: 'py37,wheel'
- python-version: '3.8'
toxenv: 'py38,wheel'
- python-version: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion data/templates/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.docformatter]
black = false
non-cap = ["dfDateTime", "dfImageTools", "dfVFS"]
non-cap = ["dfDateTime", "dfImageTools", "dfVFS", "dfWinReg", "dtFabric", "iMessage", "iOS", "iPod", "mDNS"]
non-strict = false
wrap-summaries = 80
wrap-descriptions = 80
2 changes: 1 addition & 1 deletion data/templates/setup.cfg/metadata
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ install_requires = file:requirements.txt
package_dir =
${python_module_name} = ${python_module_name}
packages = find:
python_requires = >=3.7
python_requires = >=3.8
2 changes: 1 addition & 1 deletion data/templates/tox.ini/header
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps =
setuptools >= 65
wheel
commands =
py3{7,8,9,10,11,12}: ./run_tests.py
py3{8,9,10,11,12}: ./run_tests.py
coverage: coverage erase
coverage: coverage run --source=${python_module_name} --omit="*_test*,*__init__*,*test_lib*" run_tests.py
coverage: coverage xml
Expand Down
2 changes: 1 addition & 1 deletion l2tdevtools/dependency_writers/tox_ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def Write(self):
if os.path.isdir('tools'):
paths_to_lint_python.append('tools')

envlist = ['py3{7,8,9,10,11,12}', 'coverage', 'docformatter']
envlist = ['py3{8,9,10,11,12}', 'coverage', 'docformatter']
if os.path.isdir('docs'):
envlist.append('docs')

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install_requires = file:requirements.txt
package_dir =
l2tdevtools = l2tdevtools
packages = find:
python_requires = >=3.7
python_requires = >=3.8
scripts =
tools/build.py
tools/develop.py
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{7,8,9,10,11,12},coverage,lint,wheel
envlist = py3{8,9,10,11,12},coverage,lint,wheel

[testenv]
allowlist_externals = ./run_tests.py
Expand All @@ -19,7 +19,7 @@ deps =
setuptools >= 65
wheel
commands =
py3{7,8,9,10,11,12}: ./run_tests.py
py3{8,9,10,11,12}: ./run_tests.py
coverage: coverage erase
coverage: coverage run --source=l2tdevtools --omit="*_test*,*__init__*,*test_lib*" run_tests.py
coverage: coverage xml
Expand Down

0 comments on commit 0d21a73

Please sign in to comment.