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 support for Python 3.10 #525

Merged
merged 5 commits into from
Sep 13, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/on_pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup Python 3.9.6
uses: actions/setup-python@v2
with:
python-version: 3.9.6
python-version: "3.9.6"
- name: Install Python dependencies
run: pip install -e .[test]
- run: make style
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, macos-10.15 ]
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10.0-rc.2" ]
steps:
- uses: actions/checkout@v2
- run: git submodule update --init
Expand Down Expand Up @@ -62,12 +62,12 @@ jobs:
- run: git submodule update --init
- run: make set-dev-version
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.1
uses: pypa/cibuildwheel@v2.1.1
env:
CIBW_ARCHS: native
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.9"
- run: pip install twine==3.4.*
- name: Publish wheels to test pypi
env:
Expand All @@ -88,7 +88,7 @@ jobs:
- run: make set-dev-version
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.9"
- run: python setup.py sdist
- run: pip install twine==3.4.*
- name: Publish package to test pypi
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push_on_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Python 3.9.6
uses: actions/setup-python@v2
with:
python-version: 3.9.6
python-version: "3.9.6"
- name: Install Python dependencies
run: pip install -e .[test]
- run: make style
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Python 3.9.6
uses: actions/setup-python@v2
with:
python-version: 3.9.6
python-version: "3.9.6"
- name: Install Python dependencies
run: pip install -e .[test]
- name: Functional Tests
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- run: git submodule update --init
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.9"
- run: python setup.py sdist
- run: pip install twine==3.4.*
- name: Publish package to pypi
Expand Down Expand Up @@ -89,12 +89,12 @@ jobs:
- uses: actions/checkout@v2
- run: git submodule update --init
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.1
uses: pypa/cibuildwheel@v2.1.1
env:
CIBW_ARCHS: native
- uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.9"
- run: pip install twine==3.4.*
- name: Publish wheels to pypi
env:
Expand Down
4 changes: 4 additions & 0 deletions changelogs/next.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# [Next]

## Added

- [PR-525](https://github.com/tartiflette/tartiflette/pull/525) - Python 3.10 is now officially supported
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ def _read_file(filename):
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="api graphql protocol api rest relay tartiflette dailymotion",
Expand Down