Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Python 3.7 support. #106

Merged
merged 2 commits into from
Jan 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ matrix:
env: TOXENV=py27-codecov
- python: "3.6"
env: TOXENV=py36-codecov
- python: "3.7"
dist: xenial
env: TOXENV=py37-codecov


install:
Expand Down
2 changes: 1 addition & 1 deletion docs/source/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Running the test suite with `tox <https://pypi.python.org/pypi/tox>`_:

.. code-block:: console

$ pip install tox
$ pip install tox tox-venv
$ tox


Expand Down
3 changes: 2 additions & 1 deletion docs/source/support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ There is, however, a limited set of interpreters and platforms where development

* CPython 2.7 on a glibc based Linux system.
* CPython 3.6 on a glibc based Linux system.
* CPython 3.7 on a glibc based Linux system.

Other interpreters and platforms may become supported in the future.

Expand Down Expand Up @@ -48,7 +49,7 @@ Deprecation Policy

If a non-backwards compatible API change is planned:

* A fully backwards compatible release will be made, where uses of API about to break compatibility will issue ``WiresDeprecationWarning``\s using the Python Standard Library's `warnings <https://docs.python.org/3.6/library/warnings.html>`_ module as in:
* A fully backwards compatible release will be made, where uses of API about to break compatibility will issue ``WiresDeprecationWarning``\s using the Python Standard Library's `warnings <https://docs.python.org/3/library/warnings.html>`_ module as in:

.. code-block:: python

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Python Modules",
]
INSTALL_REQUIRES = [
Expand Down
13 changes: 10 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = coverage-erase,py27,py36,coverage-report
envlist = coverage-erase,py27,py36,py37,coverage-report

[testenv]
extras = tests
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch --parallel -m unittest discover

[testenv:coverage-erase]
basepython = python3.6
basepython = python3.7
commands = coverage erase

[testenv:py27-codecov]
Expand All @@ -24,8 +24,15 @@ commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov

[testenv:py37-codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov

[testenv:coverage-report]
basepython = python3.6
basepython = python3.7
commands =
coverage combine
coverage report
Expand Down