Skip to content

Commit

Permalink
Merge pull request #279 from Pylons/drop-py34
Browse files Browse the repository at this point in the history
Drop Python 3.4
  • Loading branch information
digitalresistor committed Feb 3, 2020
2 parents cbc89bf + 314aacb commit 53dcae9
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 37 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,26 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tox: [
{'py': '2.7', 'env': 'py27'},
{'py': '3.5', 'env': 'py35'},
{'py': '3.6', 'env': 'py36'},
{'py': '3.7', 'env': 'py37'},
{'py': 'pypy2', 'env': 'pypy'},
{'py': 'pypy3', 'env': 'pypy3'}
py: [
'2.7',
'3.5',
'3.6',
'3.7',
'3.8',
'pypy2',
'pypy3'
]
name: "Python: ${{ matrix.tox.py }}"
name: "Python: ${{ matrix.py }}"
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.tox.py }}
python-version: ${{ matrix.py }}
architecture: x64
- run: pip install tox
- name: Running tox
run: tox -e ${{ matrix.tox.env }}
run: tox -e py
coverage:
runs-on: ubuntu-latest
name: Validate coverage for Python 2/3
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,26 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
tox: [
{'py': '2.7', 'env': 'py27'},
{'py': '3.5', 'env': 'py35'},
{'py': '3.6', 'env': 'py36'},
{'py': '3.7', 'env': 'py37'},
py: [
'2.7',
'3.5',
'3.6',
'3.7',
'3.8',
'pypy2',
'pypy3'
]
architecture: ['x64']
name: "Python: ${{ matrix.tox.py }}"
name: "Python: ${{ matrix.py }}"
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.tox.py }}
python-version: ${{ matrix.py }}
architecture: ${{ matrix.architecture }}
- run: pip install tox
- name: Running tox
run: |
ulimit -n 4096
tox -e ${{ matrix.tox.env }}
tox -e py
17 changes: 9 additions & 8 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
tox: [
{'py': '2.7', 'env': 'py27'},
{'py': '3.5', 'env': 'py35'},
{'py': '3.6', 'env': 'py36'},
{'py': '3.7', 'env': 'py37'},
py: [
'2.7',
'3.5',
'3.6',
'3.7',
'3.8'
]
architecture: ['x86', 'x64']
name: "Python: ${{ matrix.tox.py }} (${{ matrix.architecture }})"
name: "Python: ${{ matrix.py }} (${{ matrix.architecture }})"
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.tox.py }}
python-version: ${{ matrix.py }}
architecture: ${{ matrix.architecture }}
- run: pip install tox
- name: Running tox
run: tox -e ${{ matrix.tox.env }}
run: tox -e py
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
Expand All @@ -16,7 +14,7 @@ matrix:
env: TOXENV=py37
dist: xenial
sudo: true
- python: 3.8-dev
- python: 3.8
env: TOXENV=py38
dist: xenial
sudo: true
Expand All @@ -28,8 +26,6 @@ matrix:
env: TOXENV=py27-cover,py35-cover,coverage
- python: 3.5
env: TOXENV=docs
allow_failures:
- env: TOXENV=py38

install:
- travis_retry pip install tox
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Waitress
Waitress is meant to be a production-quality pure-Python WSGI server with very
acceptable performance. It has no dependencies except ones which live in the
Python standard library. It runs on CPython on Unix and Windows under Python
2.7+ and Python 3.4+. It is also known to run on PyPy 1.6.0+ on UNIX. It
2.7+ and Python 3.5+. It is also known to run on PyPy 1.6.0+ on UNIX. It
supports HTTP/1.0 and HTTP/1.1.

For more information, see the "docs" directory of the Waitress package or visit https://docs.pylonsproject.org/projects/waitress/en/latest/
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Waitress
Waitress is meant to be a production-quality pure-Python WSGI server with
very acceptable performance. It has no dependencies except ones which live
in the Python standard library. It runs on CPython on Unix and Windows under
Python 2.7+ and Python 3.4+. It is also known to run on PyPy 1.6.0 on UNIX.
Python 2.7+ and Python 3.5+. It is also known to run on PyPy 1.6.0 on UNIX.
It supports HTTP/1.0 and HTTP/1.1.


Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#
##############################################################################
import os
from setuptools import setup, find_packages

from setuptools import find_packages, setup

here = os.path.abspath(os.path.dirname(__file__))
try:
Expand Down Expand Up @@ -52,7 +53,6 @@
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Expand All @@ -65,7 +65,8 @@
],
url="https://github.com/Pylons/waitress",
packages=find_packages(),
extras_require={"testing": testing_extras, "docs": docs_extras,},
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
extras_require={"testing": testing_extras, "docs": docs_extras},
include_package_data=True,
test_suite="waitress",
zip_safe=False,
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
envlist =
py27,py34,py35,py36,py37,pypy,pypy3,
py27,py35,py36,py37,py38,pypy,pypy3,
docs,
{py27,py35}-cover,coverage

[testenv]
commands =
python --version
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:waitress}

extras =
Expand Down

0 comments on commit 53dcae9

Please sign in to comment.