Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reliance on pkg_resources for entry points #3087

Merged
merged 22 commits into from
Feb 12, 2022

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Feb 6, 2022

Ref #3085

@jaraco
Copy link
Member Author

jaraco commented Feb 6, 2022

That's weird. Tests are timing out on PyPy (only). The same thing happens on my local machine.

Curiously, if I disable the pytest-xdist plugin, the tests run. So it seems xdist is implicated.

@jaraco
Copy link
Member Author

jaraco commented Feb 6, 2022

I do see that at least one test passed on pypy for SETUPTOOLS_USE_DISTUTILS=local. I don't get it - there's next to nothing in this change that's related to distutils or pypy.

@jaraco
Copy link
Member Author

jaraco commented Feb 7, 2022

An earlier test is passing or nearly passing. Maybe the issue is transient.

@jaraco jaraco closed this Feb 7, 2022
@jaraco jaraco reopened this Feb 7, 2022
@jaraco
Copy link
Member Author

jaraco commented Feb 7, 2022

Issue was apparently transient. Seems tests are getting flakier and flakier. Not good considering it’s now taking hours to work through jobs.

@abravalheri
Copy link
Contributor

abravalheri commented Feb 7, 2022

Issue was apparently transient. Seems tests are getting flakier and flakier. Not good considering it’s now taking hours to work through jobs.

Yes, I noticed in previous PRs that the combination Windows + PyPy 3.7 is specially flaky. In most of the cases I observed, the error happens on test_build_meta.py with self.pool.submit. For some reason the combination seems to lead to memory allocation errors (lack of available memory in the worker, maybe? That would make sense with the behaviour you observed with xdist). Other time it just takes for ever and ends up cancelled.

These are just a few of the examples I found recently:

@jaraco jaraco merged commit 00fbad0 into main Feb 12, 2022
@jaraco jaraco deleted the debt/remove-pkg-resources branch February 12, 2022 16:58
abravalheri added a commit to abravalheri/setuptools that referenced this pull request Feb 12, 2022
As discussed in pypa#3087, `test_build_meta` seems to be flaky
specially for the combination of Windows + PyPy.

This is a proposed workaround for such scenarios.
@abravalheri abravalheri mentioned this pull request Feb 12, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants