Skip to content

fix: Bump compat floors for OrderedCollections and DataDeps#57

Merged
sethaxen merged 4 commits into
mainfrom
add-downgrade-workflow
Jul 7, 2026
Merged

fix: Bump compat floors for OrderedCollections and DataDeps#57
sethaxen merged 4 commits into
mainfrom
add-downgrade-workflow

Conversation

@sethaxen

@sethaxen sethaxen commented Jul 7, 2026

Copy link
Copy Markdown
Member

Bumps two stale compat floors that fail under dependency downgrading, and cuts a patch release for the fix:

  • OrderedCollections: 11.3. Older versions don't infer concrete key/value types when constructing an OrderedDict from a generator, so load_example_data() came back as OrderedDict{Any,Any} instead of the documented OrderedDict{String,AbstractFileMetadata}.
  • DataDeps: 0.70.7.12. Older versions build their writable-path list from Base.DEPOT_PATH and create the directory as a one-time side effect of precompilation, which doesn't reliably hold up once dependency/compiled state gets cached — causing NoValidPathError. 0.7.12 moved this into __init__() with a proper Scratch.jl-backed space.
  • Bumps the package version to 0.3.1.

Also adds a separate Downgrade.yml workflow (mode: deps, Julia lts) that caught both issues

Test against dependencies downgraded to their floor versions (mode:
deps), on Julia lts, as its own workflow separate from CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.46%. Comparing base (44d81d5) to head (3fed0e7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   84.31%   88.46%   +4.14%     
==========================================
  Files           5        5              
  Lines          51       52       +1     
==========================================
+ Hits           43       46       +3     
+ Misses          8        6       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

OrderedCollections 1.1.0/1.2.0 (the resolved downgrade floor) don't
infer concrete key/value types when constructing an OrderedDict from
a generator, so LOCAL_EXAMPLE_DATA/REMOTE_EXAMPLE_DATA (and their
merge in load_example_data()) come out as OrderedDict{Any,Any} instead
of the documented OrderedDict{String,AbstractFileMetadata}. Fixed in
1.3.0, which infers types from the generator correctly. Reproduced
locally with the package's exact types before and after the bump.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sethaxen

This comment was marked as duplicate.

DataDeps 0.7.0-0.7.11 (the resolved downgrade floor) build their
writable-path candidate list from Base.DEPOT_PATH and create the first
candidate directory as a one-time side effect of top-level code run
during precompilation. That side effect doesn't necessarily correspond
to a real, writable directory in a differently-provisioned depot (as
seen when CI restored cached compiled/dependency state), so every
writable-path check failed with DataDeps.NoValidPathError. 0.7.12
moved this into __init__() (reruns every process start) and switched
to a proper Scratch.jl-backed space. Verified locally that 0.7.12
resolves a valid save path.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sethaxen

This comment was marked as duplicate.

Patch release for the OrderedCollections and DataDeps compat floor
fixes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sethaxen sethaxen changed the title ci: add Downgrade workflow Patch release: fix compat floors for OrderedCollections and DataDeps Jul 7, 2026
@sethaxen sethaxen changed the title Patch release: fix compat floors for OrderedCollections and DataDeps fix: Bump compat floors for OrderedCollections and DataDeps Jul 7, 2026
@sethaxen sethaxen merged commit 6d2c5be into main Jul 7, 2026
9 checks passed
@sethaxen sethaxen deleted the add-downgrade-workflow branch July 7, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant