Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not force pre-release versions of resolwe #1406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

acopar
Copy link
Contributor

@acopar acopar commented Dec 13, 2024

Prevents installing prereleases when no --pre flag is given to pip install. Pull request changes this behavior:

$ cat requirements-pre.txt 
resolwe>=42.0a1, ==42.*
$ pip install -r requirements-pre.txt
$ pip freeze | grep -i resolwe                                                                                                                                                                        
resolwe==42.1.0a3

to this behavior:

$ cat requirements-stable.txt                                                                                                                                                                                                 
resolwe==42.*
$ pip install -r requirements-stable.txt
$ pip freeze | grep -i resolwe                                                                                                                                                                       
resolwe==42.0.2
$ pip uninstall resolwe

$ pip install --pre -r requirements-stable.txt
$ pip freeze | grep -i resolwe                                                                                                                                                                        
resolwe==42.1.0a3

Tested with Python3.11 and Pip 24.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant