-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update toml dependency to >=0.9.2 #5067
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
Update toml dependency to >=0.9.2 #5067
Conversation
Pull Request Test Coverage Report for Build 1266038107
π - Coveralls |
Wouldn't that make pylint incompatible with this package ? Maybe the fix is to handle both import by adding an import guard and keep the compatibility with toml > 0.7 ? |
I'm not sure if that's very relevant in this case. It's a tag of a package > 2 years old by now (0), and this particular bug has been present for ~7 months in pylint without any previous mention of it before this issue and PR. |
From what I can tell, we should be able to import |
The issue is that this import is only available from From Before that, |
ππ» In that case we should probably require |
Shall I then make it from toml import TomlDecodeError ? |
91e2d11
to
36cf1b3
Compare
0bd0001
to
1e35e15
Compare
1e35e15
to
090633d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @jeroenseegers π¬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, great catch !
Type of Changes
Description
Fix the minimum version of the
toml
dependency as described in #5066.Closes #5066