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

Improve handling of conditional requirements to match Galaxy #35

Merged
merged 3 commits into from Feb 24, 2023

Conversation

nuwang
Copy link
Member

@nuwang nuwang commented Feb 24, 2023

This PR enables k8s specific requirements to be handled in a more robust way, respecting any constraints specified in Galaxy's conditional requirements file.

@nuwang nuwang marked this pull request as ready for review February 24, 2023 16:02
@nuwang
Copy link
Member Author

nuwang commented Feb 24, 2023

After setting galaxy_manage_gravity to False the container builds correctly, and can be started up and serves Galaxy as expected. So this PR looks good to go!

@nuwang
Copy link
Member Author

nuwang commented Feb 24, 2023

And this is what the k8s-requirements.txt file looks like:

galaxy@d44d9b401c46:/galaxy/server/lib/galaxy/dependencies$ cat k8s-requirements.txt
-r pinned-requirements.txt
psycopg2-binary==2.9.5
pykube==0.15.0
total-perspective-vortex<3

@afgane
Copy link
Contributor

afgane commented Feb 24, 2023

When I was looking to resume image builds a couple of weeks ago, I had to disable systemd handler as well: b7751ff#diff-6377f8a1937054624eac73b02854e7f99081cb731582fcecd1b435c5ded73120R18

Is the Galaxy role working without it now?

Also, this will work for 23.0 and TPV <3. What about 22.05?

@nuwang
Copy link
Member Author

nuwang commented Feb 24, 2023

On 22.05, it will pickup total-perspective-vortex<2 from the requirements, so all should be well.

It didn't complain about systemd, started up and served the web ui.

@afgane afgane merged commit 40077fc into master Feb 24, 2023
@afgane afgane deleted the better_handling_of_conditional_deps branch February 24, 2023 20:35
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.

None yet

2 participants