Commit 74de0db
committed
Drop deprecated setup_requires, fix encode_fs_path annotations on Python < 3.14
Move the cffi build requirement from setup_requires (deprecated
fetch_build_eggs path) to [build-system] requires in pyproject.toml.
Also quote the encode_fs_path signature annotations in full: mixing a
runtime PEP 604 union (PathStrOrBytes) with a string forward reference
raised TypeError at import time on Python < 3.14, breaking the wheel
tests on 3.11. Python 3.14's lazy annotation evaluation (PEP 649) had
masked the issue locally.
Assisted-by: Kimi Code CLI1 parent c9366e5 commit 74de0db
3 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
0 commit comments