versionable dependencies
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- build-system, tooling
Research direction
This is a placeholder with no implementation entry point, tests, or acceptance criteria. Start by reviewing the dependency examples in the referenced pantry package.yml and issue, then determine how the dependency solver represents version constraints; the work is done only when the solver supports the described conditional and lockstep dependencies.
Written by the indexing model from the issue text.
Description
we've discussed this numerous times, and it makes the dependency solver deeply non-trivial; that said, it does come up in multiple packages:
- deno.land requires variable rust versions to build depending on the deno version: https://github.com/pkgxdev/pantry/blob/6f7d86673e8c061f119294ca9307c275e9aef860/projects/deno.land/package.yml#L28-L40 [^1]
- gnupg <2.5 depends on libassuan^2, while 2.5.0 depends on libassuan^3: https://github.com/pkgxdev/pantry/issues/6640 [^2]
- facebook libraries generally all require being kept in version lockstep[^3]
designing a syntax is the easy part; allowing the solver to work with it is much harder. this is a placeholder until we get there.
[^1]: e.g.: dependencies: rust-lang.org: { '>=1.38<1.40': ^1.56, '<1.38': ~1.38, '>=1.40': ^1.80 }
[^2]: dependencies: gnupg.org/libassuan: { '>=2<2.50': ^2, '^2.5': ^3 }
[^3]: dependencies: facebook.com/fizz: version # match version exactly
- Dominant language
- TypeScript
- Stars
- 64
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pkgxdev/libpkgx
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·