remove python2.7 support

This commit is contained in:
meejah
2022-10-26 05:00:18 +02:00
parent 0f8225c731
commit 2d1c37860f
5 changed files with 3 additions and 30 deletions

View File

@@ -11,11 +11,6 @@ environment:
matrix: matrix:
# For Python versions available on Appveyor, see # For Python versions available on Appveyor, see
# http://www.appveyor.com/docs/installed-software#python # http://www.appveyor.com/docs/installed-software#python
- PYTHON: "C:\\Python27"
TOXENV: py27-nodilate
- PYTHON: "C:\\Python27-x64"
DISTUTILS_USE_SDK: "1"
TOXENV: py27-nodilate
- PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python37-x64"
TOXENV: py37 TOXENV: py37

View File

@@ -33,27 +33,6 @@ jobs:
- name: Upload Coverage - name: Upload Coverage
run: codecov run: codecov
testing-py27-nodilate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip tox
- name: Test
run: |
python --version
# under py2.7, we run 'tox -e py-nodilate' instead
tox -e py-nodilate
flake8: flake8:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -4,6 +4,7 @@ User-visible changes in "magic-wormhole":
* Python 3.5 and 3.6 are past their EOL date and support is dropped (#448) * Python 3.5 and 3.6 are past their EOL date and support is dropped (#448)
* Fix intermittant failing test (#458) * Fix intermittant failing test (#458)
* Python 2.7 support is dropped (#457)
## Release 0.12.0 (04-Apr-2020) ## Release 0.12.0 (04-Apr-2020)

View File

@@ -8,8 +8,6 @@ trove_classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Environment :: Console", "Environment :: Console",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",

View File

@@ -4,8 +4,8 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [tox]
# useful envs: py27-nodilate, py37, py38, pypy, flake8 # useful envs: py37, py38, pypy, flake8
envlist = {py27-nodilate,py37,py38} envlist = {py37,py38}
skip_missing_interpreters = True skip_missing_interpreters = True
minversion = 2.4.0 minversion = 2.4.0