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

12706 commits

Author SHA1 Message Date
Pradyun Gedam 6c92a33b6e
Place the link as "context" instead of "Link:" 2022-02-02 18:05:34 +00:00
Pradyun Gedam 7a3b0f1ae1
📰 2022-02-02 17:57:39 +00:00
Pradyun Gedam 4f0ce011fe
Switch to using html.parser even when the doctype isn't proper
This ensures that we handle html5lib parsing as non-default deprecated
behaviour.
2022-02-01 17:58:34 +00:00
Pradyun Gedam ea03179250
Warn on bad/missing doctype declarations instead of erroring out
This is a less disruptive mode of operation, and helps ensure that users
who are using documents that don't declare the doctype are presented
with a warning; instead of getting a hard-failure.
2022-02-01 17:58:31 +00:00
Pradyun Gedam 4a508c268e
Merge pull request #10866 from pradyunsg/setuptools-ci-hotfix 2022-02-01 09:35:48 +00:00
Pradyun Gedam ef7e0c34de
Avoid setuptools 60.6.0
It has a bug that breaks our test suite, and the relevant bug is being
investigated at the moment.
2022-02-01 09:04:00 +00:00
Pradyun Gedam 193259d3dc
Merge pull request #9674 from mobolic/document-that-overrides-disable-all-wheels 2022-01-31 07:50:35 +00:00
Pradyun Gedam 7b6c5c9e7c
Merge pull request #10854 from aphedges/fix-changelog-rst 2022-01-30 23:10:45 +00:00
Alex Hedges 85934ea332
Fix RST formatting for 22.0.1 changelog 2022-01-30 17:54:04 -05:00
Pradyun Gedam 347d19063f
Merge pull request #10852 from pradyunsg/release/22.0.2 2022-01-30 22:46:26 +00:00
Pradyun Gedam aca62e2603
Bump for development 2022-01-30 22:29:46 +00:00
Pradyun Gedam c721f03190
Bump for release 2022-01-30 22:29:45 +00:00
Pradyun Gedam 844b799c9c
Merge pull request #10847 from pradyunsg/better-html5lib-fallback 2022-01-30 22:27:07 +00:00
Pradyun Gedam a78845ab33
Pacify functional tests that don't start with <!doctype html> 2022-01-30 21:57:22 +00:00
Pradyun Gedam c3a42f0679
📰 2022-01-30 21:27:21 +00:00
Pradyun Gedam c01b0b2729
Gracefully fallback to html5lib for parsing non-compliant index pages
This reworks the HTML parsing logic, to gracefully use `html5lib` on
non-compliant HTML 5 documents. This warning softens the failure mode
for users who are using commercial package index solutions that do not
follow the requisite standards and serve malformed HTML documents.
2022-01-30 21:21:11 +00:00
Pradyun Gedam cc35c930b2
Merge pull request #10850 from pradyunsg/release/22.0.1 2022-01-30 19:43:06 +00:00
Pradyun Gedam 1b6ef5d0b3
Bump for development 2022-01-30 19:32:12 +00:00
Pradyun Gedam c73ac8d6bc
Bump for release 2022-01-30 19:32:12 +00:00
Pradyun Gedam 9a9c1def6e
Merge pull request #10846 from pradyunsg/fix-html5lib-fallback 2022-01-30 18:22:14 +00:00
Pradyun Gedam 80609e8c20
Properly yield results from html5lib parsing
The earlier variant _returned_ an iterable object from a generator. This
did not properly handle the fallback, resulting in the html5lib code
path not being executed.
2022-01-30 16:54:45 +00:00
Pradyun Gedam 9dec8a5e59
Merge pull request #10844 from pradyunsg/accept-lowercase-doctype 2022-01-30 16:53:55 +00:00
Pradyun Gedam d028ae5586
📰 2022-01-30 16:16:01 +00:00
Pradyun Gedam f13104abb2
Accept lowercase doctype declarations 2022-01-30 13:11:13 +00:00
Pradyun Gedam 6cc96c28cc
Merge pull request #10841 from pradyunsg/release/22.0 2022-01-30 12:31:44 +00:00
Pradyun Gedam 0a916125ef
Bump for development 2022-01-29 09:34:40 +00:00
Pradyun Gedam 1742af7bdc
Bump for release 2022-01-29 09:34:40 +00:00
Pradyun Gedam 5e75e2f90b
Update AUTHORS.txt 2022-01-29 09:34:39 +00:00
Pradyun Gedam 8d084a739d
Touch up news fragments for 22.0 2022-01-29 09:34:28 +00:00
Pradyun Gedam 8b36ba5d94
Fix typo
explicit{ely -> ly}
2022-01-29 09:11:51 +00:00
Pradyun Gedam b3a156892b
Trim unnecessary newlines in news template 2022-01-29 09:10:54 +00:00
Pradyun Gedam 448f8b7471
Merge pull request #10840 from uranusjr/disable-location-warning 2022-01-29 09:02:08 +00:00
Tzu-ping Chung 698ccec1da Disable location warning for Python < 3.10 2022-01-29 15:42:31 +08:00
Pradyun Gedam 649048b56a
Merge pull request #10291 from jdufresne/html5lib 2022-01-28 11:16:19 +00:00
Jon Dufresne 20fe83fe95
Point users to https://github.com/pypa/pip/issues/10825 2022-01-28 06:46:36 +00:00
Jon Dufresne bf5f4008e7
Replace vendored html5lib with stdlib
The html5lib library isn't strictly required as the same functionality
can be achieved through the stdlib html.parser module.

