Why do I get an error when trying to download PyPI packages after I upgraded my PIP client?

ARTIFACTORY: pip install doesn't work with pip 22.x

AuthorFullName__c
Ariel Kabov
articleNumber
000005206
ft:sourceType
Salesforce
FirstPublishedDate
2022-01-30T17:01:56Z
lastModifiedDate
2024-03-10T07:43:56Z
VersionNumber
9

The Pip client 22.0 was released on January 29th, 2022. This version changed the package used for HTTP parsing. As a result, this change generated errors when installing pip packages from private registries, including JFrog Artifactory.

We (JFrog) are aware of this issue and are already working on releasing a fix.

Update: Pip released version 22.0.2 with an automatic fallback to use html5lib in case the above error is encountered. While this resolves the pip install errors, it still first tries to use http.parser which fails, meaning there are unnecessary extra requests to your Artifactory instance. 

Future versions of Artifactory will contain a solution from our end to support the http.parser, you can follow the progress here.