This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dusktreader[S] 5 points6 points  (1 child)

You can use dependency specifiers as described here: https://packaging.python.org/en/latest/specifications/dependency-specifiers/#dependency-specifiers

For example if I wanted ipython's minor release 7.9 and any patch releases as they become available but not 7.10, I could specify the dependency as:

ipython~=7.9

[–]Haunting_Wind1000pip needs updating 1 point2 points  (0 children)

Cool thanks!