Upgrade base Python version to 3.10 (#1449)

This commit is contained in:
Ülgen Sarıkavak 2022-08-28 18:33:35 +03:00 committed by GitHub
parent 35c281a3cd
commit c5ccc9502d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Build wheel and source tarball
run: |
pip install wheel

View File

@ -8,10 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip

View File

@ -1,5 +1,5 @@
default_language_version:
python: python3.9
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks

View File

@ -11,7 +11,7 @@ commands =
py{36,37,38,39,310}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
[testenv:pre-commit]
basepython = python3.9
basepython = python3.10
deps =
pre-commit>=2.16,<3
setenv =
@ -20,7 +20,7 @@ commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:mypy]
basepython = python3.9
basepython = python3.10
deps =
mypy>=0.950,<1
commands =