Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Python 3.10 beta/RC builds to the matrix #952

Merged
merged 13 commits into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 63 additions & 35 deletions .ci/.jenkins_exclude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,31 @@ exclude:
# Flask
- PYTHON_VERSION: pypy-3
FRAMEWORK: flask-0.11 # see https://github.com/pallets/flask/commit/6e46d0cd, 0.11.2 was never released
# celery
- PYTHON_VERSION: python-3.7
FRAMEWORK: celery-3-django-1.11 # see https://code.djangoproject.com/ticket/28814
# celery 4 doesn't currently work on Python 3.7, see https://github.com/celery/celery/issues/4500
- PYTHON_VERSION: python-3.7
FRAMEWORK: celery-4-django-2.0
- PYTHON_VERSION: python-3.7
FRAMEWORK: celery-4-django-1.11
- PYTHON_VERSION: python-3.7
FRAMEWORK: celery-4-flask-1.0
- PYTHON_VERSION: python-3.8
# Python 3.10 removed a bunch of classes from collections, now in collections.abc
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: django-1.11
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: django-2.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: celery-4-django-2.0
- PYTHON_VERSION: python-3.8
FRAMEWORK: celery-4-django-1.11
- PYTHON_VERSION: python-3.8
FRAMEWORK: celery-4-flask-1.0
- PYTHON_VERSION: python-3.9-rc
FRAMEWORK: celery-4-django-2.0
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: celery-4-django-1.11
- PYTHON_VERSION: python-3.9-rc
FRAMEWORK: celery-4-flask-1.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: celery-3-flask-1.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: celery-3-django-2.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: graphene-2
# requests
- PYTHON_VERSION: python-3.6
FRAMEWORK: requests-1.2
- PYTHON_VERSION: python-3.7
FRAMEWORK: requests-1.2
- PYTHON_VERSION: python-3.8
FRAMEWORK: requests-1.2
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: requests-1.2
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: requests-1.2
- PYTHON_VERSION: pypy-3
FRAMEWORK: requests-1.2
Expand All @@ -42,39 +37,49 @@ exclude:
FRAMEWORK: pymongo-3.0
- PYTHON_VERSION: python-3.8
FRAMEWORK: pymongo-3.0
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: pymongo-3.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: pymongo-3.0
- PYTHON_VERSION: python-3.6
FRAMEWORK: pymongo-3.1
- PYTHON_VERSION: python-3.7
FRAMEWORK: pymongo-3.1
- PYTHON_VERSION: python-3.8
FRAMEWORK: pymongo-3.1
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: pymongo-3.1
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: pymongo-3.1
- PYTHON_VERSION: python-3.6
FRAMEWORK: pymongo-3.2
- PYTHON_VERSION: python-3.7
FRAMEWORK: pymongo-3.2
- PYTHON_VERSION: python-3.8
FRAMEWORK: pymongo-3.2
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: pymongo-3.2
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: pymongo-3.2
- PYTHON_VERSION: python-3.6
FRAMEWORK: pymongo-3.3
- PYTHON_VERSION: python-3.7
FRAMEWORK: pymongo-3.3
- PYTHON_VERSION: python-3.8
FRAMEWORK: pymongo-3.3
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: pymongo-3.3
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: pymongo-3.3
- PYTHON_VERSION: python-3.6
FRAMEWORK: pymongo-3.4
- PYTHON_VERSION: python-3.7
FRAMEWORK: pymongo-3.4
- PYTHON_VERSION: python-3.8
FRAMEWORK: pymongo-3.4
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: pymongo-3.4
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: pymongo-3.4
- PYTHON_VERSION: pypy-3
FRAMEWORK: pymongo-3.0
Expand All @@ -85,7 +90,9 @@ exclude:
FRAMEWORK: memcached-1.51
- PYTHON_VERSION: python-3.8
FRAMEWORK: memcached-1.51
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: memcached-1.51
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: memcached-1.51
- PYTHON_VERSION: pypy-3
FRAMEWORK: memcached-1.51
Expand All @@ -98,12 +105,16 @@ exclude:
FRAMEWORK: pymssql-newest
- PYTHON_VERSION: python-3.8 # currently fails with error on python 3.8 due to cython issues
FRAMEWORK: pymssql-newest
- PYTHON_VERSION: python-3.9-rc # currently fails with error on python 3.8 due to cython issues
- PYTHON_VERSION: python-3.9 # currently fails with error on python 3.8 due to cython issues
FRAMEWORK: pymssql-newest
- PYTHON_VERSION: python-3.10-rc # currently fails with error on python 3.8 due to cython issues
FRAMEWORK: pymssql-newest
# psycopg2
- PYTHON_VERSION: python-3.8 # see https://github.com/psycopg/psycopg2/issues/858
FRAMEWORK: psycopg2-2.7
- PYTHON_VERSION: python-3.9-rc # see https://github.com/psycopg/psycopg2/issues/858
- PYTHON_VERSION: python-3.9 # see https://github.com/psycopg/psycopg2/issues/858
FRAMEWORK: psycopg2-2.7
- PYTHON_VERSION: python-3.10-rc # see https://github.com/psycopg/psycopg2/issues/858
FRAMEWORK: psycopg2-2.7
# pyodbc
- PYTHON_VERSION: pypy-3
Expand All @@ -115,18 +126,28 @@ exclude:
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: python-3.8
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: pypy-3
FRAMEWORK: boto3-1.0
# boto3 is currently not importable on Python 3.9, see https://github.com/boto/botocore/issues/2002
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: boto3-1.5
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: boto3-1.6
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: boto3-newest
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: boto3-1.0
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: boto3-1.5
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: boto3-1.6
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: boto3-newest
# zerorpc - only run on py2
- PYTHON_VERSION: pypy-3
Expand All @@ -137,8 +158,13 @@ exclude:
FRAMEWORK: zerorpc-0.4
- PYTHON_VERSION: python-3.8
FRAMEWORK: zerorpc-0.4
- PYTHON_VERSION: python-3.9-rc
- PYTHON_VERSION: python-3.9
FRAMEWORK: zerorpc-0.4
- PYTHON_VERSION: python-3.10-rc
FRAMEWORK: zerorpc-0.4
# gevent
- PYTHON_VERSION: python-3.10-rc # causes issues with PosixPath.__enter__, unsure why
FRAMEWORK: gevent-newest
# aiohttp client, only supported in Python 3.7+
- PYTHON_VERSION: pypy-3
FRAMEWORK: aiohttp-3.0
Expand Down Expand Up @@ -176,3 +202,5 @@ exclude:
FRAMEWORK: asyncpg-newest
- PYTHON_VERSION: python-3.6
FRAMEWORK: asyncpg-newest
- PYTHON_VERSION: python-3.10-rc # https://github.com/MagicStack/asyncpg/issues/699
FRAMEWORK: asyncpg-newest
3 changes: 2 additions & 1 deletion .ci/.jenkins_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ PYTHON_VERSION:
- python-3.6
- python-3.7
- python-3.8
- python-3.9-rc
- python-3.9
- python-3.10-rc
- pypy-3
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ flake8:
flake8

test:
# delete any __pycache__ folders to avoid hard-to-debug caching issues
find . -name __pycache__ -type d -exec rm -r {} +
# pypy3 should be added to the first `if` once it supports py3.7
if [[ "$$PYTHON_VERSION" =~ ^(3.7|3.8|3.9|nightly)$$ ]] ; then \
if [[ "$$PYTHON_VERSION" =~ ^(3.7|3.8|3.9|3.10|nightly)$$ ]] ; then \
py.test -v $(PYTEST_ARGS) $(PYTEST_MARKER) $(PYTEST_JUNIT); \
elif [[ "$$PYTHON_VERSION" =~ ^(3.5|3.6|pypy3)$$ ]] ; then \
py.test -v $(PYTEST_ARGS) $(PYTEST_MARKER) $(PYTEST_JUNIT) --ignore-glob='*/asyncio*/*'; \
Expand Down
1 change: 0 additions & 1 deletion tests/requirements/reqs-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ parse-type==0.5.2
toml==0.10.2
iniconfig==1.1.1
docutils==0.16
pathlib==1.0.1
py-cpuinfo==7.0.0
statistics==1.0.3.5

Expand Down