-
Notifications
You must be signed in to change notification settings - Fork 121
Release 1.12.5 Requires a TOML Library #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think the title here is burying the lede a bit:
I came here looking for other issues reported about this since that's what I was seeing in version 1.12.7 so it hasn't been fixed yet. |
@mivade apologies. The lack of The title could very well have been "Release 1.12.5 doesn't work at all by following docs" |
No need to apologize! I was just trying to point out that this is a much bigger issue than the title implies (but you correctly point out in your report). |
I see there is a problem if a config file is found and doesn't contain a pydeps config (configs.pyL365). Hmm.. I tried to make it so (a) pythons with included tomllib would work, (b) any of the other common(?) toml-libraries (i.e. tomlkit and toml) would work if they were found. My thinking being that people who wanted to pick up configs from pyproject.toml already had their preferred toml-library installed. Is there a better way of doing this? |
I've fixed the crashing on missing config in config files, and the two most obvious import-error issues. |
@thebjorn thank you! A PR was opened in our codebase this morning via Renovate and it's working just as before. 🎉 |
Uh oh!
There was an error while loading. Please reload this page.
The newest release now has a dependency on a TOML parsing library, but that dependency isn't being picked up by PyPi, so installing this new version without also manually installing
tomlkit
or specifying it as a dependency in apyproject.toml
will cause the execution of this tool to fail.Examples
PyPi doesn't think that this package requires any TOML libraries:
This results in the following error when run without
tomlkit
installed:Even when
tomlkit
is installed manually, if you haven't correctly set up a pydeps config file it will also fail:The text was updated successfully, but these errors were encountered: