Skip to content

Commit 356c14c

Browse files
michael-kjamesls
authored andcommitted
Add support for python 3.9
1 parent 599b0f7 commit 356c14c

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest]
12-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
12+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
1313

1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v1
17+
uses: actions/setup-python@v2
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ matrix:
1515
dist: xenial
1616
- python: "3.8"
1717
dist: xenial
18+
- python: "3.9"
19+
dist: xenial
1820
before_install:
1921
- pip install codecov
2022
install:
@@ -25,6 +27,6 @@ install:
2527
- pip install dist/*.whl
2628
script:
2729
- cd tests/ && nosetests --with-coverage --cover-package jmespath .
28-
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]] && [[ $TRAVIS_PYTHON_VERSION != '3.8' ]]; then JP_MAX_EXAMPLES=10000 nosetests ../extra/test_hypothesis.py; fi
30+
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]] && [[ $TRAVIS_PYTHON_VERSION != '3.8' ]] && [[ $TRAVIS_PYTHON_VERSION != '3.9' ]]; then JP_MAX_EXAMPLES=10000 nosetests ../extra/test_hypothesis.py; fi
2931
after_success:
3032
- codecov

requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ nose==1.2.1
22
py==1.4.12
33
tox==1.4.2
44
wheel==0.24.0
5+
coverage==5.3 ; python_version == '3.9'
56
coverage==5.0.3 ; python_version == '3.8'
6-
coverage==3.7.1 ; python_version != '3.8'
7-
hypothesis==3.1.0 ; python_version != '3.8'
7+
coverage==3.7.1 ; python_version < '3.8'
8+
hypothesis==3.1.0 ; python_version < '3.8'
89
hypothesis==5.5.4 ; python_version == '3.8'
10+
hypothesis==5.35.4 ; python_version == '3.9'
11+
typing<3.7.4 ; python_version == '3.3'

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
'Programming Language :: Python :: 3.5',
4444
'Programming Language :: Python :: 3.6',
4545
'Programming Language :: Python :: 3.7',
46+
'Programming Language :: Python :: 3.8',
47+
'Programming Language :: Python :: 3.9',
4648
'Programming Language :: Python :: Implementation :: CPython',
4749
'Programming Language :: Python :: Implementation :: PyPy',
4850
],

0 commit comments

Comments
 (0)