Skip to content

pip_library: ensure pip_flags is always a string - #314

Merged
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:pip_library-pip_flags-str
Jul 27, 2026
Merged

pip_library: ensure pip_flags is always a string#314
chrisnovakovic merged 1 commit into
please-build:masterfrom
chrisnovakovic:pip_library-pip_flags-str

Conversation

@chrisnovakovic

Copy link
Copy Markdown
Contributor

When the pip_flags parameter and the PipFlags plugin configuration option are both undefined, the output of pip_library contains the none module as well as the desired one because None is erroneously passed as an argument to pip. Ensure None is not passed to pip under these circumstances.

Fixes #313.

When the `pip_flags` parameter and the `PipFlags` plugin configuration
option are both undefined, the output of `pip_library` contains the
[none](https://pypi.org/project/none/) module as well as the desired one
because `None` is erroneously passed as an argument to pip. Ensure
`None` is not passed to pip under these circumstances.

Fixes please-build#313.
@chrisnovakovic chrisnovakovic added the bug Something isn't working label Jul 24, 2026
@chrisnovakovic
chrisnovakovic merged commit 44857ae into please-build:master Jul 27, 2026
157 of 158 checks passed
@chrisnovakovic
chrisnovakovic deleted the pip_library-pip_flags-str branch July 27, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pip_library outputs typically contain the none module from PyPI

2 participants