- Notifications
You must be signed in to change notification settings - Fork 225
Closed
Description
We are hitting this error when trying to install any package using pip shipped with Jython:
~/robotframework$ jython/bin/jython -m pip -vvv install docutils DEPRECATION: A future version of pip will drop support for Python 2.7. Created temporary directory: /tmp/pip-ephem-wheel-cache-zG0Xvb Created temporary directory: /tmp/pip-req-tracker-8ZbSlA Created requirements tracker '/tmp/pip-req-tracker-8ZbSlA' Created temporary directory: /tmp/pip-install-LirEp0 Collecting docutils 1 location(s) to search for versions of docutils: * https://pypi.org/simple/docutils/ Getting page https://pypi.org/simple/docutils/ Looking up "https://pypi.org/simple/docutils/" in the cache Request header has "max_age" as 0, cache bypassed Starting new HTTPS connection (1): pypi.org:443 https://pypi.org:443 "GET /simple/docutils/ HTTP/1.1" 403 296 Status code 403 not in (200, 203, 300, 301) Could not fetch URL https://pypi.org/simple/docutils/: 403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]] for url: https://pypi.org/simple/docutils/ - skipping ERROR: Could not find a version that satisfies the requirement docutils (from versions: none) Cleaning up... Removed build tracker '/tmp/pip-req-tracker-8ZbSlA' ERROR: No matching distribution found for docutils Exception information: Traceback (most recent call last): File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/cli/base_command.py", line 178, in main status = self.run(options, args) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/commands/install.py", line 352, in run resolver.resolve(requirement_set) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/commands/install.py", line 352, in run resolver.resolve(requirement_set) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/resolve.py", line 130, in resolve discovered_reqs.extend( File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/resolve.py", line 130, in resolve discovered_reqs.extend( File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/resolve.py", line 294, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/resolve.py", line 240, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement( File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/operations/prepare.py", line 288, in prepare_linked_requirement req.populate_link(finder, upgrade_allowed, require_hashes) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/req/req_install.py", line 198, in populate_link self.link = finder.find_requirement(self, upgrade) File "/home/tysonite/robotframework/jython/Lib/site-packages/pip/_internal/index.py", line 790, in find_requirement raise DistributionNotFound( DistributionNotFound: No matching distribution found for docutils 1 location(s) to search for versions of pip: * https://pypi.org/simple/pip/ Getting page https://pypi.org/simple/pip/ Looking up "https://pypi.org/simple/pip/" in the cache Request header has "max_age" as 0, cache bypassed Starting new HTTPS connection (1): pypi.org:443 https://pypi.org:443 "GET /simple/pip/ HTTP/1.1" 403 296 Status code 403 not in (200, 203, 300, 301) Could not fetch URL https://pypi.org/simple/pip/: 403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]] for url: https://pypi.org/simple/pip/ - skipping Is there any way to bypass that?
Java is:
$ java -version openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~18.04-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode) Jython is:
$ jython/bin/jython -V Jython 2.7.2 Metadata
Metadata
Assignees
Labels
No labels