Skip to content

Conversation

@tkkuehn
Copy link
Contributor

@tkkuehn tkkuehn commented Oct 6, 2023

This PR is the result of me attempting to modernize the CONP Portal's python dependencies and make sure they're all mutually compatible. I'd hoped to verify that everything works with this on portal-dev, but I'm not optimistic that boutiques/boutiques#656 will be merged by the end of the day today, so I wanted to put this PR out there.

The approach I took here was to adopt Poetry as the dependency manager for this project. The feature I particularly wanted was Poetry's ability to take a list of requirements (including Python version) and produce a "lock file" with mutually compatible versions of those requirements -- this made reconciling the dependencies a lot more manageable. Some old dependencies are no longer maintained, so I had to make some minor changes to the code to accommodate a replacement.

Note: you can still install the dependencies from a clone of this repository with pip install -e ., which is what I've done on portal-dev for now.

I hope managing the Poetry stuff won't be much more of a burden than the requirements.txt and will make it easier to tell if there are any issues with the dependencies.

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