Open Czaki opened 1 month ago
This is a issue with setuptools 70.x
Please try the latest version or report with it
This is with setuptools==71.0.3
so latest available version
Then I hope the next Patch to it fixed it,the 70.x series had a chain of unplanned issues around the vendoring
When using pytester to test a package fixture, the assertion rewrite is triggered. It looks like there is also trying to rewrite assertions in setuptools,
However, most recent releases of setuptools depends on typing_extension 4.12.2. This version is vendored by setuptools. but during rewrite:
it looks importing from global typing_extension, not vendored one.
It creates failure on our CI as we have minimum requirement test steep, and our typing_extension minimum version is much smaller than required setuptools.
Maybe pytest should not rewrite setuptools content?
https://github.com/napari/napari/issues/7107
https://github.com/napari/napari/actions/runs/10002793073/job/27649005717?pr=7106