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

Add topic guide: Repeatable Installs #10100

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

pradyunsg
Copy link
Member

Toward #9475

@pradyunsg pradyunsg added type: docs Documentation related skip news Does not need a NEWS file entry (eg: trivial changes) labels Jun 25, 2021
docs/html/topics/repeatable-installs.md Show resolved Hide resolved
docs/html/topics/repeatable-installs.md Show resolved Hide resolved
Comment on lines +93 to +98
```{warning}
Beware of the `setup_requires` keyword arg in {file}`setup.py`. The (rare)
packages that use it will cause those dependencies to be downloaded by
setuptools directly, skipping pip's protections. If you need to use such a
package, see {ref}`Controlling setup_requires <controlling-setup-requires>`.
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads a bit confusing to me at first since a wheelhouse contains only wheels and setup_requires shouldn’t affect it? Then I realise this is probably talking about the population phase (i.e. pip wheel can use hash-checking mode, but that does not protect you from requirements listed in setup_requires). Maybe this could be restructured to make it clearer.

Also, should this also be mentioned in the hash-checking section above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm... I think I just borrowed this verbatim from the original text we had already.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pradyunsg pradyunsg merged commit d12ab1c into pypa:main Jul 13, 2021
@pradyunsg pradyunsg deleted the topic/repeatable-installs branch July 13, 2021 22:01
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes) type: docs Documentation related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants