Skip to content

Commit

Permalink
Enable python 3.7 tests (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
gecrooks committed Jun 7, 2019
1 parent 20ab128 commit 6846fc7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -21,6 +21,7 @@ docs/build
quantumflow/version.py
docs/_templates/version.html

proto
devnotes*.txt

.ipynb_checkpoints
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ dist: xenial

python:
- "3.6"
- "3.7"

install:
- sudo apt-get update
Expand Down
1 change: 0 additions & 1 deletion docs/devnotes.rst
Expand Up @@ -30,7 +30,6 @@ Some tests will be skipped depending on the current backend.

The full tox testing suite should verifie against two consecutive versions of
python, in order to ameliorate dependency hell.
(But at present [Nov 2018] we're stuck on python 3.6 only until tensorflow supports 3.7)

Test Coverage
#############
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -44,6 +44,7 @@
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent'
]
)
8 changes: 4 additions & 4 deletions tox.ini
Expand Up @@ -3,9 +3,9 @@
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

# Expects both python 3.5 and 3.6 to be installed (Use pyenv)
# Obscure error messages with 'tox -e py35-numpy' but not
# 'tox -e py36-numpy' (or vice versa) may be due to python versions not
# Expects both python 3.6 and 3.7 to be installed (Use pyenv)
# Obscure error messages with 'tox -e py36-numpy' but not
# 'tox -e py37-numpy' (or vice versa) may be due to python versions not
# being avaliable.

# FIXME: Make sure CPU/GPU gets tested (When GPU avalibale)
Expand All @@ -17,7 +17,7 @@ envlist =
# NOTE: NO SPACES!!!
# Tensorflow currently removed because tests taking too long.
# Should be two versions of python
{py36}-{numpy,eager,torch,tensorflow2}
{py36,py37}-{numpy,eager,torch,tensorflow2}
lint
typecheck
coverage
Expand Down

0 comments on commit 6846fc7

Please sign in to comment.