Repository navigation
Commit 5698b3f
authored
ci: test Ops 2.23 with Python 3.14 (#2576)
#2546 is blocked because we don't run the tests on this branch with
Python 3.14, but these are configured as required checks. Since Ops 2.23
only specifies Python `>=3.8`, we'd expect it to run fine with Python
3.14.
In addition to adding 3.14 to the list of versions in CI, we also need
to add it to the list of environments in `tox.ini`, and follow #2091 in
patching some of the tests: we now need to wrap our `functools.partial`
objects in `staticmethod` due to `partial` implementing the decriptor
protocol in Python 3.14
(python/cpython#121027,
python/cpython#121089). However, because we're
on an older `pyright` version in this maintenance branch, this leads to
type checking errors which we ignore (bumping `pyright` resolves this
but introduces 20+ other errors which would add noise to this PR).1 parent e0d829b commit 5698b3f
4 files changed
Lines changed: 8 additions & 8 deletions
File tree
- .github/workflows
- test
- tracing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
786 | | - | |
| 785 | + | |
| 786 | + | |
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments