Commit Graph

12925 Commits

Author SHA1 Message Date
Pradyun Gedam 512baaa755
Inline constants that were being imported from `progress`
This decouples this location from the `progress` package, making it
possible to no longer depend on that package within pip.
2022-04-07 09:05:30 +01:00
Pradyun Gedam 728e4fe7c4
Drop alternative progress bar styles
These were deprecated in a previous release, and added complexity
despite being rarely used.
2022-04-07 09:05:00 +01:00
Tzu-ping Chung 0ac0f84614
Merge pull request #10990 from potiuk/fix-root-warning 2022-04-07 16:00:39 +08:00
Russell Keith-Magee d1f3c73697
Normalise paths when comparing egg-link from network drive (#11011)
Co-authored-by: Niko Pasanen <niko@pasanen.me>
2022-04-07 08:50:03 +01:00
Tzu-ping Chung 182bac15f5
Merge pull request #10774 from gavindsouza/patch-1 2022-04-07 15:42:51 +08:00
Tzu-ping Chung d0051d3266
Merge pull request #11008 from q0w/pre-commit 2022-04-07 02:26:51 +08:00
Henrich Hartzer 2cfe36dc9e Update pre-commit hooks
Co-Authored-By: q0w <43147888+q0w@users.noreply.github.com>
2022-04-04 16:02:02 +03:00
q0w 8f696ee3ec Update black 2022-04-04 15:22:51 +03:00
q0w ee67cf714b Prioritize url credentials over netrc 2022-03-29 20:27:24 +03:00
Pradyun Gedam db7dc75e86
Merge pull request #10993 from q0w/urllib3-patch 2022-03-28 19:13:03 +01:00
q0w e7b644411e Remove brotli import in vendored urllib3 2022-03-28 16:31:54 +03:00
q0w e688984d60
Update news/10950.bugfix.rst
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2022-03-28 12:55:16 +03:00
q0w 6689e531d3 Disable brotli import in urllib3 2022-03-27 16:25:41 +03:00
Pradyun Gedam 50b7d9488e
Reword the changelog entry
Given that this option is on the install/uninstall commands, it is
implied that the warning is presented as part of an
installation/uninstallation.
2022-03-27 09:42:27 +01:00
Jarek Potiuk 62b2264d72 Allow to disable warning for root user package management
Implements the flag that allows to disable the root
warning when using `pip` to install packages. While there are
differing opinions on this, it seems that the final decision is
to lean forward to implement a long and not very easily
discoverable flag to accommodate the minority of users who know
what they are doing and using root installation to - for example
build optimized Dockerfiles.
2022-03-27 09:53:07 +02:00
Pradyun Gedam 7d61883000
Merge pull request #10989 from pradyunsg/requirement-tracker-to-build-tracker 2022-03-26 16:21:16 +00:00
Pradyun Gedam de1c798243
Rename all {req -> build}_tracker arguments/variables 2022-03-26 12:09:32 +00:00
Pradyun Gedam e5542dc024
Move `BuildTracker` to `operations.build.build_tracker` 2022-03-26 12:09:32 +00:00
Pradyun Gedam 62516b8ad3
Rename PIP_{REQ -> BUILD}_TRACKER 2022-03-26 12:09:32 +00:00
Pradyun Gedam cbfcbd2d94
Rename get_{requirement -> build}_tracker 2022-03-26 12:09:32 +00:00
Pradyun Gedam 4bc81e3c24
Rename `RequirementTracker` to `BuildTracker` 2022-03-26 12:09:23 +00:00
Tzu-ping Chung b2b7aefe2f
Merge pull request #10975 from kasium/issue-10972 2022-03-22 14:38:16 +08:00
kasium 25f40d57a3
Update 10972.doc.rst 2022-03-19 18:08:12 +01:00
kasium 3dfefd0568
Update news/10972.doc.rst
Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
2022-03-19 18:07:35 +01:00
Pradyun Gedam 50d6b2b8fe
Merge pull request #10977 from q0w/git-http
Replace git scheme with https
2022-03-19 14:18:41 +00:00
q0w db71def50f replace git scheme with https 2022-03-19 14:17:05 +03:00
Pradyun Gedam 25861e564d
Merge pull request #10560 from pradyunsg/fix-protect-pip-on-windows
Fix the protect-pip-on-windows logic
2022-03-18 12:32:18 +00:00
Kai Mueller dc197d570d Add newsfile 2022-03-18 08:42:08 +00:00
Kai Mueller b6bfa841c7 Reference build interface in wheel command
Closes #10972
2022-03-18 08:39:50 +00:00
Hugo van Kemenade 856a6ba117
Docs: Capitalise Y as the default for Proceed (#10969)
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2022-03-18 05:38:07 +00:00
q0w 0c284520c6
Filter available distributions using hash declarations from constraints files (#10962) 2022-03-16 07:43:06 +00:00
Pradyun Gedam 4912fdfa41
Use f-strings for executable names 2022-03-13 08:07:07 +00:00
Paul Moore b73b128632
Merge pull request #10960 from DiddiLeija/fix-docs-typo
Fix a small typo in the docs
2022-03-11 15:12:07 +00:00
Thiago fffd5ac422
Pass the session's proxies property to request (#10680) 2022-03-11 15:04:21 +00:00
Diego Ramirez 07815fd76a
Fix a small typo in the docs
(a)abort (aabort?) -> (a)bort (abort)
2022-03-11 09:04:12 -06:00
Pradyun Gedam 4306edf4b1
Merge pull request #10957 from pradyunsg/better-caching-docs 2022-03-11 12:21:33 +00:00
Pradyun Gedam 4cf5023e15
Merge pull request #10956 from uranusjr/evaluate-link-error-refactor 2022-03-11 12:20:20 +00:00
Pradyun Gedam 8774f06e8c
Flesh out the cache management section
This provides information on using the `pip cache` command to do things.
2022-03-11 07:54:10 +00:00
Pradyun Gedam 9e1635c9d7
Document the location of pip's cache
This makes it easier for users to discover this information.
2022-03-11 07:52:36 +00:00
Pradyun Gedam 0561ab260f
Merge pull request #10951 from gpchelkin/proxy_scheme2 2022-03-11 07:25:42 +00:00
Tzu-ping Chung d61b539353 More structured link evaluation result
A new enum class is implemented for the link evaluator to use instead
of a simple boolean to better distinguish between various evaluation
errors. This allows the caller to better distinguish error sources with
a structured check instead of fragile error string comparison.
2022-03-10 20:41:26 +08:00
Pradyun Gedam c67931947a
Merge pull request #9708 from ronaudinho/requires-python 2022-03-10 08:28:02 +00:00
Tzu-ping Chung 60fe6c0cb8
Use new-style variable type annotation 2022-03-10 15:44:12 +08:00
Tzu-ping Chung 2e5e9e54bc
Merge branch 'main' into requires-python 2022-03-10 15:41:05 +08:00
Georgy Pchelkin 57b69c642b add news entry 2022-03-09 17:02:39 +03:00
Georgy Pchelkin a7fc70455e --proxy option requires scheme, does not work without it
see also: 2b2ca40ccc
2022-03-09 16:59:22 +03:00
Pradyun Gedam bc45b93eb6
Merge pull request #10944 from pradyunsg/release/22.0.4 2022-03-07 07:45:22 +00:00
Pradyun Gedam 5e984a7f29
Drop the news fragments for bugfix release 2022-03-06 23:53:26 +00:00
Pradyun Gedam c1279395e3
Merge branch 'main' into release/22.0.4 2022-03-06 23:52:11 +00:00
Pradyun Gedam ba25352f9d
Bump for development 2022-03-06 23:51:55 +00:00