MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia
https://astroautomata.com/PySR
Apache License 2.0
2.32k stars 211 forks source link

Refactor update_backend.yml workflow #562

Closed sefffal closed 6 months ago

sefffal commented 6 months ago

@MilesCranmer This PR includes my fixes to this workflow. It should, when run, detect a new backend version, bump the python patch number, and open a PR.

Note that you may need to run modify some repository settings to allow additional action permissions.

sefffal commented 6 months ago

The key changes here are that the version numbers need to be modified in pyproject.toml and in pysr/juliapkg.json. Previously the workflow was trying to change things in setup.py, which is overwritten (and is in gitignore, so never gets picked up by the pull request step).