Commit 5c88c39
committed
Update dependencies and fix coverage to reach 100%
This commit updates all dependencies to their latest compatible versions
and resolves issue #1 by excluding the pymodule line from coverage.
Changes:
- Update GitHub Actions workflow:
* Replace deprecated actions-rs/toolchain with dtolnay/rust-toolchain
* Update actions/checkout from v4 to v5
- Update Python dependencies:
* pytest: 8.3.4 → 8.4.2
* maturin: 1.8.1 → 1.9.6
* Update build-system to require maturin>=1.9
- Update Rust dependencies:
* PyO3: 0.23.3 → 0.23.5 (latest patch release, no breaking changes)
- Fix coverage to reach 100%:
* Add #[cfg_attr(coverage, coverage(off))] to _foobar pymodule
* This excludes the pymodule initialization code that cannot be
directly tested (see rust-lang/rust#84605)
All updates are backwards-compatible and maintain test compatibility.
The coverage fix resolves issue #1 without affecting functionality.
Fixes #1
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ca24236 commit 5c88c39
5 files changed
Lines changed: 144 additions & 134 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments