Closed mgedmin closed 1 year ago
~/.local/pipx/venvs/scriv/lib/python3.10/site-packages/scriv-1.2.0.dist-info/METADATA says
Requires-Dist: tomli ; extra == 'toml'
Requires-Dist: python-version (<3.11) ; extra == 'toml'
so I think the dependencies are working as designed? except that scriv isn't supposed to use anything toml-related unless you opt it by requesting the toml extra?
Note that I experienced the same thing on Ubuntu 22.04.1 but worked around it with an sudo apt install python3-tomli
.
Oops, sorry about that! This is fixed in 985e72bfea1194c39e442d69d5a1d6865fb8fb48.
I have to say I stared at the offending code for five minutes until I finally understood where the problem was!
Me too!
This is now released as part of scriv 1.2.1.
I'm using Python 3.10 on Ubuntu 22.10, with pipx to manage my virtual envs for tools.
Something seems to be wrong with the tomllib dependency on Python < 3.11:
Full set of versions installed in the venv: