Commit f0c4a95
committed
Add mypy type checking for Python 3.14 and use open() instead of codecs.open() due to deprecation in 3.14
The first release candidate for Python 3.14 was released on 2025-07-22 and I did some local testing.
The first thing I realized is that mypy now works well with 3.14 and so we should add type checking on that platform to our GitLab Actions.
The second thing I noticed is that when we ran tests with pytests, we were getting a bunch of warnings due to `codecs.open()` being deprecated. Since at least Python 3.6 there has been no need for that as `open()` does everything it can do plus more.1 parent 37c03c5 commit f0c4a95
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
192 | 190 | | |
193 | | - | |
| 191 | + | |
194 | 192 | | |
195 | 193 | | |
196 | 194 | | |
| |||
0 commit comments