-
Notifications
You must be signed in to change notification settings - Fork 74
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
pip installs failing, starting release_19.05 #100
Comments
So python 2 is officially not supported anymore (https://pythonclock.org/), and I guess some dependency brings in a setuptools version that doesn't pin python 2. Do you have some logs for this ? |
No log, but indeed pip install of requirements.txt with this role ends up with setuptools==45.0.0, whereas I see that local deployment of a git cloned galaxy (release_19.09) ends up with setuptools==44.0.0 Moreover, I just fixed this role install by manually forcing the install of setuptools==44.0.0 Is it acceptable then if we pin the setuptools in this role to 44.0.0 using a specific ansible task as in #99 ?? |
I would only do this if the python version used for Galaxy is 2.7, I'm not sure how the conditional should look like in that case. I'd go ahead with switching to python 3.6 (3.7 can be problematic with uwsgi atm.) though, Galaxy is compatible since 19.01, and I think the last bugs have been ironed out in 19.09 |
Ok @mvdbeek I'll work on the 3.6 python switch in the ansible roles.
In the meantime (my wish is to keep these ansible repos working for everyone), is it an issue to test python with a An alternative would to be to set a setup task to gather facts about remote hosts in the main.yml. |
So the error I am getting on Ubuntu 20.04 for installing python-pip dependency is: Should I just change the dependency to python3-pip instead? And I guess the only reason I would need this is for python support in doing backup and PITR stuff, right? Is there a way to substitute another backup utility like pgbackrest or barman instead of using pg_basebackup? |
I am scratching my head on the following issue:
Starting sunday Jan 12, pip install of requirements.txt is failing for galaxy versions > 19.01 with the pip error
ERROR: Package 'setuptools' requires a different Python: 2.7.12 not in '>=3.5'
. This results in error in this playbook for the indicated versions.My guess from that it is related to upgrades in https://wheels.galaxyproject.org/simple/ or in https://pypi.python.org/simple or to the use of --index-url or --extra-index-url parameters by this role.
Any insights would be appreciated.
The text was updated successfully, but these errors were encountered: