1.2.1
➡️ PyPI page: scriv 1.2.1.
➡️ To install: python3 -m pip install scriv==1.2.1
Fixed
- Scriv would fail trying to import tomllib on Python <3.11 if installed without the
[toml]
extra. This is now fixed, closing issue 80. - Settings specified as
file:
will now search in the changelog directory and then the current directory for the file. The only exception is if the first component is.
or..
, then only the current directory is considered. Fixes issue 82. - Python variables with type annotations can now be read with
literal:
settings, fixing issue 85. - Error messages for mis-formed
literal:
configuration values are more precise, as requested in issue 84. - Error messages from settings validation are ScrivExceptions now, and report configuration problems more clearly and earlier in some cases.