-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
missing files on test #22683
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
What version of pandas? |
v0.23.4 The MANIFEST.in removes the csv files for example. So the following file is missing: But is required: Or at least that's what I think is happening. |
Yea should have a skip for whenever the files are not bundled with the application. PRs certainly welcome |
Can you also post how you're running pytest, the top of
|
@TomAugspurger |
I don't think messing with setup.cfg just for the distribution is a good
idea.
It's probably best to flip the logic on `--strict-data-path` to be
`--no-strict-data-path`.
Then in the toplevel `pandas.test` we can add the `--no-strict-data-path`
to the options.
…On Thu, Sep 13, 2018 at 3:41 PM Elias M. Mariani ***@***.***> wrote:
@TomAugspurger <https://github.com/TomAugspurger>
Removing setup.cfg from distributions seems wrong, given that is used by
versioneer.py.
Is not logical to force "--strict-data-files" when the data files aren't
there...
Maybe there is a way to distribute a setup.cfg without the pytest hook ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22683 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIiS1t789Y2zJyLracA0M7YhguPxcks5uasLpgaJpZM4WmeoX>
.
|
@TomAugspurger I leave you the test log without the --strict-data-files option. |
? I spent a lot of time implementing datapath so that this would continue to work when we removed data files from the distributions. I'll note that the documented way for users to run the tests is through
if you want to use |
@TomAugspurger |
I think this has possibly been fixed in a more recent version of pandas so closing. Can reopen if seen again |
Hi, testing with "pytest pandas" from a pypi package returns a bunch of errors related to missing files.
I understand that those files are removed on propose ?
Shouldn't the tests skip the use of those files if they aren't present ?
The text was updated successfully, but these errors were encountered: