Skip to content

Commit

Permalink
Merge pull request #525 from mkniewallner/add-support-python-3-10
Browse files Browse the repository at this point in the history
Add support for Python 3.10
  • Loading branch information
abusi committed Sep 13, 2021
2 parents df90f4d + ba4fe33 commit 06baf64
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
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

0 comments on commit 06baf64

Please sign in to comment.