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

README.rst: pip install --upgrade #894

Merged
merged 4 commits into from
Oct 15, 2024
Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 14, 2024

-   pip install -U drf-yasg
+   pip install --upgrade drf-yasg

pip install currently has six --u* options so in code that will be read by others, let's use the most self-documenting form of the command.

% pip install --help | grep "\-\-u"

                              <dir>. Use --upgrade to replace existing
  --user                      Install to the Python user install directory for
  -U, --upgrade               Upgrade all specified packages to the newest
  --upgrade-strategy <upgrade_strategy>
  --use-pep517                Use PEP 517 for building source distributions
  --use-feature <feature>     Enable new functionality, that may be backward
  --use-deprecated <feature>  Enable deprecated functionality, that will be

cclauss and others added 4 commits October 14, 2024 09:17
`pip` currently has six `--u*` options so in code that will be read by others, let's use the most self-documenting form of the command.

% `pip install --help | grep "\-\-u"`
```
                              <dir>. Use --upgrade to replace existing
  --user                      Install to the Python user install directory for
  -U, --upgrade               Upgrade all specified packages to the newest
  --upgrade-strategy <upgrade_strategy>
  --use-pep517                Use PEP 517 for building source distributions
  --use-feature <feature>     Enable new functionality, that may be backward
  --use-deprecated <feature>  Enable deprecated functionality, that will be
```
@JoelLefkowitz JoelLefkowitz merged commit a8110a9 into axnsan12:master Oct 15, 2024
6 checks passed
@JoelLefkowitz
Copy link
Collaborator

@cclauss Thank you

@cclauss cclauss deleted the patch-4 branch October 15, 2024 17:48
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