Skip to content

Commit 800e8ff

Browse files
authored
Pin types-setuptools to <67.4.0.2 (#14788)
The mypyc build is failing on `master` due to the latest release of `types-setuptools`: see, e.g. https://github.com/python/mypy/actions/runs/4275505309/jobs/7442902732. #14787 fixes the mypyc _build_, but there's still a bunch of mypyc tests failing on that PR. I haven't got time to debug them right now (and I'm also not particularly knowledgeable about mypyc!), so this is a stopgap PR to pin `types-setuptools` so that we avoid the latest release.
1 parent ab7b69a commit 800e8ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml
22
-r mypy-requirements.txt
33
types-psutil
4-
types-setuptools
4+
# TODO: fix build when using the latest version of types-setuptools
5+
types-setuptools<67.4.0.2
56
types-typed-ast>=1.5.8,<1.6.0

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ requires = [
1212
"tomli>=1.1.0; python_version<'3.11'",
1313
# the following is from build-requirements.txt
1414
"types-psutil",
15-
"types-setuptools",
15+
"types-setuptools<67.4.0.2", # TODO: fix build when using the latest version of types-setuptools
1616
"types-typed-ast>=1.5.8,<1.6.0",
1717
]
1818
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)