Status Update
Comments
br...@calicolabs.com <br...@calicolabs.com> #2
Hi, could you please share screen shots of the UI you refer? Currently in the Cloud Source Repositories UI, in the top you will find:
YourRepository > Branch > file
You have a drop down in Repository and in Branch to change anytime.
br...@calicolabs.com <br...@calicolabs.com> #3
to...@google.com <to...@google.com> #4
Hi, this feature request has been forwarded to the Source Repository product management team so that they may evaluate it. There is no timeline or implementation guarantee for feature requests. All communication regarding this feature request is to be done here.
br...@calicolabs.com <br...@calicolabs.com> #5
Using master in now discourage by a Google guideline:
But not being able to switch away from master
if one wants to properly use Cloud Source Repositories is working against this policy to strictly avoid it.
Description
Summary
Currently, a Python Artifact Registry remote repository with PyPi as the configured upstream will always pull the latest package that satisfies a pip install requirement . It does not take into account a client's python version which may not be compatible with the latest version of a package.
Ask
Python Artifact Registry remote repositories with PyPi as the configured upstream should support either or provided by the Simple Repository API, so that the latest package version supported by a given client's python version is installed (instead of always the latest that satisfies a pip install requirement )
data-requires-python
requires-python
Workaround
Clients can pin python library versions that they install on older versions of python. Alternatively, using a newer python version may avoid package incompatibility issues depending on the package being installed.