earthlab / abc-classroom

Tools to automate github classroom and autograding workflows
https://abc-classroom.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
29 stars 21 forks source link

What dependencies does abc-classroom need #415

Closed lwasser closed 2 years ago

lwasser commented 3 years ago

Currently our dependencies reflect an older version of abc-classroom where we w ere building notebooks via circle ci using papermill. The dependencies including:

The docs are failing (see #414 ) now because of the version of jinja installed and i think it's a good time to revisit what dependencies we actually do use in abc-classroom and remove unneeded ones to make the package more light weight.

I think it would be best to clean notebooks using nbconvert as i'm not sure if nbclean is actually supported anymore.

Chris hasn't worked on it since 2018. the one thing nbclean does is allow you to scrub PARTS of a cell. so i t was developed to implement the nbgrader functionality that strips hidden tests from the notebook. i believe nbconvert will force us to remove entire cells. With that said, i don't think that is a terrible thing to do just that - tell the user if they want to remove tests they will tag the cell and it will be stripped when feedback is created. you could then have hidden tests in cells and visible tests in other cells if you wanted to keep both in the notebook.

here is the code for removing cells - https://github.com/jupyter/nbconvert/issues/1194 it looks like the docs didn't update when the pr was merged to update the code. i think i know why...

lwasser commented 2 years ago

I think we can close this easily with a few fixes but i want input from the group

we should also remove this folder as it's 3 years old and no longer relevant. i think this was an old notebook where we were trying to create a demo for autograding