Dave Halter
6b1c488e24
Remove Any from _NotImplementedType inheritance
...
It does seem like this was first added in ecb43149f7
and does not serve a bigger purpose.
2025-02-10 16:17:05 +01:00
Avasam
24c78b9e0d
http.server.SimpleHTTPRequestHandler's directory param can be PathLike (#13477 )
2025-02-09 21:42:41 +00:00
M Bussonnier
8bd178e0c6
Fix: incorrect type for Bdb.format_stack_entry ( #13485 )
...
```python
def format_stack_entry(self, frame_lineno, lprefix=': '):
...
frame, lineno = frame_lineno
```
The type of `frame_lineno` is `tuple[FrameType, int]` not `int`,
understandably, since the type of `frame_lineno` can be interprted as
the line number of the frame. But looking at the implementation of
`Bdb.format_stack_entry`, it is clear that `frame_lineno` is a tuple.
It is also necessary to somehow pass a frame to `format_stack_entry` if
we want it to be formatted...
2025-02-09 21:32:56 +00:00
Avasam
c99e54da3e
Cross-platform third-party stubs requirements install script ( #13482 )
2025-02-09 21:21:22 +00:00
Avasam
46ac2e24a4
Update pathname param of setuptools._distutils.util.convert_path ( #13483 )
2025-02-09 19:20:20 +00:00
github-actions[bot]
232b8f3288
[stubsabot] Bump pyinstaller to 6.12.* ( #13479 )
...
Co-authored-by: stubsabot <>
2025-02-09 19:16:32 +00:00
sobolevn
d65e8ac20c
Bump peewee to 3.17.9 ( #13475 )
2025-02-09 12:21:12 +00:00
sobolevn
6480b2bf4a
Bump boltons to 25.0.* ( #13481 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-09 12:19:48 +00:00
Avasam
dee4ef3171
Still allow passing None to shutil.rmtree's onerror parameter on Python 3.12+ ( #13478 )
...
Resolves https://github.com/python/mypy/issues/18239
2025-02-08 17:46:09 -08:00
sobolevn
1d1086018b
Add --strict-bytes and --local-partial-types to self check ( #13476 )
...
* Add `--strict-bytes` and `--local-patial-types` to self check
These two options will be on by default in `--strict` in `mypy@2.0`
* Annotate `_LOADERS` in `pytype_test`
2025-02-08 10:00:49 +00:00
Alex Waygood
73ebb9dfd7
Bump mypy to 1.15.0 ( #13473 )
2025-02-07 11:21:40 -08:00
Alex Waygood
94ac7c44d2
Fix stubtest for dateparser ( #13474 )
2025-02-07 11:20:51 -08:00
Alex Waygood
5caaf2e1fb
Fix stdlib stubtest for latest Python patch releases ( #13464 )
2025-02-05 23:33:27 +00:00
/ˈɛvən/
aac4394eb2
tkinter: allow index to be "end" in Treeview.move ( #13454 )
2025-02-03 14:43:28 +02:00
github-actions[bot]
8db4dc186f
Bump pytz to 2025.1 ( #13449 )
2025-02-03 09:08:20 +01:00
Ali Hamdan
a0db1ba8dc
Mark optparse constants as final ( #13451 )
2025-02-03 09:05:41 +01:00
Ali Hamdan
30a4d10b71
Mark top-level re flags as final ( #13452 )
2025-02-03 09:04:52 +01:00
Ali Hamdan
fd92105daa
Mark constants in sre_constants as final ( #13453 )
...
Replace one use of Any
2025-02-03 09:04:03 +01:00
Victorien
e26219d41f
Bump django-import-export to 4.3.4 ( #13414 )
2025-02-03 09:02:58 +01:00
github-actions[bot]
983fc03a9f
[stubsabot] Mark beautifulsoup4 as obsolete since 4.13.0 ( #13455 )
...
Release: https://pypi.org/pypi/beautifulsoup4/4.13.0
Homepage: https://www.crummy.com/software/BeautifulSoup/bs4/
Repository: https://git.launchpad.net/beautifulsoup/tree
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/beautifulsoup4
2025-02-02 22:01:02 -08:00
Ali Hamdan
89b5afab15
Clean up argparse hacks ( #13450 )
2025-02-01 13:11:40 -08:00
Ali Hamdan
d704a7d8f7
shapely: Fix tuple length of CoordinateSequence items ( #13435 )
...
Closes #13422
2025-02-01 13:40:34 -05:00
Alex Waygood
c193cd2a36
Upgrade Black and Ruff ( #13443 )
2025-01-29 22:47:58 +00:00
Avasam
89b49d207b
Have win32gui.SystemParametersInfo return Any ( #13438 )
2025-01-27 05:33:52 +01:00
sobolevn
5944a6837b
Bump zstd to 1.5.6.2 ( #13434 )
2025-01-25 03:40:39 -08:00
Avasam
aa992b9cc6
pywin32: type Get* functions in win32api ( #13430 )
2025-01-23 21:21:59 +01:00
x11x
3580566c5b
pyserial: make serial.threaded.ReaderThread generic in the type of Protocol ( #13425 )
2025-01-23 11:23:52 +01:00
Shantanu
c546278aae
zstd: pin version ( #13428 )
2025-01-22 17:22:15 -08:00
github-actions[bot]
ce521e8c76
[stubsabot] Bump braintree to 4.32.* ( #13423 )
2025-01-22 08:55:50 +01:00
Alyssa Coghlan
57d7c4334b
Improve [Async]ContextDecorator type hinting ( #13416 )
...
Updated annotations allow access to `__wrapped__` on
decorated callables without complaints from typecheckers.
2025-01-20 17:58:52 +01:00
unights
c951dbbc9d
[psycopg2] Fix file argument types ( #13418 )
2025-01-20 17:56:30 +01:00
Ali Hamdan
c01e731dd1
Add geopandas stubs ( #12990 )
2025-01-19 19:19:43 +01:00
Ali Hamdan
31bff4a503
Improve decimal constants and fill missing defaults ( #13412 )
2025-01-19 15:01:44 +01:00
Tomas R.
85ce495603
Add sys._clear_internal_caches ( #13411 )
2025-01-19 15:01:08 +01:00
Tom Kuson
7f685ea517
Mark attributes in json.encoder as undocumented ( #13408 )
2025-01-19 15:00:04 +01:00
Ali Hamdan
af00613477
optparse: Fix OptionParser types ( #13339 )
2025-01-19 14:59:14 +01:00
Danny Yang
9f90182ba2
Remove stub content/style section from CONTRIBUTING.md ( #13332 )
2025-01-19 14:50:15 +01:00
Ali Hamdan
70cf06799f
Mark (c)math constants as final ( #13410 )
2025-01-19 13:35:09 +00:00
Shantanu
c2e4ef3ae4
icalendar: fix arg name ( #13407 )
...
Fixes #13406
2025-01-19 02:12:33 +00:00
Tom Kuson
a9aaf493b3
Add json.scanner.NUMBER_RE ( #13405 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2025-01-18 13:36:10 -08:00
Anthony Sottile
c20f05af5f
requests-oauthlib: decoding can be None ( #13404 )
...
it is passed along to oauthlib where the default there is None
2025-01-17 18:39:27 -08:00
Tomas R.
2a461a2f79
Use a more precise return type for tokenize.untokenize() ( #13366 )
2025-01-16 20:59:29 +01:00
sobolevn
67eebc5495
Improve django-import-export ( #13402 )
2025-01-16 14:43:16 +01:00
Stephen Morton
578af27510
add types.GenericAlias.__mro_entries__ ( #13284 )
2025-01-15 15:36:02 +01:00
Anthony Sottile
101287091c
add "w:tar" as a mode for tarfile ( #13401 )
2025-01-14 17:26:25 +01:00
João Paulo Taylor Ienczak Zanette
1017916da2
xml: Add missing types for DocumentType's publicId and systemId ( #13343 )
2025-01-13 14:57:16 +01:00
Maciej Olko
88be13d059
Allow Path in polib.pofile() ( #13396 )
...
* Allow PathLike in polib.pofile()
* Add missing import
* [pre-commit.ci] auto fixes from pre-commit.com hooks
* Update type to pathlib.Path
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 14:35:05 +01:00
sobolevn
c5f3608372
Use 3.13 in regular CI ( #13397 )
2025-01-13 11:05:54 +00:00
github-actions[bot]
38d2fe81fe
[stubsabot] Bump Flask-Migrate to 4.1.* ( #13392 )
...
Co-authored-by: stubsabot <>
2025-01-11 13:07:08 +00:00
github-actions[bot]
fce4b4f10b
[stubsabot] Bump lupa to 2.4.* ( #13391 )
...
Co-authored-by: stubsabot <>
2025-01-11 12:59:36 +00:00