Skip to content

Commit dd0cb9a

Browse files
committed
build: Unify constraints files.
Pytest-asyncio currently uses separate constraints files for the base package and the [docs] extra. This creates issues when both files specify constraints on the same dependency and that dependency is bumped by Dependabot in only one file. In that case, the build may fail due to conflicting constraints (see for example #986). This patch creates a unified constraints file for pytest-asyncio. There's still a second constraints file for pytest-min, which is used to test against the minimum supported version of pytest.
1 parent ba837fe commit dd0cb9a

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ updates:
77
interval: weekly
88
open-pull-requests-limit: 10
99
target-branch: main
10-
- package-ecosystem: pip
11-
directory: /dependencies/docs
12-
schedule:
13-
interval: weekly
14-
open-pull-requests-limit: 10
15-
target-branch: main
1610
- package-ecosystem: github-actions
1711
directory: /
1812
schedule:
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
1+
alabaster==0.7.16
12
attrs==25.3.0
3+
babel==2.17.0
4+
backports.asyncio.runner==1.2.0
5+
certifi==2025.8.3
6+
charset-normalizer==3.4.3
27
coverage==7.10.6
8+
docutils==0.21.2
39
exceptiongroup==1.3.0
410
hypothesis==6.138.13
511
iniconfig==2.1.0
12+
idna==3.10
13+
imagesize==1.4.1
14+
importlib_metadata==8.7.0
15+
iniconfig==2.1.0
16+
Jinja2==3.1.6
17+
MarkupSafe==3.0.2
618
packaging==25.0
719
pluggy==1.6.0
20+
Pygments==2.19.2
821
pytest==8.4.1
22+
requests==2.32.4
23+
snowballstemmer==3.0.1
924
sortedcontainers==2.4.0
25+
Sphinx==8.0.2
26+
sphinx-rtd-theme==3.0.2
27+
sphinxcontrib-applehelp==2.0.0
28+
sphinxcontrib-devhelp==2.0.0
29+
sphinxcontrib-htmlhelp==2.1.0
30+
sphinxcontrib-jquery==4.1
31+
sphinxcontrib-jsmath==1.0.1
32+
sphinxcontrib-qthelp==2.0.0
33+
sphinxcontrib-serializinghtml==2.0.0
1034
tomli==2.2.1
1135
typing_extensions==4.15.0
36+
urllib3==2.5.0
37+
zipp==3.23.0
File renamed without changes.

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ allowlist_externals =
3030
git
3131
extras = docs
3232
deps =
33-
--requirement dependencies/docs/requirements.txt
34-
--constraint dependencies/docs/constraints.txt
33+
--requirement dependencies/default/requirements-docs.txt
34+
--constraint dependencies/default/constraints.txt
3535
change_dir = docs
3636
description = Build The Docs with {basepython}
3737
commands =

0 commit comments

Comments
 (0)