You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JsonParseNode.try_get_anything throw exception on string starting or ending with slash #353
Version 1.3.1 changed how JsonParseNode behaves on a string containing a single slash at the start or the end.
Before this version try_get_anything returned the input value, on 1.3.1 an exception is raised.
To Reproduce
The simple test that can be added to tests/test_json_parse_node.py
The error comes from the pendulum library, there is also an issue in their repo: python-pendulum/pendulum#506
However, the issue is open since 4 years, and the maintainer didn't even respond to it or the attached PR.
Thanks Stephan van Rooij (@svrooij) for the ping on this. Artur Frysiak (@wiget) would you mind testing again with the latest versions of Kiota python dependencies please and reporting whether you're still facing issues?
Thanks!
Activity
czaroPieczaro commentedon Sep 17, 2024
Also got that error. Thanks for raising it.
wiget commentedon Sep 17, 2024
Re-tested against 1.3.2 - still failing to parse.
bennetrr commentedon Oct 7, 2024
Is there any update on this issue?
The error comes from the pendulum library, there is also an issue in their repo: python-pendulum/pendulum#506
However, the issue is open since 4 years, and the maintainer didn't even respond to it or the attached PR.
wiget commentedon Oct 10, 2024
I submitted the PR in pendulum to fix the bug: python-pendulum/pendulum#843
svrooij commentedon Jan 26, 2025
Vincent Biret (@baywet) this issue might be fixed now I removed the pendulum dependency
baywet commentedon Jan 27, 2025
Thanks Stephan van Rooij (@svrooij) for the ping on this.
Artur Frysiak (@wiget) would you mind testing again with the latest versions of Kiota python dependencies please and reporting whether you're still facing issues?
Thanks!
wiget commentedon Jan 29, 2025
I tested with version 1.9.0 and the issue is gone.
Thank you!
baywet commentedon Jan 29, 2025
Thank you for confirming! Closing.