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 cicd #20

Merged
merged 5 commits into from
Aug 9, 2024
Merged

Update cicd #20

merged 5 commits into from
Aug 9, 2024

Conversation

lorenzomag
Copy link
Collaborator

With this PR I have updated the CI workflow so that it tests from python3.9 to 3.12 and uses the latest GitHub actions.

The workflow does not invoke setup.py directly anymore as it is now deprecated behaviour.
Also I fixed a bug with nbconvert that requires an older version of the jinja package.

Bump action versions.

Use `pip install -e .` instead of `python setup.py develop` as the latter is now deprecated.

Trying to fix issue with jinja2 being deprecated.
The following error arises while `Test package` executes in the workflow.

The following suggestion was followed: d2l-ai/d2l-book#46 (comment)
Recursively checkout submodules
Add libraries for notebooks
This was referenced Aug 8, 2024
Copy link
Owner

@JelleAalbers JelleAalbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Lorenzo! Do we need to require seaborn to run the notebook tests? I don't see it used currently.

Other than that this is fine to merge.

(We don't use submodules either currently, but I see you're experimenting with this in your other PRs, so this is fine.)

@lorenzomag
Copy link
Collaborator Author

Hi Jelle,

This PR (#17) introduces both submodules and seaborn in the notebooks/Migdal.ipynb notebook.

If you prefer, I can move those specific changes in the other PR. Otherwise, I'll proceed with the merge.

Copy link
Owner

@JelleAalbers JelleAalbers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Yes, next time probably better to add the new test requirement with the feature PR, but fine like this.

@JelleAalbers JelleAalbers merged commit 321d999 into JelleAalbers:master Aug 9, 2024
6 checks passed
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.

2 participants