Skip to content
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

Update check-manifest invocation #114

Merged
merged 1 commit into from
May 4, 2020
Merged

Update check-manifest invocation #114

merged 1 commit into from
May 4, 2020

Conversation

mgedmin
Copy link
Contributor

@mgedmin mgedmin commented May 4, 2020

check-manifest 0.42 updated --ignore handling to be more consistent with MANIFEST.in global-exclude directives. As a result, tests* no longer matches files inside a tests directory, and you have to use tests/** instead.

As an extra complication, check-manifest 0.42 drops Python 2.7 support. Since you still have py27 in this tox.ini, this means you get an older check-manifest 0.41, and you have to tell it to ignore the empty tests directory that remains after you exclude all the files in it.

For all the gory details see the second half of mgedmin/check-manifest#98.

I apologize for the inconvenience!

check-manifest 0.42 updated `--ignore` handling to be more consistent with MANIFEST.in global-exclude directives.  As a result, `tests*` no longer matches files inside a `tests` directory, and you have to use `tests/**` instead.

As an extra complication, check-manifest drops Python 2.7 support.  Since you still have py27 in this tox.ini, this means you get an older check-manifest 0.41, and you have to tell it to ignore the empty `tests` directory that remains after you exclude all the files in it.

For details see the second half of mgedmin/check-manifest#98

I apologize for the inconvenience!
@di di merged commit 0853b2d into pypa:master May 4, 2020
@di
Copy link
Member

di commented May 4, 2020

I created #115 to drop Python 2.7 support, @mgedmin can you leave a comment there detailing what should be updated w/ regards to check-manifest if this happens?

@di di mentioned this pull request May 4, 2020
@mgedmin mgedmin deleted the patch-1 branch May 5, 2020 08:23
@mgedmin
Copy link
Contributor Author

mgedmin commented May 5, 2020

@mgedmin can you leave a comment there detailing what should be updated w/ regards to check-manifest if this happens?

Y'all already figured that out, so I left a couple of 👍.

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.

3 participants