Documentation shows /latest/ syntax but pkl rejects it #767
Unanswered
t4w4n3
asked this question in
Troubleshooting and Bug Reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation shows
/latest/syntax but pkl rejects itProblem
The official documentation shows this example:
However, when using this exact syntax, pkl returns an error:
Environment
Steps to Reproduce
test.pkl:pkl eval test.pklExpected Behavior
The
/latest/syntax should work as documented, automatically resolving to the latest hk release version.Actual Behavior
pkl rejects the URL format, requiring an explicit version like
@1.39.0.Impact
Users must hardcode the version in
hk.pkl, which becomes stale when upgrading hk. This creates maintenance burden and potential compatibility issues.Proposed Solutions
Either:
/latest/for hk packageshk init --update-version) to auto-update the version in existinghk.pklfilesWorkaround
Currently, users must manually update the version in
hk.pklafter upgrading hk:Beta Was this translation helpful? Give feedback.
All reactions