Commit Graph

11020 Commits

Author SHA1 Message Date
Pradyun Gedam 84382715f0
Merge pull request #9096 from uranusjr/new-resolver-constrainting-extraed
Constrainting an extra-ed dependency
2020-11-23 10:57:39 +00:00
Tzu-ping Chung c3670b36cb 2020 resolver can constrain path/URL to versions 2020-11-23 11:51:14 +08:00
Pradyun Gedam aa847eaa8a
Merge pull request #9123 from sbidoul/pip-wheel-editable-fix-sbi 2020-11-22 21:32:44 +00:00
Stéphane Bidoul a24d198c15
Do not download editables while preparing requirements
Downloading is done at the end of the download command
just like any other requirement. This is necessary to avoid
archiving editable requirements to a zip file when running
pip wheel.
2020-11-22 21:14:09 +01:00
Pradyun Gedam a19f1303fb
Merge pull request #9156 from jdufresne/resource-warning
Always close stderr after subprocess completion in call_subprocess()
2020-11-21 16:18:14 +00:00
Jon Dufresne 8662248774 Always close stderr after subprocess completion in call_subprocess()
When running Python with warnings enabled, fixes warnings of the form:

    .../site-packages/pip/_internal/vcs/versioncontrol.py:773: ResourceWarning: unclosed file <_io.BufferedReader name=12>
      return call_subprocess(cmd, cwd,
2020-11-21 07:35:11 -08:00
Tzu-ping Chung 9efafb186f Implement __str__ for debuggability 2020-11-21 22:14:24 +08:00
Tzu-ping Chung 0f6750c98c Modify old tests to accomodate restriction removal 2020-11-21 22:14:24 +08:00
Tzu-ping Chung d589795834 Allow constraining an explicit requirement 2020-11-21 22:14:24 +08:00
Tzu-ping Chung 9b3cd280fd Add failing test 2020-11-21 22:14:24 +08:00
Pradyun Gedam 396afb118e
Merge pull request #9148 from pradyunsg/vendoring/nov-2020 2020-11-20 13:21:43 +00:00
Pradyun Gedam 72f3d7b068
Merge pull request #9151 from pradyunsg/provide-packagename-in-backtracking-messaging
Include package name in backtracking messaging
2020-11-20 12:25:26 +00:00
Pradyun Gedam 3697f45ee6
Fix the certifi version in vendor.txt
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-20 12:16:24 +00:00
Pradyun Gedam 74b1db4f64
Upgrade toml to 0.10.2 2020-11-19 18:49:54 +00:00
Pradyun Gedam 0f43e77b7f
Include package name in backtracking messaging
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-19 18:38:30 +00:00
Pradyun Gedam 910b304a97
Upgrade resolvelib to 0.5.2 2020-11-19 18:38:04 +00:00
Pradyun Gedam e76b1ddeaa
Upgrade urllib3 to 1.26.2 2020-11-19 18:38:04 +00:00
Pradyun Gedam b08c4d5f3f
Upgrade certifi to 2020.11.8 2020-11-19 18:38:04 +00:00
Pradyun Gedam 1604ac4737
Upgrade requests to 2.25.0 2020-11-19 18:38:04 +00:00
Pradyun Gedam 1c6a119529
Upgrade pep517 to 0.9.1 2020-11-19 18:38:04 +00:00
Pradyun Gedam ca6095bfb3
Upgrade colorama to 0.4.4 2020-11-19 18:38:04 +00:00
Pradyun Gedam 7c3028fa4d
Add automation for upgrading dependencies
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-19 18:38:03 +00:00
Pradyun Gedam c41bbe5248
Merge pull request #9150 from di/dont-notify-irc
Don't notify pypa-dev IRC on build status
2020-11-19 18:29:02 +00:00
Dustin Ingram a3977d1835
Don't notify pypa-dev IRC on build status 2020-11-19 12:25:57 -06:00
Pradyun Gedam 0006f12926
Merge pull request #9149 from pradyunsg/ci/fix-github-action
Use the new environment files in GitHub Actions
2020-11-19 17:51:05 +00:00
Pradyun Gedam 962a0169b2
Use the new environment files
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-19 13:36:18 +00:00
Pradyun Gedam 15871707f6
Merge pull request #9124 from pradyunsg/nicer-error-message-wording
Update message displayed on conflicts post-resolution
2020-11-19 10:15:06 +00:00
Pradyun Gedam 5eae3c9235
Merge pull request #9040 from ei8fdb/include-backtracking-in-user-guide 2020-11-15 00:28:03 +05:30
Pradyun Gedam c09549caff
Merge pull request #9101 from uranusjr/new-resolver-error-message-dedup
Use set to dedup package list in error message
2020-11-14 23:56:55 +05:30
Pradyun Gedam 7aef258b28
Merge pull request #9133 from NoahGorny/drop-unstable-feature-flag
cli: Drop --unstable-feature flag
2020-11-14 17:08:25 +05:30
Noah Gorny 62868dca5f news: Add --unstable-feature removal news fragment 2020-11-14 12:08:17 +02:00
Noah Gorny a29dda6d2b cli: Drop --unstable-feature flag 2020-11-14 12:03:53 +02:00
Pradyun Gedam 23324a664f
Merge pull request #9131 from uranusjr/install-method-order 2020-11-14 04:06:17 +05:30
Tzu-ping Chung 657d91f672 Reorder and revise installation docs
An additional section is added to instruct the user to self-check
whether pip is installed before proceeding.

The Linux package manager section is moved to the front to encourage
users to try that first before learning about get-pip.py, which tends to
provide seemingly working but subtly broken results there. A paragraph
is added to the section to instruct users to report issues to package
managers instead.

A new section on enturepip is added as an alternative to get-pip.py,
which is almost guarenteed to be available at this point.
2020-11-14 05:37:03 +08:00
Pradyun Gedam 6c26ea2e23
Merge pull request #9012 from pradyunsg/switch-to-furo 2020-11-14 02:05:36 +05:30
Stéphane Bidoul 11d07016d9
Add failing test for issue 9122 2020-11-12 13:20:45 +01:00
Stéphane Bidoul 9613c887f1
Test download editable 2020-11-12 13:20:44 +01:00
Pradyun Gedam 321163fb98
Fix misplaced blockquotes
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2020-11-12 07:29:19 +05:30
Pradyun Gedam 6962284236
Remove inline table of contents
Furo provides a fully-fleshed-out right sidebar that provides an in-page
table of contents, that's scrollable and does not interrupt content.
2020-11-12 07:29:19 +05:30
Pradyun Gedam f3ee03d6d0
Drop custom styling for admonitions 2020-11-12 07:29:19 +05:30
Pradyun Gedam 19717d1701
Switch documentation theme to Furo 2020-11-12 07:29:19 +05:30
Pradyun Gedam 5bfc0259f9
Clarify which version of pip we're seeing 2020-11-12 07:29:18 +05:30
Pradyun Gedam 7be91574d9
Update message displayed on conflicts post-resolution 2020-11-12 06:53:29 +05:30
Bernard 90925a7157 Fixed linting failures. 🤞 2020-11-11 12:59:37 +01:00
Bernard 8383249442 Incorporating commit: e6acca646abcaaac7515da9b964d5b5291264142 2020-11-11 11:20:29 +01:00
Pradyun Gedam a88c84dfae
Merge pull request #9114 from uranusjr/new-resolver-report-format
Make sure periods are followed by a space
2020-11-10 18:24:04 +05:30
Tzu-ping Chung 5ef05cfb1f Make sure periods are followed by a space
The strings are *delibrately* reformatted so line continuations occur in
the middle of sentences. This helps me ensure all spaces are added
properly.
2020-11-10 14:58:38 +08:00
Pradyun Gedam a4f4bfbf8b
Merge pull request #8551 from sbidoul/rm-comes-from
Remove unused comes_from argument of parse_requirements
2020-11-09 03:55:47 +05:30
Pradyun Gedam ee7c56e031
Merge pull request #9100 from uranusjr/new-resolver-deterministic-ordering
Tie-break requirements with package name
2020-11-09 03:52:39 +05:30
Stéphane Bidoul 3defc24e31
Removed unused comes_from argument of parse_requirements 2020-11-08 19:07:28 +01:00