Add functionality for querying PyPI for packages.

Review Request #13466 — Created Dec. 27, 2023 and submitted

Information

rbinstall
master

Reviewers

This introduces rbinstall.pypi, which uses the PyPI JSON API to look
up information on packages and determine which are available for install
on the target version of Python, based on any requested package
versions.

This will be used to notify users in the installer as to which version
of Python their system is compatible with, and whether that's the latest
version released.

Unit tests pass.

Tested this with the rest of the installer code.

Summary ID
Add functionality for querying PyPI for packages.
This introduces `rbinstall.pypi`, which uses the PyPI JSON API to look up information on packages and determine which are available for install on the target version of Python, based on any requested package versions. This will be used to notify users in the installer as to which version of Python their system is compatible with, and whether that's the latest version released.
88d56a34de0d21a19163bac4c9a8c6b57a16aca8
Description From Last Updated

This break is unreachable and unnecessary.

daviddavid
chipx86
david
  1. 
      
  2. rbinstall/pypi.py (Diff revision 2)
     
     
    Show all issues

    This break is unreachable and unnecessary.

  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (d39f556)