WarwickCIM / IM939_handbook

Data Science Across Disciplines' handbook
https://warwickcim.github.io/IM939_handbook/
0 stars 0 forks source link

Update dependencies for the academic year 2024-25 #9

Open ccamara opened 2 weeks ago

ccamara commented 2 weeks ago

From https://github.com/WarwickCIM/IM939_handbook/blob/main/README_setup.md:

This project, uses a conda environment called IM939, which will install all the packages and versions (as well as their dependencies) as defined in the file environment.yml at the root of this project.

Task

environment.yml contains the dependencies used for this project. Its current content reflects the working versions at September 2023, and therefore, they will need to be updated to newer versions.

To do so, you will need to:

References:

ccamara commented 1 week ago

Hi @eshasadia , thanks for updating the dependencies file. Could you please check that the code in every notebook does not trigger any warnings or errors due to deprecated code/syntax? I'm quite confident that some libraries have changed some parameters and may now yield deprecation notices or even errors. We should be able to detect them before students find out during teaching.

If you tried to regenerate the handbook using quarto render after recreating the environment, you may want to know that the code cells of previously ran notebooks (actually, every notebook) would have not been run because they were already rendered, and their status was frozen to avoid having to be recreated every time. (see https://quarto.org/docs/projects/code-execution.html). To make sure that the code cells are actually run, you will need to run quarto render --cache-refresh as described https://github.com/WarwickCIM/IM939_handbook/blob/main/README_setup.md#recreating-the-handbook.

Also, do not forget to deploy the handbook after making sure that it works locally.

I'm reopening this issue until you make sure there are no warnings/errors. Let me know if you need further assistance.