Read version from pyproject.toml - #104
Conversation
stevepiercy
left a comment
There was a problem hiding this comment.
Thanks for this PR! Sorry for the long delay to respond.
The concept is nice, and I have a few suggestions. Would you please take care? Thank you!
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
Co-authored-by: Steve Piercy <web@stevepiercy.com>
|
Good suggestions, i applied all of them. it might be necessary to specify tomli as a dependency in |
Yes, almost. It should go in the Also would you please add a change log entry in Thank you! |
Documentation build overview
|
|
Thank you for the review! It should be ready to merge now. |
stevepiercy
left a comment
There was a problem hiding this comment.
Thank you for your contribution. I'll tweak the change log entry, then merge.
|
Whoops, spoke too soon. When adding or updating a dependency, you need to run |
|
I pushed the updated uv.lock after running the make livehtml. |
|
Thank you @0jc1! Let's see if it shows up in the next release. |
This addresses #103
The function
get_version_from_toml()only works for 3.10+. Prior versions do not have a built-in toml reader.