Commit ac683ee
committed
fix(tests): skip langmem tests on Python 3.10
Add Python version check to skip langmem serialization tests on Python < 3.11.
The langmem library uses typing.NotRequired which was introduced in Python 3.11,
causing import failures on Python 3.10 in CI.
Tests will:
- Skip on Python 3.10 (379 tests run)
- Run on Python 3.11+ (382 tests run)
Fixes CI test collection failures on Python 3.10.1 parent a39049e commit ac683ee
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | | - | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
8 | 20 | | |
9 | 21 | | |
10 | 22 | | |
| |||
0 commit comments