Repository navigation
chore: bound the registered kit instead of pinning it by git - #146
Merged
Merged
Conversation
EpiAwarePackageTools is registered in General, so the managed JET environment takes it from the registry under `[compat]` rather than a git `[sources]` entry. A git pin resolves an unreleased `main`, needs Julia 1.11 where `[sources]` is honoured, and blocks this package's own registration. The file carries no comments, per org policy: Pkg silently drops them the next time it rewrites Project.toml. Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
Try this Pull Request!Option 1: Julia Package ManagerOpen Julia and type: import Pkg
Pkg.activate(temp=true)
Pkg.add(url="https://github.com/EpiAware/DistributionsInference.jl", rev="chore/drop-kit-git-pin")
using DistributionsInferenceOption 2: Local CheckoutIf you have the repo locally: git checkout chore/drop-kit-git-pin
julia --project=. -e "using Pkg; Pkg.instantiate()" |
Contributor
|
📖 Documentation preview is ready! View the docs for this PR at: https://EpiAware.github.io/DistributionsInference.jl/previews/PR146/ This preview will be updated automatically when you push new commits. |
seabbs
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The premise has lapsed
test/jet/Project.tomlpinnedEpiAwarePackageToolsby git[sources]on the premise that the kit was unregistered.
It is registered in General, and 0.4.1 is the current release.
A git pin costs three things.
It resolves an unreleased
main, so the environment moves under CIwithout a version bump.
It needs Julia 1.11, where
[sources]is honoured — on 1.10 Pkg ignoresthe entry silently and resolves the registry instead.
And a package carrying a git
[sources]entry cannot be registereditself.
Change
The kit comes from the registry, bounded as
EpiAwarePackageTools = "0.3, 0.4"under[compat].That is the bound
EpiAwarePackageTools.scaffolditself templates(
KIT_COMPAT), so a resync leaves no drift.Comments are gone from the file, per org policy.
Pkg silently drops any comment in a Project.toml the next time it
rewrites the file, so the kit's
updatenow warns about them.The
JET = "0.9.19, 0.11"bound is unchanged, and the reasoning behindit is recorded here so it is not lost with the comment.
JET's 0.x minors are breaking bumps under Julia's semver, so a new minor
must not silently tighten static analysis and turn the managed check red
without a deliberate bump.
The
0.9.19alternative sits alongside0.11because JET dropped Julia1.11 support at 0.10.0 (upstream requires 1.12+ from 0.10.2 on) and this
subprocess runs under whatever Julia the outer CI leg uses.
0.9.19 is the last 0.9.x release, so it is the floor that still supports
Julia 1.11.
Verification
julia --project=test/jet -e 'using Pkg; Pkg.instantiate()'resolvesEpiAwarePackageTools v0.4.1andJET v0.11.6from the registry.Every kit binding this repo calls —
run_package_tests,DocsBuild.build_docs, the QA and AD helpers — is present in 0.4.1.src/is byte-identical between the v0.4.1 tag and the kit's currentmainfor every file those bindings live in, so nothing is lost bytaking the release.
Follow-up
This was the repo's last git
[sources]entry.The root
[compat] julia = "1.11"floor existed to make the pinhonoured.
Kit 0.4.x supports Julia 1.10, so the floor can now drop and the
tests.ymlmatrix can take itsltsleg back.That is a user-facing support change and needs its own PR.
This was opened by a bot. Please ping @seabbs for any questions.