Skip to content

Commit

Permalink
Merge fc3524c into 0a74c0e
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr authored Sep 17, 2020
2 parents 0a74c0e + fc3524c commit 99cd65a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changes
Version 1.6.6
-------------

* Added python version 3.8 and 3.9 to tox.ini for using in newer distros.
By :user:`juarezr`, :issue:`517`.

* fix compatibility with python3.8 in `petl.timings.clock()`.
By :user:`juarezr`, :issue:`484`.

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py36, py37, py37-docs
envlist = py27, py36, py37, py38, py39, {py37,py38,py39}-docs
# trick to enable pre-installation of numpy and numexpr
indexserver =
preinstall1 = https://pypi.org/simple
Expand All @@ -15,9 +15,9 @@ indexserver =
setenv =
PYTHONHASHSEED = 42
py27: PY_MAJOR_VERSION = py2
py36,py37: PY_MAJOR_VERSION = py3
py36,py37,py38,py39: PY_MAJOR_VERSION = py3
commands =
py27,py36: nosetests -v petl --with-coverage --cover-package=petl
py27,py36,py38,py39: nosetests -v petl --with-coverage --cover-package=petl
py37: nosetests -v --with-coverage --cover-package=petl --with-doctest --doctest-options=+NORMALIZE_WHITESPACE petl -I"csv_py2\.py" -I"db\.py"
coverage report -m
deps =
Expand All @@ -27,7 +27,7 @@ deps =
-rtest_requirements.txt
-roptional_requirements.txt

[testenv:py37-docs]
[testenv:{py37,py38,py39}-docs]
# build documentation under similar environment to readthedocs
changedir = docs
deps =
Expand Down

0 comments on commit 99cd65a

Please sign in to comment.