Skip to content

Update check-manifest invocation#114

Merged
di merged 1 commit into
pypa:masterfrom
mgedmin:patch-1
May 4, 2020
Merged

Update check-manifest invocation#114
di merged 1 commit into
pypa:masterfrom
mgedmin:patch-1

Conversation

@mgedmin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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