Repository navigation
Commit 87e7d5e
fix(fetch): clear the Python 3.11 pyupgrade findings in the pinning code
ruff takes its target from requires-python, which is now >=3.11.5, so
UP041 and UP017 apply to fetch. Catch the builtin TimeoutError (which
asyncio.TimeoutError has aliased since 3.11) and use datetime.UTC.
No behavior change.
Closes #5569
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>1 parent aef8fd7 commit 87e7d5e
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments