Specify a value greater than or equal to the Git tag in the requirements file. Txt

In my .txt requirements file, I would like to indicate that I need more or equal to a specific version of the Python dependency. I could do this if I wanted to install the Python dependency package from PyPI:

ExamplePackage>=0.2 

But what if I want to specify the GitHub url to install? I know you can specify the exact tag:

 -e git://github.com/my-username/ ExamplePackage.git@v0.2 

But can I specify a> = instead?

+6
source share
1 answer

Impossible, unfortunately.

See the list of supported git specifications in the white paper , none of which allow> =

It seems like this would be useful functionality for someone, but

+1
source

Source: https://habr.com/ru/post/988590/


All Articles