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
A lot of existing packages have versions like '1.0'. In native env rendering, this becomes 1.0, which is a float, and that fails validation. The workaround is to use "{{ 1.0 | as_text }}", which people hate. We should just allow users to supply floats for git revisions/package versions and then convert them to strings internally when before doing version-y things.
Describe alternatives you've considered
Tell people to use {{ 1.0 | as_text }}, over and over again.
Additional context
There are other fields, but probably none as egregious as this one.
Who will this benefit?
End users of packages.
The text was updated successfully, but these errors were encountered:
Describe the feature
A lot of existing packages have versions like
'1.0'
. In native env rendering, this becomes1.0
, which is a float, and that fails validation. The workaround is to use"{{ 1.0 | as_text }}"
, which people hate. We should just allow users to supply floats for git revisions/package versions and then convert them to strings internally when before doing version-y things.Describe alternatives you've considered
Tell people to use
{{ 1.0 | as_text }}
, over and over again.Additional context
There are other fields, but probably none as egregious as this one.
Who will this benefit?
End users of packages.
The text was updated successfully, but these errors were encountered: