Skip to content

Conversation

@rohanpm
Copy link
Contributor

@rohanpm rohanpm commented Aug 4, 2021

A dependency of (pubtools-pulplib => pubtools) was recently
introduced.

This appears to break pidiff's handling of this library. Previously, in
a venv with pubtools-pulplib installed, "pubtools" would be the root
module for pubtools-pulplib code (only). Now it is the root namespace
sharing code for both "pubtools-pulplib" and "pubtools", and pidiff
can't automatically tell the difference.

It can be fixed by explicitly telling the tool which module should be
checked.

{posargs} were also added so that one can run e.g.
"tox -e pidiff -- -vv" for debugging purposes.

A dependency of (pubtools-pulplib => pubtools) was recently
introduced.

This appears to break pidiff's handling of this library. Previously, in
a venv with pubtools-pulplib installed, "pubtools" would be the root
module for pubtools-pulplib code (only).  Now it is the root namespace
sharing code for both "pubtools-pulplib" and "pubtools", and pidiff
can't automatically tell the difference.

It can be fixed by explicitly telling the tool which module should be
checked.

{posargs} were also added so that one can run e.g.
"tox -e pidiff -- -vv" for debugging purposes.
@rohanpm rohanpm marked this pull request as ready for review August 4, 2021 23:11
@rohanpm rohanpm requested a review from a team August 4, 2021 23:12
@rohanpm rohanpm merged commit 4b816b4 into release-engineering:master Aug 8, 2021
@rohanpm rohanpm deleted the ci-pidiff-fix branch August 8, 2021 22:22
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