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
Dependency version field limited to 100 chars even when specifying a package URL #5459
When a dependency entry in library.json specifies an URL instead of a SemVer, the version value is validated with the max=100 length constraint used for normal SemVer strings:
ManifestValidationError: Invalid manifest fields: {'dependencies': {0: {'version': ['Length must be between 1 and 100.']}}}.
Please check specification -> https://docs.platformio.org/page/librarymanager/config.html
So does with an actual URL.
Expected Results
This should be valid because version field maybe adheres to Remote TAR or ZIP archive spec when it is indicating a package specification, and other URL-compatible fields are mostly validated with max=255 such as:
# Class ManifestSchemadownloadUrl=fields.Url(validate=validate.Length(min=1, max=255))
Activity
ivankravets commentedon Jun 23, 2026
Thanks for the report! Please re-test with
pio upgrade --dev.Increase the maximum length of dependency version specifications to s…
pio 6.2.0
build(scripts): Bump the python group with 4 updates (#2)