Skip to content

Remove --strict-data-files on pytest by default #22700

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

Closed
wants to merge 1 commit into from
Closed

Remove --strict-data-files on pytest by default #22700

wants to merge 1 commit into from

Conversation

marianielias
Copy link

  • closes missing files on test #22683
    Explanation:
    pytest gets the configuration from setup.cfg, witch forces the option "--strict-data-files" by default. This makes the test to fail on missing files that are not packaged (on pypi and in the github tarball).
    Removing this line fixes the issue and the tests are skipped.

Adding missing newline also...

Cheers.
Elias.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Sep 13, 2018

We want strict to be the default.

Should we instead remove setup.cfg from the distributions?

@marianielias
Copy link
Author

We want strict to be the default.

Should we instead remove setup.cfg from the distributions?

Assuming that the file is not being used by something else... LGTM.
Let me test without the file just in case.

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.

2 participants