1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

12568 commits

Author SHA1 Message Date
Pradyun Gedam
e666842286
Merge pull request #10699 from cpawley/update-docs-10627 2021-12-03 20:14:13 +00:00
Tzu-ping Chung
3ba7c81d97
Merge pull request #10704 from pradyunsg/ci/auto-cancel-repeated-runs 2021-12-04 02:41:25 +08:00
Tzu-ping Chung
2e3fab3b28
Merge pull request #10705 from pradyunsg/add-missing-news 2021-12-04 02:41:11 +08:00
Pradyun Gedam
1b53e58974
Add missing news fragments related to rich adoption 2021-12-03 15:07:45 +00:00
Pradyun Gedam
fa2d428e43
Autocancel repeated CI runs
This will ensure that any specific pull request (or commit) only has a
single CI run happening at any point in time.
2021-12-03 14:37:04 +00:00
Pradyun Gedam
8ef91cfef5
Merge pull request #10693 from DiddiLeija/tox-to-nox 2021-12-03 14:02:47 +00:00
Pradyun Gedam
8d4fb059dd
Merge pull request #10686 from mgorny/missing-cryptography 2021-12-03 12:09:56 +00:00
Pradyun Gedam
94bbdfa1b7
Merge pull request #9995 from di/fix/9644
Fix issue with installing dependencies with extras & hashes
2021-12-03 09:12:09 +00:00
Dustin Ingram
06cd803328
Add type annotations 2021-12-02 16:43:03 -05:00
Dustin Ingram
316a75b2a5
Add NEWS entry so tests will actually run 2021-12-02 15:57:20 -05:00
Dustin Ingram
772a17c698
Add failing test 2021-12-02 15:57:17 -05:00
Chris Pawley
5b6b421072
Create 10627.trivial.rst 2021-12-02 11:14:34 +01:00
Diego Ramirez
a829016820 Improve the news file and the CI 2021-12-01 14:23:20 -06:00
Diego Ramirez
fb89b6513b Fix linting 2021-12-01 12:30:20 -06:00
Diego Ramirez
e0f6628ff5 Implement suggestions, and use more Nox sessions in our CI 2021-12-01 12:22:29 -06:00
Chris Pawley
12493bc044
Update vcs-support.md
Updated from #egg based syntax to URL @  syntax found in pip freeze
2021-12-01 18:09:46 +01:00
Diego Ramirez
7e59f57e2a Fix the news entry 2021-11-29 10:24:25 -06:00
Diego Ramirez
093ef1dfdf Resolve all the pre-commit issues 2021-11-29 10:15:07 -06:00
Diego Ramirez
4f6734b49a Add news entry 2021-11-29 09:36:00 -06:00
Diego Ramirez
aee9361f4c Remove the tox config file 2021-11-29 09:29:45 -06:00
Diego Ramirez
7ced6c583b Replace tox with Nox (CLI, docs) 2021-11-29 09:29:14 -06:00
Diego Ramirez
5c916121a9 Simple fixes to the coverage Nox session 2021-11-27 08:53:41 -06:00
Diego Ramirez
7c3fd811a6
Make some fixes to the coverage Nox session
- Simplify it, by replacing a run with a Python if statement.
- Pass an env argument to the coverage call to ensure it will work.
2021-11-27 08:42:03 -06:00
Michał Górny
3d5da04004 Move cryptography-based imports into the fixture
Move the imports that require cryptography into the cert_factory
fixture.  This makes it possible to deselect these tests on systems
where cryptography cannot be installed.
2021-11-27 07:58:42 +01:00
Pradyun Gedam
9cf35b25e2
Merge pull request #10687 from pradyunsg/fix-typo
Fix a typo related to pygments vendoring
2021-11-27 04:30:56 +00:00
Pradyun Gedam
81c783752a
Fix a typo related to pygments vendoring 2021-11-26 15:26:27 +00:00
Pradyun Gedam
a800ae2a7d
Merge pull request #10462 from pradyunsg/rich 2021-11-26 14:20:58 +00:00
Pradyun Gedam
af34083051
Bump to latest rich version
This includes handling of file:// URLs, which is useful for our output.
2021-11-26 11:55:18 +00:00
Pradyun Gedam
f1c36f4eab
Deprecate custom progress bar styles
Maintaining these is not particularly useful, since the progress bar
provided by rich is capable of degrading gracefully to ASCII and
alternative styles provided today aren't particularly usable either.
2021-11-26 11:50:28 +00:00
Pradyun Gedam
a330ea462f
Use the progress bar from rich by default
Utilise rich's progress bar to present download progress. This has a
subjectively nicer presentation style and should degrade gracefully
without additional effort from our end.
2021-11-26 11:50:27 +00:00
Pradyun Gedam
dd59b9e6a0
Add type annotations for progress bar provider 2021-11-26 11:50:27 +00:00
Pradyun Gedam
7510fb04b6
Vendor rich and required dependencies (pygments, typing_extensions)
This will enable building upon these libraries, to improve the
presentation style and output.
2021-11-26 11:50:21 +00:00
Diego Ramirez
097709b967
Add a coverage session to our noxfile
That way, we can move from tox to Nox without problems. See pypa/pip#6721 for details.
2021-11-25 08:54:48 -06:00
Pradyun Gedam
c6037c7bbd
Merge pull request #10684 from daneah/main 2021-11-25 08:05:07 +00:00
Dane Hillard
b36f2863e1 Add trivial change marker 2021-11-24 13:56:17 -05:00
Dane Hillard
cee418172f Fix ill-formatted link to pip-tools
This link seems to have gone through a transform on the way out of
reStructuredText and was rendering as raw markup in the docs seen
[here](https://pip.pypa.io/en/latest/topics/dependency-resolution/#use-constraint-files-or-lockfiles).
2021-11-24 13:52:14 -05:00
Pradyun Gedam
3fd3a976c3
Merge pull request #10673 from ofek/patch-1 2021-11-23 21:20:40 +00:00
Ofek Lev
a10359ad4c
Update .mailmap 2021-11-22 02:42:00 -05:00
Ofek Lev
fba6b258a3
Fix renamed author 2021-11-22 02:17:43 -05:00
Tzu-ping Chung
e0c7f24ee4
Merge pull request #10511 from uranusjr/metadata-uninstall 2021-11-22 09:54:15 +08:00
Tzu-ping Chung
f9250d29c9 Fix typing for uninstallation test 2021-11-21 23:43:49 +08:00
Pradyun Gedam
95a160592e
Merge pull request #10654 from hroncok/allow-to-force-distutils 2021-11-20 16:37:26 +00:00
Miro Hrončok
85db5496b6 Allow to decide whether to use distutils or sysconfig with sysconfig._PIP_USE_SYSCONFIG
Fixes https://github.com/pypa/pip/issues/10647
2021-11-20 17:01:19 +01:00
Maurits van Rees
ba979fd4b1
Simplify graph in get_topological_weights. (#10574)
Fixes https://github.com/pypa/pip/issues/10557 where the resolver spends too much time calculating the weights.

Also, do not let `get_installation_order` calculate these weights at all when there is nothing left to install.

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-11-20 13:29:50 +00:00
Tzu-ping Chung
39bcfce66d Pass arguments to closure instead of late binding 2021-11-20 19:59:57 +08:00
Pradyun Gedam
4cdb516a45
Merge pull request #10464 from jdufresne/typing-functional
Complete type annotations of tests/functional/ directory
2021-11-19 09:36:22 +00:00
Jon Dufresne
c71cf88049 Complete type annotations of tests/functional/ directory 2021-11-18 18:26:17 -08:00
Tzu-ping Chung
35ec4375df Fix editable-or-not egg-info uninstallation 2021-11-18 17:58:13 +08:00
Tzu-ping Chung
e0f41aeade Fix egg uninstallation 2021-11-18 17:58:13 +08:00
Tzu-ping Chung
e1680b20fd Fix distutils uninstallation error 2021-11-18 17:58:12 +08:00