Skip to content

Commit

Permalink
Prepare for python 3.7 (#5)
Browse files Browse the repository at this point in the history
* Prepare for python 3.7
* Python 3.7 gevent is in beta state, pin >= last beta
  • Loading branch information
penguinolog committed May 1, 2018
1 parent 4730563 commit b3a7736
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 20 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ python:
- 3.4
- 3.5
- &mainstream_python 3.6
- pypy2.7-5.8.0
- pypy3.5-5.8.0
- pypy
- pypy3.5
- 3.7-dev
install:
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
- pip install tox-travis
Expand Down
5 changes: 3 additions & 2 deletions CI_REQUIREMENTS.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
six
typing >= 3.6
typing >= 3.6 ; python_version < "3.7"
mock; python_version == "2.7"
futures>=3.1; python_version == "2.7"
gevent >= 1.2
gevent >= 1.2 ; python_version < "3.7"
gevent >= 1.3.b1 ; python_version >= "3.7"
14 changes: 2 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Pros:
Python 3.4
Python 3.5
Python 3.6
Python 3.7
PyPy
PyPy3 3.5+
Jyton 2.7
Expand Down Expand Up @@ -257,18 +258,7 @@ Basic usage example:
Testing
=======
The main test mechanism for the package `threaded` is using `tox`.
Test environments available:

::

pep8
py27
py34
py35
py36
pypy
pypy3
pylint
Available environments can be collected via `tox -l`

CI systems
==========
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def get_simple_vars_from_src(src):
'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',
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[tox]
minversion = 2.0
envlist = pep8, pep257, py{27,34,35,36,py,py3}, pylint, docs, bandit, py{34,35,36}-nocov,
envlist = pep8, pep257, py{27,34,35,36,37,py,py3}, pylint, docs, bandit, py{34,35,36}-nocov,
skipsdist = True
skip_missing_interpreters = True

Expand Down Expand Up @@ -53,9 +53,10 @@ commands = {posargs:}

[tox:travis]
2.7 = install, py27,
3.4 = install, py34,
3.5 = install, py35,
3.6 = install, py36,
3.4 = py34,
3.5 = py35,
3.6 = py36,
3.7 = install, py37,
pypy = install, pypy,
pypy3 = install, pypy3,

Expand Down

0 comments on commit b3a7736

Please sign in to comment.