Skip to content

Commit

Permalink
Add py39 to set of tested versions
Browse files Browse the repository at this point in the history
This requires updating tox, which requires a higher version of
six than was being specified.
  • Loading branch information
gregjones committed Apr 27, 2021
1 parent bc51408 commit 22d62cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .semaphore/semaphore.yml
Expand Up @@ -33,14 +33,15 @@ blocks:
- checkout
- mkdir "${PIP_CACHE_DIR}"
- cache restore "setup-${SEMAPHORE_GIT_BRANCH}-$(checksum setup.py)","setup-${SEMAPHORE_GIT_BRANCH}",setup-master
- pip install --upgrade pip
- pip install --user tox
jobs:
- name: Tests
commands:
- tox
matrix:
- env_var: TOXENV
values: ["py27", "py36", "py37"]
values: ["py27", "py36", "py37", "py39"]
- name: Gather coverage data
commands:
- tox -e coverage
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -21,7 +21,7 @@
from setuptools import setup, find_packages

GENERIC_REQ = [
"six==1.12.0",
"six>=1.12.0",
"requests==2.22.0",
"pyrfc3339==1.1",
"cachetools==3.1.1",
Expand All @@ -32,7 +32,7 @@
]

TESTS_REQ = [
'tox==3.13.2',
'tox==3.23.0',
'mock==3.0.5',
"pytest-sugar==0.9.2",
"pytest-html==1.22.0",
Expand Down Expand Up @@ -99,6 +99,7 @@ def main():
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Clustering",
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
@@ -1,5 +1,7 @@
[tox]
envlist = py27,py35,py36,py37
envlist = py27,py35,py36,py37,py39
requires = setuptools==44.1.1
virtualenv==20.4.2
skip_missing_interpreters=True

[testenv]
Expand Down

0 comments on commit 22d62cb

Please sign in to comment.