Skip to content

Commit

Permalink
Merge pull request #95 from fiaas/py39
Browse files Browse the repository at this point in the history
Add py39 to set of tested versions
  • Loading branch information
gregjones authored Apr 27, 2021
2 parents bc51408 + 22d62cb commit 1a5417c
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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 1a5417c

Please sign in to comment.