Skip to content

Commit c25eee4

Browse files
committed
De-support Python 3.6
Python 3.6 could not be reliably tested any more on GitHub.
1 parent b1a0d7c commit c25eee4

File tree

10 files changed

+33
-36
lines changed

10 files changed

+33
-36
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.2.6
2+
current_version = 3.2.7
33
commit = False
44
tag = False
55

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install "tox>=4.24,<5" "tox-gh-actions>=3.2,<4"
24+
pip install "tox>=4.24,<5" "tox-gh-actions>=3.5,<4"
2525
2626
- name: Run unit tests with tox
2727
run: tox
2828

2929
tests-old:
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-22.04
3131

3232
strategy:
3333
matrix:
34-
python-version: ['3.6', '3.7', '3.8']
34+
python-version: ['3.7', '3.8']
3535

3636
steps:
3737
- uses: actions/checkout@v5
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install dependencies
4545
run: |
4646
python -m pip install --upgrade pip
47-
pip install "tox>=3.28,<5" "tox-gh-actions>=2.12,<4"
47+
pip install "tox>=4.8,<5" "tox-gh-actions>=3.5,<4"
4848
4949
- name: Run unit tests with tox
5050
run: tox

.mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.9
2+
python_version = 3.7
33
check_untyped_defs = True
44
no_implicit_optional = True
55
strict_optional = True

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GraphQL-core 3
22

3-
GraphQL-core 3 is a Python 3.6+ port of [GraphQL.js](https://github.com/graphql/graphql-js),
3+
GraphQL-core 3 is a Python 3.7+ port of [GraphQL.js](https://github.com/graphql/graphql-js),
44
the JavaScript reference implementation for [GraphQL](https://graphql.org/),
55
a query language for APIs created by Facebook.
66

@@ -10,7 +10,7 @@ a query language for APIs created by Facebook.
1010
![Lint Status](https://github.com/graphql-python/graphql-core/actions/workflows/lint.yml/badge.svg)
1111
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
1212

13-
The current version 3.2.6 of GraphQL-core is up-to-date with GraphQL.js version 16.8.2.
13+
The current version 3.2.7 of GraphQL-core is up-to-date with GraphQL.js version 16.8.2.
1414

1515
An extensive test suite with over 2500 unit tests and 100% coverage comprises a
1616
replication of the complete test suite of GraphQL.js, making sure this port is
@@ -196,7 +196,7 @@ Design goals for the GraphQL-core 3 library were:
196196

197197
Some restrictions (mostly in line with the design goals):
198198

199-
* requires Python 3.6 or newer
199+
* requires Python 3.7 or newer
200200
* does not support some already deprecated methods and options of GraphQL.js
201201
* supports asynchronous operations only via async.io
202202
(does not support the additional executors in GraphQL-core)

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# The short X.Y version.
6262
# version = '3.2'
6363
# The full version, including alpha/beta/rc tags.
64-
version = release = "3.2.6"
64+
version = release = "3.2.7"
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

poetry.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "graphql-core"
3-
version = "3.2.6"
3+
version = "3.2.7"
44
description = """
55
GraphQL-core is a Python port of GraphQL.js,\
66
the JavaScript reference implementation for GraphQL."""
@@ -18,7 +18,6 @@ classifiers = [
1818
"Intended Audience :: Developers",
1919
"License :: OSI Approved :: MIT License",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.6",
2221
"Programming Language :: Python :: 3.7",
2322
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
@@ -48,14 +47,14 @@ packages = [
4847
]
4948

5049
[tool.poetry.dependencies]
51-
python = "^3.6"
50+
python = "^3.7"
5251
typing-extensions = [
53-
{ version = ">=4.1,<5", python = "<3.10" }
52+
{ version = ">=4.7,<5", python = "<3.10" }
5453
]
5554

5655
[tool.black]
5756
target-version = [
58-
'py36', 'py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314'
57+
'py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314'
5958
]
6059

6160
[tool.pyright]

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"License :: OSI Approved :: MIT License",
2828
"Programming Language :: Python :: 3",
2929
"Programming Language :: Python :: 3 :: Only",
30-
"Programming Language :: Python :: 3.6",
3130
"Programming Language :: Python :: 3.7",
3231
"Programming Language :: Python :: 3.8",
3332
"Programming Language :: Python :: 3.9",
@@ -38,9 +37,9 @@
3837
"Programming Language :: Python :: 3.14",
3938
],
4039
install_requires=[
41-
"typing-extensions>=4,<5; python_version < '3.10'",
40+
"typing-extensions>=4.7,<5; python_version < '3.10'",
4241
],
43-
python_requires=">=3.6,<4",
42+
python_requires=">=3.7,<4",
4443
packages=find_packages("src"),
4544
package_dir={"": "src"},
4645
# PEP-561: https://www.python.org/dev/peps/pep-0561/

src/graphql/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
__all__ = ["version", "version_info", "version_js", "version_info_js"]
55

66

7-
version = "3.2.6"
7+
version = "3.2.7"
88

99
version_js = "16.8.2"
1010

tox.ini

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[tox]
2-
envlist = py3{6,7,8,9,10,11,12,13,14}, pypy3{9,10,11}, black, flake8, mypy, docs, manifest
2+
envlist = py3{7,8,9,10,11,12,13,14}, pypy3{9,10,11}, black, flake8, mypy, docs, manifest
33
isolated_build = true
44

55
[gh-actions]
66
python =
77
3: py313
8-
3.6: py36
98
3.7: py37
109
3.8: py38
1110
3.9: py39
@@ -23,7 +22,7 @@ python =
2322
basepython = python3.14
2423
deps = black==25.9.0
2524
commands =
26-
black src tests setup.py -t py36 --check
25+
black src tests setup.py -t py37 --check
2726

2827
[testenv:flake8]
2928
basepython = python3.14
@@ -55,15 +54,15 @@ commands =
5554

5655
[testenv]
5756
deps =
58-
pytest>=6.2,<9
59-
pytest-asyncio>=0.16,<1
60-
pytest-benchmark>=3.4,<6
61-
pytest-cov>=4,<8
57+
pytest>=7.4,<9
58+
pytest-asyncio>=0.21,<1
59+
pytest-benchmark>=4.0,<6
60+
pytest-cov>=4.1,<8
6261
pytest-describe>=2,<4
63-
pytest-timeout>=2,<3
64-
py3{6,7,8,9},pypy39: typing-extensions>=4.1,<5
62+
pytest-timeout>=2.4,<3
63+
py3{7,8,9},pypy39: typing-extensions>=4.1,<5
6564
commands =
6665
# to also run the time-consuming tests: tox -e py314 -- --run-slow
6766
# to run the benchmarks: tox -e py314 -- -k benchmarks --benchmark-enable
68-
py3{6,7,8,9,10,11,13},pypy3{9,10,11}: pytest tests {posargs}
67+
py3{7,8,9,10,11,13},pypy3{9,10,11}: pytest tests {posargs}
6968
py314: pytest tests {posargs: --cov-report=term-missing --cov=graphql --cov=tests --cov-fail-under=100}

0 commit comments

Comments
 (0)