Skip to content

Commit bad4bd6

Browse files
committed
Constrain backports-asyncio-runner in runtime.txt
Per Pavol's suggestion, this is a better approach, and it lets us omit the `--unsafe-package` flag from run-pip-compile.sh.
1 parent 689f472 commit bad4bd6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dev_tools/requirements/deps/runtime.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ sympy
1313
# Transitive dependency. Versions 1.3.3+ require Python 311. Constraining it
1414
# lets us produce a single set of requirements files for Python 3.10 - 3.12.
1515
contourpy<1.3.3
16+
17+
# Another transitive dependency. We don't care about the version of this
18+
# backport because it's only needed for a pytest extension. However, because we
19+
# run pip-compile in Python 3.10 for maximum compatibility, we need to add an
20+
# explicit constraint to keep this package out of the requirements files.
21+
backports-asyncio-runner ; python_full_version < '3.11'

0 commit comments

Comments
 (0)