diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-22 11:18:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-22 11:18:03 -0700 |
| commit | 943fc924ef5864d04ec4b8eb6c94761763976ae6 (patch) | |
| tree | 4c902c1af968728b0a27918f5c793d3d814aea5b | |
| parent | f1cea823ada61213be36007b888534558e215f86 (diff) | |
| parent | 1c44d2b9032dc145140cfc74f1a97d316931244b (diff) | |
| download | pyramid-943fc924ef5864d04ec4b8eb6c94761763976ae6.tar.gz pyramid-943fc924ef5864d04ec4b8eb6c94761763976ae6.tar.bz2 pyramid-943fc924ef5864d04ec4b8eb6c94761763976ae6.zip | |
Merge pull request #3333 from stevepiercy/python-version-bump
Add support for Python 3.7 and 3.8 with allowed failure of 3.8
| -rw-r--r-- | .travis.yml | 8 | ||||
| -rw-r--r-- | CHANGES.rst | 3 | ||||
| -rw-r--r-- | HACKING.txt | 4 | ||||
| -rw-r--r-- | RELEASING.txt | 4 | ||||
| -rw-r--r-- | appveyor.yml | 2 | ||||
| -rw-r--r-- | docs/narr/install.rst | 2 | ||||
| -rw-r--r-- | docs/quick_tour.rst | 2 | ||||
| -rw-r--r-- | docs/quick_tutorial/requirements.rst | 6 | ||||
| -rw-r--r-- | docs/tutorials/wiki/installation.rst | 2 | ||||
| -rw-r--r-- | docs/tutorials/wiki2/installation.rst | 2 | ||||
| -rwxr-xr-x | scaffoldtests.sh | 2 | ||||
| -rw-r--r-- | setup.py | 1 | ||||
| -rw-r--r-- | tox.ini | 9 |
13 files changed, 32 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml index 9884c3d19..30e7e5b79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,10 +22,14 @@ matrix: env: TOXENV=docs - python: 3.5 env: TOXENV=lint - - python: nightly + - python: 3.7 env: TOXENV=py37 + dist: xenial + sudo: true + - python: nightly + env: TOXENV=py38 allow_failures: - - env: TOXENV=py37 + - env: TOXENV=py38 install: - travis_retry pip install tox diff --git a/CHANGES.rst b/CHANGES.rst index 9bfa80f05..6010a148d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -54,6 +54,9 @@ Features available within the user-defined ``setup`` function. See https://github.com/Pylons/pyramid/pull/3318 +- Add support for Python 3.7. Add testing on Python 3.8 with allowed failures. + See https://github.com/Pylons/pyramid/pull/3333 + Bug Fixes --------- diff --git a/HACKING.txt b/HACKING.txt index 8ec44605c..3a7774781 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -114,7 +114,7 @@ In order to add a feature to Pyramid: (in ``docs/``). - The feature must work fully on the following CPython versions: 2.7, 3.4, 3.5, - and 3.6 on both UNIX and Windows. + 3.6, and 3.7 on both UNIX and Windows. - The feature must work on the latest version of PyPy. @@ -211,7 +211,7 @@ Running Tests Alternatively: - $ tox -e{py27,py34,py35,pypy}-scaffolds + $ tox -e{py27,py34,py35,pyt36,py37,pypy}-scaffolds Test Coverage diff --git a/RELEASING.txt b/RELEASING.txt index bec140309..b6603c597 100644 --- a/RELEASING.txt +++ b/RELEASING.txt @@ -33,8 +33,8 @@ Prepare new release branch - Run tests on Windows if feasible. -- Make sure all scaffold tests pass (CPython 2.7, 3.4, 3.5, and 3.6, and PyPy - on UNIX; this doesn't work on Windows): +- Make sure all scaffold tests pass (CPython 2.7, 3.4, 3.5, 3.6, and 3.7, and + PyPy on UNIX; this doesn't work on Windows): $ ./scaffoldtests.sh diff --git a/appveyor.yml b/appveyor.yml index abbbfea92..f3ea0b8bd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,7 @@ environment: matrix: + - PYTHON: "C:\\Python37" + TOXENV: "py37" - PYTHON: "C:\\Python36" TOXENV: "py36" - PYTHON: "C:\\Python35" diff --git a/docs/narr/install.rst b/docs/narr/install.rst index 80d5ea3de..743cb4abb 100644 --- a/docs/narr/install.rst +++ b/docs/narr/install.rst @@ -22,7 +22,7 @@ the following sections. .. sidebar:: Python Versions As of this writing, :app:`Pyramid` is tested against Python 2.7, - Python 3.4, Python 3.5, Python 3.6, and PyPy. + Python 3.4, Python 3.5, Python 3.6, Python 3.7, and PyPy. :app:`Pyramid` is known to run on all popular Unix-like systems such as Linux, macOS, and FreeBSD, as well as on Windows platforms. It is also known to diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index 922ffd652..c61cbfdfd 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -26,7 +26,7 @@ To save a little bit of typing and to be certain that we use the modules, scripts, and packages installed in our virtual environment, we'll set an environment variable, too. -As an example, for Python 3.6+ on Linux: +As an example, for Python 3 on Linux: .. parsed-literal:: diff --git a/docs/quick_tutorial/requirements.rst b/docs/quick_tutorial/requirements.rst index 08ea93cb2..a74c07673 100644 --- a/docs/quick_tutorial/requirements.rst +++ b/docs/quick_tutorial/requirements.rst @@ -19,11 +19,11 @@ virtual environment.) This *Quick Tutorial* is based on: -* **Python 3.6**. Pyramid fully supports Python 3.4+ and Python 2.7+. This - tutorial uses **Python 3.6** but runs fine under Python 2.7. +* **Python 3.7**. Pyramid fully supports Python 3.4+ and Python 2.7+. This + tutorial uses **Python 3.7** but runs fine under Python 2.7. * **venv**. We believe in virtual environments. For this tutorial, we use - Python 3.6's built-in solution :term:`venv`. For Python 2.7, you can install + Python 3's built-in solution :term:`venv`. For Python 2.7, you can install :term:`virtualenv`. * **pip**. We use :term:`pip` for package management. diff --git a/docs/tutorials/wiki/installation.rst b/docs/tutorials/wiki/installation.rst index 71fd0a957..7f914267f 100644 --- a/docs/tutorials/wiki/installation.rst +++ b/docs/tutorials/wiki/installation.rst @@ -111,7 +111,7 @@ Python 2.7: c:\Python27\Scripts\virtualenv %VENV% -Python 3.6: +Python 3.7: .. code-block:: doscon diff --git a/docs/tutorials/wiki2/installation.rst b/docs/tutorials/wiki2/installation.rst index 1fa7e21d7..5f2c6d44e 100644 --- a/docs/tutorials/wiki2/installation.rst +++ b/docs/tutorials/wiki2/installation.rst @@ -123,7 +123,7 @@ Python 2.7: c:\Python27\Scripts\virtualenv %VENV% -Python 3.6: +Python 3.7: .. code-block:: doscon diff --git a/scaffoldtests.sh b/scaffoldtests.sh index 317bff8b5..fd243e8b2 100755 --- a/scaffoldtests.sh +++ b/scaffoldtests.sh @@ -1,2 +1,2 @@ #!/bin/bash -tox -e{py27,py34,py35,pypy}-scaffolds, +tox -e{py27,py34,py35,py36,py37,pypy}-scaffolds, @@ -68,6 +68,7 @@ setup(name='pyramid', "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Pyramid", @@ -1,7 +1,7 @@ [tox] envlist = lint, - py27,py34,py35,py36,pypy,pypy3, + py27,py34,py35,py36,py37,py38,pypy,pypy3, docs,{py2,py3}-cover,coverage, [testenv] @@ -13,6 +13,7 @@ basepython = py35: python3.5 py36: python3.6 py37: python3.7 + py38: python3.8 pypy: pypy pypy3: pypy3 py2: python2.7 @@ -48,6 +49,12 @@ commands = python pyramid/scaffolds/tests.py deps = virtualenv +[testenv:py37-scaffolds] +basepython = python3.7 +commands = + python pyramid/scaffolds/tests.py +deps = virtualenv + [testenv:pypy-scaffolds] basepython = pypy commands = |
