Skip to content

Commit

Permalink
Fix pypy CI issues and begin testing against Python 3.10 (#1045)
Browse files Browse the repository at this point in the history
* Fix pypy CI issues and add Python 3.10

* Replace 3.10 with 3.10-dev and move pytz to 2021.1
  • Loading branch information
jadchaar authored Oct 3, 2021
1 parent 2f54cb8 commit 8b4e566
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9"]
python-version: ["pypy-3.7", "3.6", "3.7", "3.8", "3.9", "3.10-dev"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
# pypy3 randomly fails on Windows builds
- os: windows-latest
python-version: "pypy3"
python-version: "pypy-3.7"

steps:
# Check out latest code
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pytest==6.*
pytest-cov==2.*
pytest-mock==3.*
python-dateutil>=2.7.0
pytz==2021.*
pytz==2021.1
simplejson==3.*
sphinx==4.*
sphinx-autodoc-typehints==1.*
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[tox]
minversion = 3.18.0
envlist = py{py3,36,37,38,39}
envlist = py{py3,36,37,38,39,310}
skip_missing_interpreters = true

[gh-actions]
python =
pypy3: pypy3
pypy-3.7: pypy3
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[testenv]
deps = -rrequirements-dev.txt
Expand Down

0 comments on commit 8b4e566

Please sign in to comment.