From 8c89d9259c16e8b0210887097c9e6d1aeb131bfa Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 15:58:21 +0000 Subject: [PATCH 1/4] Pin `types-setuptools` to <67.4.0.3 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 _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 not a mypyc expert, anyway!), so this is a stopgap PR to pin `types-setuptools` so that we avoid the latest release. --- build-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-requirements.txt b/build-requirements.txt index 52c518d53bc2..ad0a771f7ffc 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -1,5 +1,6 @@ # NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml -r mypy-requirements.txt types-psutil -types-setuptools +# TODO: fix build when using the latest version of types-setuptools +types-setuptools<67.4.0.3 types-typed-ast>=1.5.8,<1.6.0 From e5f625b116877d3f9ffefebba7592cdae6d94032 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 16:01:52 +0000 Subject: [PATCH 2/4] Update build-requirements.txt --- build-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-requirements.txt b/build-requirements.txt index ad0a771f7ffc..ea8de9d1ce02 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -2,5 +2,5 @@ -r mypy-requirements.txt types-psutil # TODO: fix build when using the latest version of types-setuptools -types-setuptools<67.4.0.3 +types-setuptools<67.4.0.2 types-typed-ast>=1.5.8,<1.6.0 From b6a939c2112c93567c91f115568530d7bd17c387 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 16:06:06 +0000 Subject: [PATCH 3/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 328b9bf159a1..c7efa4da0701 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ requires = [ "tomli>=1.1.0; python_version<'3.11'", # the following is from build-requirements.txt "types-psutil", - "types-setuptools", + "types-setuptools<67.4.0.2", "types-typed-ast>=1.5.8,<1.6.0", ] build-backend = "setuptools.build_meta" From beaf6c1942849fc77863965e42a66198b7ed32ce Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 Feb 2023 16:06:43 +0000 Subject: [PATCH 4/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c7efa4da0701..0869bba3bada 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ requires = [ "tomli>=1.1.0; python_version<'3.11'", # the following is from build-requirements.txt "types-psutil", - "types-setuptools<67.4.0.2", + "types-setuptools<67.4.0.2", # TODO: fix build when using the latest version of types-setuptools "types-typed-ast>=1.5.8,<1.6.0", ] build-backend = "setuptools.build_meta"