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

Consider whether Poetry is the best choice #112

Open
jack89roberts opened this issue Feb 2, 2022 · 3 comments
Open

Consider whether Poetry is the best choice #112

jack89roberts opened this issue Feb 2, 2022 · 3 comments
Labels
Infrastructure Maintaining dependencies, builds etc.

Comments

@jack89roberts
Copy link
Contributor

jack89roberts commented Feb 2, 2022

Feel it complicated setup for students (and I don't think debugging Poetry setup issues is relevant for the message of this course) and also doesn't play nicely with Binder/Thebe (#87 ). Maybe just a requirements.txt with links/instructions for various virtual env options would be better. We actually already have dependencies in both Poetry and requirements.txt to try and (half-successfully) workaround the Binder/Thebe issue.

@AoifeHughes
Copy link
Contributor

Would a conda enviornment yml file be easier? One of the easiest ways to install python at all is via anaconda + things like graphviz require additional binaries to run. They could be included in the conda setup file whereas requirements.txt can't really do this?

@jack89roberts
Copy link
Contributor Author

I'd support that, but I'd lean towards installing as much as possible with pip/requirements.txt to be flexible for anyone that doesn't want to use conda (you can have an environment.yml file with a pip section).

@jack89roberts jack89roberts added the Infrastructure Maintaining dependencies, builds etc. label Feb 23, 2023
@jack89roberts
Copy link
Contributor Author

The RSE course now has a setup using poetry to keep dependencies up to date but creating a requirements.txt for participants to use (setup by James R I think) - maybe this course should do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Maintaining dependencies, builds etc.
Projects
None yet
Development

No branches or pull requests

2 participants