-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Remove some more vistir usage #5067
Conversation
This is no longer needed since Python version 3.6. Earlier versions didn't have json.JSONDecodeError and raised ValueError instead.
@matteius I've seen this error for MacOS Python3.10 happen already a few times (in the main branch too). No idea how to fix it, but it seems unrelated to the changes I proposed in the PR. |
@oz123 I don't see where it has happened on the main branch ... link to a failed action? |
@@ -2791,8 +2792,9 @@ def do_check( | |||
|
|||
|
|||
def do_graph(project, bare=False, json=False, json_tree=False, reverse=False): | |||
import json as jsonlib |
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.
Can we just import json
at the top level now? I don't really see why to namespace it to jsonlib
either.
I re-ran just the one failed job and it succeeded. Looks like a 1-off GitHub data transfer failure |
json.JSONDecodeError
is Python 3.6+Should work, but we might have to revert this.