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
pydantic version check compares version strings as text #657
The optional pydantic import rejects old versions with pydantic.__version__ < '2', a string comparison. A future version such as '10.0' sorts before '2' and would be treated as too old, silently disabling pydantic support. Not a problem for any 2.x release.
Where
b2sdk/_internal/types.py:32-36.
Why it matters
Impact: Compatibility, silent. Severity: Low, because no pydantic version today triggers it, so there is no current effect.
How to check
In a Python shell, '10.0' < '2' is True. Read types.py:35. Found by reading the code, not reproduced.
Version
Seen at v2.13.4. Present on the default branch: present.
Activity