Skip to content

Commit

Permalink
Merge 65d7a22 into 0a74c0e
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr committed Sep 17, 2020
2 parents 0a74c0e + 65d7a22 commit c34f97d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ matrix:
- python: 2.7
- python: 3.6
- python: 3.7
- python: 3.8
dist: xenial
sudo: false
before_install:
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ environment:
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"

- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"

install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

Expand Down
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
8 changes: 4 additions & 4 deletions optional_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Cython==0.29.13
numpy==1.16.4
numexpr==2.6.9
Cython<0.29.21,>=0.29.13
numpy<=1.19.2,>=1.16.4
numexpr<=2.7.1,>=2.6.9
intervaltree==3.0.2
lxml==4.4.0
openpyxl==2.6.2
pandas==0.24.2
pandas<=1.1.2,>=0.24.2 ; python_version < '3.9'
PyMySQL==0.9.3
SQLAlchemy==1.3.6
Whoosh==2.7.4
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'
]
)
14 changes: 7 additions & 7 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,19 +15,19 @@ 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 =
:preinstall1: Cython==0.29.13
:preinstall1: numpy==1.16.4
:preinstall2: numexpr==2.6.9
:preinstall1: Cython<=0.29.21,>=0.29.13
:preinstall1: numpy<=1.19.2,>=1.16.4
:preinstall2: numexpr<=2.7.1,>=2.6.9
-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 c34f97d

Please sign in to comment.