Pandas version checks
-
[X] I have checked that this issue has not already been reported.
-
[X] I have confirmed this bug exists on the latest version of pandas.
-
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
pip install --upgrade --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas
Issue Description
I noticed the root of my site-packages folder had a rogue pyproject.toml
in it from pandas. Not sure if this is a issue with the wheel build or something but it's definitely not designed behavior. I'm not sure if this just an issue with the nightly or not.
Removing it and re-running the install resulted in the same behavior.
pip 23.0.1
Expected Behavior
No pyproject.toml
should be placed in the root of site-packages
Installed Versions
Comment From: mroeschke
This was added in https://github.com/pandas-dev/pandas/pull/50330 because pd.test
needs the pytest markers defined in pyproject.toml
to work fully.
Comment From: shughes-uk
Putting it in site-packages
is not the place to put it as there's a risk of it colliding with other packages or causing weird issues , site-packages/pandas
would be ok I think?
If this was the behavior only for the nightly package that might also be ok
Comment From: mroeschke
cc @lithomas1