1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
The Python package installer https://pip.pypa.io/
Go to file
Xavier Fernandez 5ec275fca2 Cache find_best_candidate results
This is possible because self.make_candidate_evaluator only depends
on:
- the function arguments which are keys to the cache
- self._target_python which never changes during a pip resolution
- self._candidate_prefs which never changes during a pip resolution

On a fresh install, pip install <a package with ~ 100 dependencies>
runs on my machine in:

master (a0e34e9cf7)
=======================

0m33.058s
0m34.105s
0m32.426s

This commit
===========

0m15.860s
0m16.254s
0m15.910s

pip 20.2.4 - legacy resolver
============================

0m15.145s
0m15.040s
0m15.152s
2020-10-31 16:22:59 +01:00
.azure-pipelines Remove the AP MacOS job 2020-10-27 18:10:07 +05:30
.github Simplify YAML + better names 2020-10-27 02:10:36 +05:30
docs docs: Emphasize that pip may break existing packages 2020-10-29 13:51:29 -04:00
news Merge pull request #9073 from xavfernandez/freeze_list_exclude 2020-10-31 15:25:53 +05:30
src/pip Cache find_best_candidate results 2020-10-31 16:22:59 +01:00
tests utils: make Hashes object hashable 2020-10-31 15:54:54 +01:00
tools Switch to sphinx-inline-tabs for tabs 2020-10-18 22:42:24 +05:30
.gitattributes Modify gitattributes to match changed location of vendoring patches 2020-01-23 10:53:33 +00:00
.gitignore Update gitignore to ignore sublime text config files 2020-10-30 13:34:11 +02:00
.mailmap Update mailmap and regenerate authors 2018-11-02 12:26:33 -07:00
.pre-commit-config.yaml Bump mypy to 0.790 for Python 3.9 compat 2020-10-12 17:37:55 +07:00
.readthedocs.yml Add correct builder to ReadTheDocs configuration 2019-08-05 18:09:07 +05:30
.travis.yml Merge pull request #9019 from pradyunsg/flip-the-switch-on-new-resolver 2020-10-31 00:36:32 +05:30
AUTHORS.txt Update AUTHORS.txt 2020-07-29 07:53:17 +05:30
LICENSE.txt Update LICENSE.txt 2020-09-23 17:42:29 +03:00
MANIFEST.in 🎨 Colorize the "important" admonition blocks 2020-09-25 23:25:36 +02:00
NEWS.rst Bump for release 2020-10-16 18:12:10 +05:30
noxfile.py Document and start testing Python 3.9 support 2020-10-12 17:37:23 +07:00
pyproject.toml Explicitly specify build-backend in pyproject.toml (#7742) 2020-04-10 20:16:21 +05:30
README.rst docs: Clarify links for resolver work and studies 2020-10-28 23:29:09 -04:00
setup.cfg Drop custom logic for new_resolver tests 2020-10-30 07:16:19 +05:30
setup.py Document and start testing Python 3.9 support 2020-10-12 17:37:23 +07:00
tox.ini Pin vendoring to ~=0.3.3 in test suite 2020-10-17 19:47:55 +07:00

pip - The Python Package Installer
==================================

.. image:: https://img.shields.io/pypi/v/pip.svg
   :target: https://pypi.org/project/pip/

.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
   :target: https://pip.pypa.io/en/latest

pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.

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

* `Installation`_
* `Usage`_

We release updates regularly, with a new version every 3 months. Find more details in our documentation:

* `Release notes`_
* `Release process`_

In pip 20.3, we're `making a big improvement to the heart of pip`_; `learn more`_. We want your input, so `sign up for our user experience research studies`_ to help us do it right.

If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:

* `Issue tracking`_
* `Discourse channel`_
* `User IRC`_

If you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:

* `GitHub page`_
* `Development documentation`_
* `Development mailing list`_
* `Development IRC`_

Code of Conduct
---------------

Everyone interacting in the pip project's codebases, issue trackers, chat
rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.

.. _package installer: https://packaging.python.org/guides/tool-recommendations/
.. _Python Package Index: https://pypi.org
.. _Installation: https://pip.pypa.io/en/stable/installing.html
.. _Usage: https://pip.pypa.io/en/stable/
.. _Release notes: https://pip.pypa.io/en/stable/news.html
.. _Release process: https://pip.pypa.io/en/latest/development/release-process/
.. _GitHub page: https://github.com/pypa/pip
.. _Development documentation: https://pip.pypa.io/en/latest/development
.. _making a big improvement to the heart of pip: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
.. _learn more: https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
.. _sign up for our user experience research studies: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
.. _Issue tracking: https://github.com/pypa/pip/issues
.. _Discourse channel: https://discuss.python.org/c/packaging
.. _Development mailing list: https://mail.python.org/mailman3/lists/distutils-sig.python.org/
.. _User IRC: https://webchat.freenode.net/?channels=%23pypa
.. _Development IRC: https://webchat.freenode.net/?channels=%23pypa-dev
.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md