Skip to content

Commit 20404db

Browse files
committed
Merge branch 'main' into codespell
2 parents 75b5cd3 + 800c124 commit 20404db

File tree

115 files changed

+3059
-243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+3059
-243
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ repos:
1717
exclude: .patch
1818

1919
- repo: https://github.com/psf/black-pre-commit-mirror
20-
rev: 23.12.1
20+
rev: 24.4.0
2121
hooks:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.2.0
25+
rev: v0.3.6
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]

AUTHORS.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ Mark Williams
445445
Markus Hametner
446446
Martey Dodoo
447447
Martin Fischer
448-
Martin Häcker
448+
Martin Häcker
449449
Martin Pavlasek
450450
Masaki
451451
Masklinn
@@ -495,7 +495,7 @@ Miro Hrončok
495495
Monica Baluna
496496
montefra
497497
Monty Taylor
498-
Muha Ajjan
498+
Muha Ajjan
499499
Nadav Wexler
500500
Nahuel Ambrosini
501501
Nate Coraor
@@ -757,4 +757,3 @@ Zvezdan Petkovic
757757
Łukasz Langa
758758
Роман Донченко
759759
Семён Марьясин
760-
‮rekcäH nitraM‮

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
pip - The Python Package Installer
22
==================================
33

4-
.. image:: https://img.shields.io/pypi/v/pip.svg
4+
.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg
55
:target: https://pypi.org/project/pip/
66
:alt: PyPI
77

8-
.. image:: https://img.shields.io/pypi/pyversions/pip
8+
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip
99
:target: https://pypi.org/project/pip
1010
:alt: PyPI - Python Version
1111

12-
.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
12+
.. |docs-badge| image:: https://readthedocs.org/projects/pip/badge/?version=latest
1313
:target: https://pip.pypa.io/en/latest
1414
:alt: Documentation
1515

16+
|pypi-version| |python-versions| |docs-badge|
17+
1618
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
1719

1820
Please take a look at our documentation for how to install and use pip:

docs/html/cli/pip_install.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,12 @@ and `there <https://www.python.org/dev/peps/pep-0503/>`_.
212212
pip offers a number of package index options for modifying how packages are
213213
found.
214214

215-
pip looks for packages in a number of places: on PyPI (if not disabled via
216-
``--no-index``), in the local filesystem, and in any additional repositories
217-
specified via ``--find-links`` or ``--index-url``. There is no ordering in
218-
the locations that are searched. Rather they are all checked, and the "best"
219-
match for the requirements (in terms of version number - see the
215+
pip looks for packages in a number of places: on PyPI (or the index given as
216+
``--index-url``, if not disabled via ``--no-index``), in the local filesystem,
217+
and in any additional repositories specified via ``--find-links`` or
218+
``--extra-index-url``. There is no priority in the locations that are searched.
219+
Rather they are all checked, and the "best" match for the requirements (in
220+
terms of version number - see the
220221
:ref:`specification <pypug:version-specifiers>` for details) is selected.
221222

222223
See the :ref:`pip install Examples<pip install Examples>`.

docs/html/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cli/index
2323
:hidden:
2424
2525
development/index
26-
ux_research_design
26+
ux-research-design/index
2727
news
2828
Code of Conduct <https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md>
2929
GitHub <https://github.com/pypa/pip>

docs/html/user_guide.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,12 @@ We are using `freeze`_ here which outputs installed packages in requirements for
856856

857857
reqs = subprocess.check_output([sys.executable, '-m', 'pip', 'freeze'])
858858

859+
To programmatically monitor download progress use the ``--progress-bar=raw`` option.
860+
This will print lines to stdout in the format ``Progress CURRENT of TOTAL``, where
861+
``CURRENT`` and ``TOTAL`` are integers and the unit is bytes.
862+
If the real total is unknown then ``TOTAL`` is set to ``0``. Be aware that the
863+
specific formatting of pip's outputs are *not* guaranteed to be the same in future versions.
864+
859865
If you don't want to use pip's command line functionality, but are rather
860866
trying to implement code that works with Python packages, their metadata, or
861867
PyPI, then you should consider other, supported, packages that offer this type
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# How to Contribute
2+
3+
## Participate in UX Research
4+
5+
It is important that we hear from pip users so that we can:
6+
7+
- Understand how pip is currently used by the Python community
8+
- Understand how pip users _need_ pip to behave
9+
- Understand how pip users _would like_ pip to behave
10+
- Understand pip’s strengths and shortcomings
11+
- Make useful design recommendations for improving pip
12+
13+
If you are interested in participating in pip user research, please [join pip’s user panel](https://mail.python.org/mailman3/lists/pip-ux-studies.python.org/).
14+
15+
## Test New Features
16+
17+
You can help the team by testing new features as they are released to the community.
18+
19+
## Report and Work on UX Issues
20+
21+
If you believe that you have found a user experience bug in pip, or you have ideas for how pip could be made better for all users, please file an issue on the [pip issue tracker](https://github.com/pypa/pip/issues/new).
22+
23+
You can also help improve pip’s user experience by [working on UX issues](https://github.com/pypa/pip/issues?q=is%3Aissue+label%3AUX+is%3Aopen). Issues that are ideal for new contributors are marked with “[good first issue](https://github.com/pypa/pip/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)”. Explore the
24+
[UX Guidance](guidance) if you have questions.

0 commit comments

Comments
 (0)