Migration from flit #464
-
pypa/flit#590 points me here. ValueError: Missing `tool.hatch.version` configuration I'd love to get a pointer to the mandatory fields needed. What makes a pyproject.toml work for hatch? https://stackoverflow.com/questions/tagged/hatch doesn't seem to exist. an internet search points to: https://hatch.pypa.io/latest/version/ Which i don't understand since there is already a
in my pyproject.toml. Is my assumption wrong that pyproject.toml is for making sure the build system change is hassle free I'll continue by try and error from here ...
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
surprisingly the flit default to look for the version string in the init.py of the package needs to be specifically set for hatch ...
|
Beta Was this translation helpful? Give feedback.
-
Implementations of dynamic metadata differ between tools. Did you read https://hatch.pypa.io/latest/version/? |
Beta Was this translation helpful? Give feedback.
-
Yes i had to and was surprised. So at least the https://en.wikipedia.org/wiki/Principle_of_least_astonishment got it's share of the discussion :-) Expectation management is obviously hard. Let's see how the first automatic release goes ... |
Beta Was this translation helpful? Give feedback.
-
@ofek hurray we got a pypi 0.7.0 with a jpcore package ... impressing ... thanks a lot! |
Beta Was this translation helpful? Give feedback.
surprisingly the flit default to look for the version string in the init.py of the package needs to be specifically set for hatch ...