The html5lib is one of the largest uses of the six library. By dropping
this unnecessary dependency, the pip project is closer to dropping the
six library.

Additionally, html5lib maintenance has slowed down and the project has
rejected pull requests to drop Python 2 support.

For now, the html5lib code remains, but is gated behind a command
line option: `--use-deprecated=html5lib`. After a sufficient amount of
time has passed without any reported bugs, the vendored library and this
flag can be removed completely.
2022-01-28 06:45:57 +00:00
Pradyun Gedam 98b102271c
Merge pull request #10722 from pradyunsg/stop-backtracking-on-build-failures 2022-01-27 20:54:44 +00:00
Pradyun Gedam fdba4c2221
Merge pull request #10830 from DiddiLeija/nox-force-color 2022-01-27 20:42:54 +00:00
Pradyun Gedam 9d0db8839f
Add --use-deprecated=backtrack-on-build-failures
This serves as an opt-out from build failures causing the entire
installation to abort.
2022-01-27 18:11:05 +00:00
Pradyun Gedam ca78aba456
Test that the resolver skips packages, as instructed by constraints 2022-01-27 18:11:05 +00:00
Pradyun Gedam 8eeee22304
Abort immediately on metadata generation failure instead of backtracking
This behaviour is more forgiving when a source distribution cannot be
installed (eg: due to missing build dependencies or platform
incompatibility) and favours early eager failures instead of trying to
ensure that a package is installed regardless of the amount of effort it
takes.
2022-01-27 18:11:02 +00:00
Pradyun Gedam 1cda23bd6b
Merge pull request #10795 from pradyunsg/better-subprocess-errors 2022-01-27 07:09:18 +00:00
Pradyun Gedam dec279ecdf
Merge pull request #10815 from pradyunsg/vendoring-upgrade 2022-01-27 07:05:24 +00:00
Taneli Hukkinen bbcbfc655e
Avoid deprecation warning from Tomli (#10238) 2022-01-26 21:12:51 +00:00
Diego Ramirez 9436e16cf3
Pass FORCE_COLOR=1 to the CI, to colorize Nox
This is just a preference, I'm approaching a new Nox ability.
2022-01-25 14:03:15 -06:00
Andy Freeland e752b1a26b
Include files/folders in pip install autocomplete (#10682) 2022-01-25 18:27:09 +00:00
Pradyun Gedam ab2ee1a9f4
Tweak certifi version 2022-01-25 09:40:58 +00:00
James Gerity 5c24a798b8
Change VCS tooling verbosity along with pip's verbosity (#9639)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2022-01-25 08:54:02 +00:00
Pradyun Gedam aba689c47f
Update vendor news fragments for rich/pygments/typing_extensions
These are newly vendored and this "upgrade" is the wrong verb to use.
2022-01-25 08:51:14 +00:00
Pradyun Gedam 658559afaf
Upgrade typing_extensions to 4.0.1 2022-01-25 08:51:14 +00:00