Skip to content

Comments

chore: upgrade zip 7.x to 8.0 and tempfile to 3.25#60

Merged
bug-ops merged 3 commits intomainfrom
chore/upgrade-zip-8
Feb 15, 2026
Merged

chore: upgrade zip 7.x to 8.0 and tempfile to 3.25#60
bug-ops merged 3 commits intomainfrom
chore/upgrade-zip-8

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 15, 2026

Summary

  • Upgrade zip from 7.x to 8.0 (breaking API change: DateTime::to_time() removed)
  • Upgrade tempfile from 3.24 to 3.25
  • Replace deprecated DateTime::to_time() with time::PrimitiveDateTime conversion via TryFrom<zip::DateTime>
  • Add time as direct workspace dependency (previously transitive via zip)

Test plan

  • All 750 tests pass (cargo nextest run)
  • Clippy clean (cargo clippy -- -D warnings)
  • Compilation verified across workspace (excluding exarch-python, macOS linker issue)

zip 8.0 removes deprecated DateTime::to_time() method.
Replace with manual civil-date-to-unix-timestamp conversion
using Howard Hinnant's days_from_civil algorithm, eliminating
the transitive dependency on the time crate for this codepath.
@github-actions github-actions bot added core Changes to exarch-core docs Documentation dependencies Dependency updates labels Feb 15, 2026
@bug-ops bug-ops enabled auto-merge (squash) February 15, 2026 11:15
@codecov-commenter
Copy link

codecov-commenter commented Feb 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   90.25%   90.31%   +0.05%     
==========================================
  Files          62       58       -4     
  Lines       10358    10191     -167     
==========================================
- Hits         9349     9204     -145     
+ Misses       1009      987      -22     
Flag Coverage Δ
exarch-python ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crates/exarch-core/src/inspection/list.rs 79.83% <100.00%> (ø)

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bug-ops bug-ops disabled auto-merge February 15, 2026 11:18
Replace hand-rolled days_from_civil with time::PrimitiveDateTime
via TryFrom<zip::DateTime>, which zip 8.0 provides behind the
"time" feature flag. Add time as a direct workspace dependency
(was already transitive via zip).
@bug-ops bug-ops enabled auto-merge (squash) February 15, 2026 11:20
@bug-ops bug-ops merged commit 1b30d4b into main Feb 15, 2026
20 checks passed
@bug-ops bug-ops deleted the chore/upgrade-zip-8 branch February 15, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to exarch-core dependencies Dependency updates docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants