Repository navigation
build(deps): bump all dependencies (noodles 0.121, MSRV 1.99) - #223
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- noodles 0.111 -> 0.121 (noodles-cram 0.94 -> 0.104, noodles-bam 0.90 -> 0.100, noodles-sam 0.85 -> 0.95) - rayon 1.12, crc32fast 1.5.6, plus `cargo update` for the lockfile noodles-cram's indexed `Query` is now a reader rather than an iterator, so the CRAM cursor drains it with `read_record_buf` (moving records out rather than cloning them via `Query::records`). The query now filters on reference ID itself (zaeleus/noodles#396), so the local multi-reference-slice filter is gone. `bam::fs::index` returns a BAI-or-CSI `bam::Index`; the test-only BAI builder unwraps the BAI variant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
noodles-cram 0.104 declares rust-version 1.91 but needs 1.99 to compile: `codecs/rans_4x8/encode/order_1.rs` zips over a `&Box<[[u32; 256]; 256]>`, which is not `IntoIterator` before Rust 1.99. Checked with 1.91 through 1.98 (all fail) and 1.99 (passes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves every dependency to its latest release in one PR, one commit per area. It replaces the Dependabot PRs that were closed when the repo moved to Renovate (#213 noodles 0.111 → 0.120, #214 sharp, and older ones).
What changed
noodlesnoodles-cramnoodles-bamnoodles-samnoodles-bgzf/-csi/-fasta/-corerayon(requirement floor)crc32fast(requirement floor)cargo update)lzma-rust20.16.5 → 0.26.0,jiff1.0.3 → 1.1.0,anstream1.0.0 → 1.0.1rust-versionand the CI MSRV jobactions/setup-nodeastronpm updatefor the lockfile)rust:1-bookworm/debian:bookworm-slimrust:1-trixie/debian:trixie-slimEvery other crate in
Cargo.tomlwas already at the latest major, and its requirement already admits the latest release. Nothing is held back.noodles port
noodles_cram::io::reader::Queryis now a reader, not an iterator.IndexedReader::fetchdrains it withQuery::read_record_bufand moves each record out.Query::records()would also work, but it clones every record.cram_unmapped_sweep_*unit tests cover this with themulti_ref_slice.cramfixture.bam::fs::indexnow returnsbam::Index(BAI or CSI). The test-only BAI builder insrc/rna/bam/writer.rstakes the BAI variant and returns an error for CSI. A unit test inio.rsnow uses that builder.IndexedBackend's BAM variant got larger, soclippy::large_enum_variantfires. It is allowed on that enum, because there is one per open file.query_unmappedEOF guard, the CRAI de-duplication or NM/MD regeneration (feat: regenerate NM/MD on CRAM input, like htslib #210). noodles still behaves the same way in those places. Only the version numbers were removed from their comments.MSRV 1.99
noodles-cram 0.104 declares
rust-version = "1.91", but it does not compile before Rust 1.99.codecs/rans_4x8/encode/order_1.rszips over a&Box<[[u32; 256]; 256]>, and that type is notIntoIteratoron older compilers. I checked every toolchain from 1.91 to 1.98 (all fail in noodles-cram) and 1.99 (passes). noodles-cram 0.103 (noodles 0.120) still builds on 1.91. If 1.99 is too new, we can pinnoodles = "0.120"and set MSRV to 1.91 instead. This is probably worth reporting upstream as an MSRV bug.Checks
cargo tree -e buildhas noccorcmake.tests/data/test.bam+test.gtf: 71/71 files identical.test-data/rna/small/test.bam+chr6.gtf.gz, with the flags frommodules/local/rustqc_rna.nfandconf/modules.config: 79/79 identical.tests/data/cram31/test.cramat--threads 4: 71/71 identical.--threads 2: 79/79 identical for each. NM regeneration is active in these runs (samtools stats reports 39,821 mismatches, the same as for the BAM).tests/data/unmapped_sweep/CRAMs with--cram-decode-md auto|always|never: all outputs identical.same_reference_multi_slice.cramstops with "No valid data for expression histogram" on main and on this branch. With the histogram turned off, all 67 outputs are identical.CITATIONS.md(commit hash) andqualimapReport.html(analysis timestamp) differ.plotters,ab_glyphandimagestayed at the same versions.cargo fmt --check,cargo clippy -- -D warnings,cargo test --release(439 tests) andcargo +1.99 check --all-targetsall pass.zizmor .github/workflowsreports nothing.npm run buildindocs/passes, with the same two warnings that main gives.rustqc --versionruns in it.pre-commit-hooksv6.0.0 andpre-commit-rustv1.0 are already the latest versions. No change.release.ymlusesstable, not a pinned version. No change.🤖 Generated with Claude Code