Skip to content

Commit

Permalink
Fixes #436 - begin testing py38, build Docker image from py38, move i…
Browse files Browse the repository at this point in the history
…ntegration3 tox env to py37
  • Loading branch information
jantman committed Oct 31, 2019
1 parent d7662ad commit 0fd1372
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -15,6 +15,10 @@ matrix:
env: TOXENV=py37
dist: xenial
sudo: true
- python: "3.8"
env: TOXENV=py38
dist: xenial
sudo: true
- python: "3.7"
env: TOXENV=docker
dist: xenial
Expand All @@ -25,7 +29,7 @@ matrix:
env: TOXENV=docs
- python: "2.7"
env: TOXENV=integration
- python: "3.6"
- python: "3.7"
env: TOXENV=integration3
install:
- git config --global user.email "travisci@jasonantman.com"
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Expand Up @@ -24,6 +24,7 @@ Unreleased Changes
* `Issue #438 <https://github.com/jantman/awslimitchecker/issues/438>`_ - Per `PEP 373 <https://www.python.org/dev/peps/pep-0373/>`__, Python 2.7 will officially end support on January 1, 2020. As such, and in keeping with reasoning explained at `python3statement.org <https://python3statement.org/>`__, awslimitchecker will **stop supporting and testing against Python 2.7** on January 1, 2020. At that point, all new versions will be free to use Python features introduced in 3.5. As of this version, a `PendingDeprecationWarning <https://docs.python.org/3/library/exceptions.html#PendingDeprecationWarning>`__ will be emitted when running awslimitchecker under Python 2.7.
* `Issue #437 <https://github.com/jantman/awslimitchecker/issues/437>`_ - Per `PEP 429 <https://www.python.org/dev/peps/pep-0429/>`_, Python 3.4 reached end-of-life on March 18, 2019 and is now officially retired. Add a ``PendingDeprecationWarning`` for users running under this version, announcing that support for Python 3.4 will be removed on January 1, 2020.
* In following with the above two issues, raise a ``DeprecationWarning`` when running on any Python2 version prior to 2.7 or any Python3 version prior to 3.4, in accorance with the `published end-of-life dates of those versions <https://devguide.python.org/devcycle/#end-of-life-branches>`_.
* `Issue #436 <https://github.com/jantman/awslimitchecker/issues/436>`_ - Begin testing under Python 3.8 and base our Docker image on ``python:3.8-alpine``.

New EC2 vCPU Limits
+++++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM python:3-alpine
FROM python:3.8-alpine

ARG git_version

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,pypy,pypy3,docs,localdocs,integration,integration3,docker
envlist = py27,py34,py35,py36,py37,py38,pypy,pypy3,docs,localdocs,integration,integration3,docker

[testenv]
deps =
Expand Down Expand Up @@ -161,7 +161,7 @@ commands =
deps = {[testenv:integration]deps}
passenv = {[testenv:integration]passenv}
setenv = {[testenv:integration]setenv}
basepython = python3.6
basepython = python3.7
sitepackages = False
whitelist_externals = env test
commands = {[testenv:integration]commands}
Expand Down

0 comments on commit 0fd1372

Please sign in to comment.