-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: pd.test
does not respect passing pandas specific markers
#50302
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
Comments
I don't think we ship pyproject.toml with wheels. Maybe adding to MANIFEST.in will fix it https://github.com/pandas-dev/pandas/blob/main/MANIFEST.in. |
Yeah was looking in the Conda packages too and didn't see it |
If you build from the Github release sdist, than MANIFEST.in is probably the root cause, since the Github release sdist is also uploaded to PyPI IIRC. |
Yeah since this API is public, I think including pyproject.toml in the wheels would be necessary. Don't think there should be any downsides? |
Fix has been reverted. |
xref conda-forge/pandas-feedstock#147
When installing pandas and trying to run
pd.test(["-m slow"])
,-m slow
will not necessarily be respected because our custom markers are defined inpyproject.toml
Since
pd.test
runs withpytest.main
which doesn't have a way to register the custom markers,pd.test
is not fully working when running from a package.The text was updated successfully, but these errors were encountered: