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

Update Binder environment to use latest Mesa version (#2652) #2655

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aarav-shukla07
Copy link

Summary

The Binder environment for Mesa tutorials is currently broken because it uses an outdated version of Mesa (3.0.0b1). This causes errors when running the tutorials, preventing users from testing Mesa examples on Binder. The issue impacts new contributors and learners who rely on Binder to explore Mesa without setting up a local environment.

Bug / Issue

  • what is the bug:
    The Binder environment for Mesa tutorials is failing because it uses an outdated version of Mesa (3.0.0b1). This
    causes errors when running the tutorials.
  • why does it happen:
    The environment.yml file in the binder directory specifies an old version of Mesa (3.0.0b1), which is no longer
    compatible with the latest dependencies or tutorial code.
  • Impact of the bug:
    - Users cannot test Mesa tutorials on Binder, which limits accessibility and usability for new contributors and learners.
    - The broken environment prevents users from exploring Mesa’s features and examples without setting up a local development environment.

Implementation

  • Updated the environment.yml file to use the latest version of Mesa.

  • Simplified the dependencies to reduce build time and avoid potential conflicts.

  • Verified that the Binder environment now works by testing the tutorials locally and on Binder.

Testing

Steps via which testing can be done :

  • Go to https://mybinder.org/.

  • Enter the URL of the Mesa repository and click Launch.

  • Once the environment is built, navigate to the examples directory.

  • Open and run the introtutorial.ipynb tutorial.

  • Confirm that the tutorials run without errors and produce the expected output.

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