Closed nikhilwoodruff closed 1 month ago
Here's the problem: The script to generate the changelog consumes the changelog_entry.yaml file, such that on subsequent action runs, it's missing and no longer possible to generate the log. This is because, unlike setup.py
, pyproject.toml
provides no method of quickly and easily pulling the version number. We'll have to determine a way to easily pull the version without installing the package and/or installing a TOML parser.
Would it help to go back to setup.py for the time being?
Nikhil implemented a workaround for the time being. I think the best thing would be to see if there is a way we can get versioning working, since:
pyproject.toml
in the future, anyway, as setup.py
has become increasingly deprecated. Starting with pip v25, we won't even be able to install editable without extra configuration, if I'm reading the deprecation warnings correctlycore
to shift to pyproject.toml
pyproject.toml
, and I think it'd be a shame to throw out the other 90%That said, I don't think we should move anything else over until this is fixed
Well why don't we just force users to run make changelog
in PRs themselves in the time being- seems OK to me.
Doesn't seem like there's an obvious solution, but after adding the versioning commit, the check version action fails every time, meaning we can't get all-tick PRs.