Remove support for Python 3.6 and 3.7

Fixes #716
This commit is contained in:
Brian May 2022-03-29 11:44:35 +11:00
parent 5719d424de
commit 6d36916f48
4 changed files with 7 additions and 10 deletions

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] python-version: [3.8, 3.9, "3.10"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -6,7 +6,7 @@ Client side Requirements
- sudo, or root access on your client machine. - sudo, or root access on your client machine.
(The server doesn't need admin access.) (The server doesn't need admin access.)
- Python 3.6 or greater. - Python 3.8 or greater.
Linux with NAT method Linux with NAT method
@ -72,7 +72,7 @@ cmd.exe with Administrator access. See :doc:`windows` for more information.
Server side Requirements Server side Requirements
------------------------ ------------------------
- Python 3.6 or greater. - Python 3.8 or greater.
Additional Suggested Software Additional Suggested Software

View File

@ -49,10 +49,9 @@ setup(
"License :: OSI Approved :: " "License :: OSI Approved :: "
"GNU Lesser General Public License v2 or later (LGPLv2+)", "GNU Lesser General Public License v2 or later (LGPLv2+)",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: System :: Networking", "Topic :: System :: Networking",
], ],
entry_points={ entry_points={
@ -60,7 +59,7 @@ setup(
'sshuttle = sshuttle.cmdline:main', 'sshuttle = sshuttle.cmdline:main',
], ],
}, },
python_requires='>=3.6', python_requires='>=3.8',
install_requires=[ install_requires=[
], ],
tests_require=[ tests_require=[

View File

@ -1,17 +1,15 @@
[tox] [tox]
downloadcache = {toxworkdir}/cache/ downloadcache = {toxworkdir}/cache/
envlist = envlist =
py36,
py37,
py38, py38,
py39, py39,
py310,
[testenv] [testenv]
basepython = basepython =
py36: python3.6
py37: python3.7
py38: python3.8 py38: python3.8
py39: python3.9 py39: python3.9
py310: python3.10
commands = commands =
pip install -e . pip install -e .
# actual flake8 test # actual flake8 test