-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package fails to build when using a web-based package source #14
Comments
I'm not sure what the issue with the |
@samth The upstream Qi dependency does use a version exception for older versions of Racket, but there it was unavoidable since the feature used by Qi was simply missing in <8.3. On the other hand, with relation, in principle if I keep adding features to it, there's no reason that older versions of Racket shouldn't have them. Relation itself doesn't use the feature in Qi (viz. macro-extensibility) that necessitated its bump to 8.3+. Being able to depend on an older version in a library would avoid the need to propagate version exceptions downstream to dependencies (a "cancer" of version exceptions), and consequently would also save package maintainers the trouble of maintaining separate branches for bugfix purposes. |
Then I don't understand the problem. If |
Do I need to do something special on the downstream end (i.e. |
Adding the version exceptions for earlier versions on I leave it to your discretion whether to close this issue or not. Version exceptions work in my case but they are different from the reported issue, and I can imagine cases where the reported issue would still be encountered (e.g. upstream package drops support for something used in a package). Of course, the issue could also be reopened at such a time. |
This issue has been mentioned on Racket Discourse. There might be relevant details there: https://racket.discourse.group/t/use-git-directly-for-versioning/2896/6 |
Packages using a specific older version for a dependency via a valid package source format that relies on a web resource (i.e. hosted Git repo) fail to build on the package server, even though the packages themselves are in conformity with prescribed package management concepts.
The error reported by the package server is:
This means that packages that use an officially supported dependency mechanism are incorrectly reported as broken, causing docs and all dependent packages to also be reported as broken.
For some context, the relation package is faced with the choice of either continuing to support legacy Racket code (7.8+) or drop support for <8.3. It could do the former by using a Git ref to a maintenance branch of one of its dependencies (Qi), but currently this runs into the present issue. The other option is to drop support for <8.3 which sweeps it under the rug, but seems a bit extreme.
The text was updated successfully, but these errors were encountered: