Skip to content

Commit

Permalink
Merge pull request #275 from jd/py39
Browse files Browse the repository at this point in the history
chore: add support for Python 3.9
  • Loading branch information
jd committed Jan 29, 2021
2 parents 250b27e + 693ab15 commit 369ac3d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
14 changes: 12 additions & 2 deletions .circleci/config.yml
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
pep8:
docker:
- image: circleci/python:3.8
- image: circleci/python:3.9
steps:
- checkout
- run:
Expand Down Expand Up @@ -55,9 +55,18 @@ jobs:
command: |
sudo pip install tox
tox -e py38
py39:
docker:
- image: circleci/python:3.9
steps:
- checkout
- run:
command: |
sudo pip install tox
tox -e py39
deploy:
docker:
- image: circleci/python:3.8
- image: circleci/python:3.9
steps:
- checkout
- run: |
Expand Down Expand Up @@ -90,6 +99,7 @@ workflows:
- py36
- py37
- py38
- py39
- deploy:
filters:
tags:
Expand Down
2 changes: 2 additions & 0 deletions .mergify.yml
Expand Up @@ -7,6 +7,7 @@ pull_request_rules:
- "status-success=ci/circleci: py36"
- "status-success=ci/circleci: py37"
- "status-success=ci/circleci: py38"
- "status-success=ci/circleci: py39"
- "#approved-reviews-by>=1"
- label!=work-in-progress
actions:
Expand All @@ -22,6 +23,7 @@ pull_request_rules:
- "status-success=ci/circleci: py36"
- "status-success=ci/circleci: py37"
- "status-success=ci/circleci: py38"
- "status-success=ci/circleci: py39"
- label!=work-in-progress
actions:
merge:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -18,6 +18,7 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Utilities

[options]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py35, py36, py37, py38, pep8, pypy
envlist = py27, py35, py36, py37, py38, py39, pep8, pypy

[testenv]
usedevelop = True
Expand All @@ -10,9 +10,9 @@ deps =
typeguard;python_version>='3.0'
commands =
py{27,py}: pytest --ignore='tenacity/tests/test_asyncio.py' {posargs}
py3{5,6,7,8}: pytest {posargs}
py3{5,6,7,8}: sphinx-build -a -E -W -b doctest doc/source doc/build
py3{5,6,7,8}: sphinx-build -a -E -W -b html doc/source doc/build
py3{5,6,7,8,9}: pytest {posargs}
py3{5,6,7,8,9}: sphinx-build -a -E -W -b doctest doc/source doc/build
py3{5,6,7,8,9}: sphinx-build -a -E -W -b html doc/source doc/build

[testenv:pep8]
basepython = python3
Expand Down

0 comments on commit 369ac3d

Please sign in to comment.