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

Add script to sync the Binder environment package versions with the requirements.txt files' #228

Open
jhlegarreta opened this issue Jun 21, 2023 · 2 comments
Labels
good first issue Good issue for first-time contributors type:template and tools Issue about template and tools

Comments

@jhlegarreta
Copy link
Contributor

Add a script that keeps the package versions in the requirements.txt file and the Binder instance in its environment.yml file in sync.

It could be a Python script that reads the versions of each package in the requirements.txt file and uses a regex to bump the ones in the binder environtment.yml file.

Related to issue #226.

@jhlegarreta jhlegarreta added good first issue Good issue for first-time contributors type:template and tools Issue about template and tools labels Jun 21, 2023
@jhlegarreta
Copy link
Contributor Author

jhlegarreta commented Jun 21, 2023

May not be necessary:
https://mybinder.readthedocs.io/en/latest/using/config_files.html#requirements-txt-install-a-python-environment

We may get away with it copying the top-level requirements.txt file, or making Binder use the top-level one if possible.

@jhlegarreta
Copy link
Contributor Author

On a slightly related note, testing that Binder is correctly launched can also be relevant:
https://discourse.jupyter.org/t/how-to-build-mybinder-image-automatically-at-each-commit/5381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issue for first-time contributors type:template and tools Issue about template and tools
Projects
None yet
Development

No branches or pull requests

1 participant