Closed pre-commit-ci[bot] closed 6 months ago
Pushed a commit so that when python tests/test_outdated.py
is run, it automatically updates the YAML file. It's only a few lines of regex and saves me from having to manually update them. Now locally I can just python tests/test_outdated.py
, then do git diff
to make sure it looks okay, then commit and push!
I then also added a joblib cache of the JSON fetches because iteratively testing test_outdated.py
was a very slow painful process without it. Cache invalidates after 60 minutes and can easily be removed if needed.
Ooooh I could add it as an autofix.ci
actually. Then the PR could update itself. I might revert my changes to recipe.yml
and see if it works...
looks like it worked!
@hoechenberger feel free to merge if you're happy, this should reduce maintenance burden with updating outdated packages!
updates: