Skip to content

Commit fb4995f

Browse files
committed
Update deps and modernize a bit
1 parent c563028 commit fb4995f

9 files changed

Lines changed: 22 additions & 24 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Install uv
2828
id: setup-uv
29-
uses: astral-sh/setup-uv@v7
29+
uses: astral-sh/setup-uv@v8
3030

3131
- name: Install tox
3232
id: install-tox

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Install uv
2222
id: setup-uv
23-
uses: astral-sh/setup-uv@v7
23+
uses: astral-sh/setup-uv@v8
2424

2525
- name: Install tox
2626
id: install-tox

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Install uv
2525
id: setup-uv
26-
uses: astral-sh/setup-uv@v7
26+
uses: astral-sh/setup-uv@v8
2727

2828
- name: Build wheel and source tarball with uv
2929
id: build

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Install uv
2626
id: setup-uv
27-
uses: astral-sh/setup-uv@v7
27+
uses: astral-sh/setup-uv@v8
2828
with:
2929
enable-cache: true
3030
cache-suffix: ${{ matrix.python-version }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pip-wheel-metadata/
2020
wheels/
2121

2222
play/
23+
notes/
2324

2425
__pycache__/
2526

@@ -35,3 +36,4 @@ __pycache__/
3536
**/copilot-instructions.md
3637
**/AGENTS.md
3738
**/GEMINI.md
39+
**/PORTING.md

.readthedocs.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ build:
88
os: ubuntu-24.04
99
tools:
1010
python: "3.14"
11+
jobs:
12+
# Install the project together with its "doc" dependency group
13+
install:
14+
- python -m pip install --group doc .
1115

1216
sphinx:
1317
configuration: docs/conf.py
1418

1519
formats:
1620
- epub
1721
- pdf
18-
19-
python:
20-
install:
21-
- requirements: docs/requirements.txt
22-
- method: pip
23-
path: .

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ keywords = ["graphql"]
1111
classifiers = [
1212
"Development Status :: 5 - Production/Stable",
1313
"Intended Audience :: Developers",
14-
"License :: OSI Approved :: MIT License",
1514
"Programming Language :: Python :: 3",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
@@ -29,24 +28,24 @@ Changelog = "https://github.com/graphql-python/graphql-core/releases"
2928

3029
[dependency-groups]
3130
test = [
32-
"anyio>=4.12,<5",
31+
"anyio>=4.13,<5",
3332
"pytest>=9,<10",
3433
"pytest-benchmark>=5.2,<6",
35-
"pytest-cov>=7,<8",
34+
"pytest-cov>=7.1,<8",
3635
"pytest-describe>=3.1,<4",
3736
"pytest-timeout>=2.4,<3",
38-
"pytest-codspeed>=4.3",
39-
"tox>=4.47,<5",
37+
"pytest-codspeed>=5",
38+
"tox>=4.55,<5",
4039
]
4140
lint = [
4241
"ruff>=0.15,<0.16",
43-
"mypy>=1.19,<2",
42+
"mypy>=2.1,<3",
4443
"bump2version>=1,<2",
4544
"typing-extensions>=4.15; python_version<'3.11'",
4645
]
4746
doc = [
48-
"sphinx>=9.1,<10",
49-
"sphinx_rtd_theme>=3.1.0,<4",
47+
"sphinx>=9,<10; python_version>='3.11'",
48+
"sphinx_rtd_theme>=3.1,<4; python_version>='3.11'",
5049
]
5150

5251
[tool.uv]
@@ -247,6 +246,7 @@ exclude_lines = [
247246
ignore_errors = true
248247

249248
[tool.mypy]
249+
# our try/except typing imports only resolve from 3.11 on
250250
python_version = "3.11"
251251
check_untyped_defs = true
252252
no_implicit_optional = true
@@ -293,7 +293,7 @@ disable = [
293293
]
294294

295295
[tool.pytest.ini_options]
296-
minversion = "7.4"
296+
minversion = "9.0"
297297
# Only run benchmarks as tests.
298298
# To actually run the benchmarks, use --benchmark-enable on the command line.
299299
# To run the slow tests (fuzzing), add --run-slow on the command line.
@@ -312,5 +312,5 @@ filterwarnings = "ignore::pytest.PytestConfigWarning"
312312
testpaths = ["tests"]
313313

314314
[build-system]
315-
requires = ["uv_build>=0.10,<0.11"]
315+
requires = ["uv_build>=0.11,<0.12"]
316316
build-backend = "uv_build"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
envlist = py3{10,11,12,13,14}, pypy3{10,11}, ruff, mypy, docs
33
isolated_build = true
44
requires =
5-
tox>=4.34
6-
tox-uv>=1.29
5+
tox>=4.55
6+
tox-uv>=1.35
77
installer = uv
88

99
[gh-actions]

0 commit comments

Comments
 (0)