Skip to content

[CI] PyPy tests failing lately and it is difficult to identify the root cause #4940

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

Open
abravalheri opened this issue Apr 4, 2025 · 1 comment

Comments

@abravalheri
Copy link
Contributor

I first noticed this behaviour when reverting the deprecations introduced in v78.0.0.
But lately we have seen PyPy failing in what seems to be unrelated issues.

Example extracted from #4931:

Image

We can see an error in test_setupcfg.py:488 which does not really have a good explanation.
In the setuptools.tests.config.test_setupcfg:TestOptions.test_basic function, we use the fake_env, but by itself it does not add any classifier. So we have a warning about classifiers without having specified any classifier?

@abravalheri
Copy link
Contributor Author

The fact that the error keeps changing seems to me that we have some sort of race condition,
specially when it comes to the tmp_path/tmpdir fixture. (It seems that the temp directory is "reminiscing" from one test to the other)

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

No branches or pull requests

1 participant