Commit Graph

9109 Commits

Author SHA1 Message Date
Shantanu
11075c6c37 inspect: change for py313 (#11938) 2024-05-18 05:55:55 -04:00
Shantanu
54b39e1de4 Add __replace__ to namedtuple and structseq (#11939)
mypy will need its own change to truly understand namedtuple
2024-05-18 05:55:09 -04:00
Shantanu
abfb72e106 wsgiref: update __all__ for py313 (#11940)
GH-111770
2024-05-18 05:53:26 -04:00
Shantanu
53439861c5 opcode: update for py313 (#11944) 2024-05-18 05:49:06 -04:00
Shantanu
674722f038 signal: mark set_wakeup_fd pos only arg (#11945) 2024-05-18 05:47:59 -04:00
Avasam
003361c006 Make distutils.dist.Distribution.get_command_obj not return None by default (#11950) 2024-05-18 11:38:48 +02:00
Avasam
3e0269bc6c distutils & setuptools: Complete sub_commands ClassVar typing (#11951) 2024-05-18 11:36:49 +02:00
Shantanu
36afde99cf random: match seed type in __init__ (#11942) 2024-05-18 11:27:03 +02:00
Shantanu
459c3288da stat: add constants in py313 (#11936) 2024-05-18 00:28:36 +02:00
Shantanu
9661e149b2 venv: changes for py313 (#11937) 2024-05-18 00:06:55 +02:00
Shantanu
bb267c82f8 builtins: eval and exec can take globals and locals via keyword (#11934) 2024-05-17 23:55:16 +02:00
Shantanu
4c6f295007 urllib.request: remove params from urlopen for py313 (#11933) 2024-05-17 23:54:05 +02:00
Shantanu
40349344ee lib2to3: remove in py313 (#11931) 2024-05-17 23:52:27 +02:00
Ryan Morshead
e7daedd6ab add networkx.topological_generations (#11927) 2024-05-17 08:52:26 +02:00
Avasam
c99adf4b85 distutils: improve boolean parameters with int defaults (#11928) 2024-05-17 08:33:18 +02:00
Alex Waygood
240114ac1a More PEP-696 updates to typing(_extensions) stubs (#11925) 2024-05-16 22:05:45 -04:00
Alex Waygood
5b0816e784 Fix stdlib stubtest after latest typing-extensions release (#11923) 2024-05-16 16:53:19 -04:00
Alex Waygood
77d6947479 Use stricter pyright settings in CI for assertpy (#11920) 2024-05-15 21:21:47 -04:00
renovate[bot]
5fc866f9fd Update dependency pyright to v1.1.363 (#11919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-05-15 21:11:21 -04:00
github-actions[bot]
1c2d0230fa [stubsabot] Bump regex to 2024.5.15 (#11918)
Co-authored-by: stubsabot <>
2024-05-15 20:34:37 -04:00
Raphael Castro
5079dc1d9e Add stubs for assertpy (#11916) 2024-05-15 14:56:43 -04:00
David Salvisberg
d3faa5a8b0 uWSGI: Makes stubtest_allowlist_darwin more resilient against CI flakyness (#11819) 2024-05-15 12:07:55 -04:00
github-actions[bot]
a86115a19d [stubsabot] Bump ujson to 5.10.* (#11915)
Release: https://pypi.org/pypi/ujson/5.10.0
Homepage: https://github.com/ultrajson/ultrajson
Repository: https://github.com/ultrajson/ultrajson
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/ujson
Diff: https://github.com/ultrajson/ultrajson/compare/5.9.0...5.10.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 0.
 - Total lines of Python code deleted: 0.
2024-05-14 21:11:30 -04:00
Adam Dangoor
a9d7e861f7 Add a number of types to docker.models.containers (#11912) 2024-05-14 11:15:32 +02:00
Kanishk Pachauri
b859441e74 [pyflakes] add backwards compatibility module (#11910) 2024-05-14 07:50:51 +02:00
Max Muoto
3195f9fb1b Use TypeVar defaults for Generator and AsyncGenerator (#11867) 2024-05-13 15:21:43 -07:00
kasium
708656f5ad Complete types for hvac.v1.Client (#11886) 2024-05-13 05:31:48 -07:00
Adam Dangoor
0382803c4c Add many types to docker.api.container (#11911) 2024-05-12 13:58:56 -07:00
Nikita Sobolev
5829e3bdea Update shelve.open and dbm.open to support path-like objects (#11881)
Closes #11856
2024-05-12 13:31:12 -07:00
Avasam
ef42294f92 Avoid using new _typeshed protocol in pkg_resources for now (#11909) 2024-05-12 16:19:58 -04:00
Adam Dangoor
a4c4076b61 Add types to all "container" parameters in docker.api.container (#11908) 2024-05-12 18:07:48 +02:00
Adam Dangoor
96697a835b Add remaining parameter types to docker.api.container logs (#11907) 2024-05-12 17:12:32 +02:00
Sebastian Rittau
ef0a5c2d12 Replace types._Cell with types.CellType (#11904)
Closes #11901
2024-05-12 06:38:38 -07:00
Adam Dangoor
932311d441 Add return type to Docker Container.logs (#11888) 2024-05-12 13:39:18 +02:00
Adam Dangoor
488bc24c43 Add return type for Docker container start (#11905) 2024-05-12 13:37:00 +02:00
Adam Dangoor
bbad7f2f24 Fix "tail" parameter type for Docker container logs (#11906) 2024-05-12 13:09:47 +02:00
Adam Dangoor
f75211b801 Allow Image type for docker container run image parameter (#11900) 2024-05-12 12:14:06 +02:00
Anderson Bravalheri
b42e3b2e89 Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder (#11890) 2024-05-12 11:58:33 +02:00
Ali Hamdan
6565e8a0a0 regex: functions do not accept any buffer for pattern (#11899) 2024-05-11 12:50:45 +02:00
Alex Waygood
7bfde5b676 Pin pynput more tightly (#11897)
Fixes  #11896
2024-05-11 01:40:48 +01:00
github-actions[bot]
65e989d15e [stubsabot] Bump regex to 2024.5.10 (#11894)
Release: https://pypi.org/pypi/regex/2024.5.10
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.28...2024.5.10

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 6.
 - Total lines of Python code deleted: 4.
2024-05-10 17:21:48 -07:00
Alex Waygood
294f237f05 Use stricter pyright settings for checking flake8 stubs in CI (#11893) 2024-05-10 20:01:31 +01:00
qexat
beefacf4e3 tempfile.SpooledTemporaryFile.truncate(): Fix return type for Python >=3.11 (#11892) 2024-05-10 16:59:23 +02:00
bytemarx
a10e4135fe Add missing ETH_P_ALL identifier to socket (#11876) 2024-05-10 11:50:37 +02:00
github-actions[bot]
37f9e4c412 [stubsabot] Bump wurlitzer to 3.1.* (#11848) 2024-05-10 10:46:34 +02:00
Kanishk Pachauri
864dee36fb stubs: [BeautifulSoup] fix incomplete type specs for formatter (#11885) 2024-05-10 10:45:44 +02:00
Jelle Zijlstra
38569b6bb4 stubtest: fix path (#11884) 2024-05-10 10:44:42 +02:00
Nikita Sobolev
d07ba24f3c Add typehints for open in PIL.WallImageFile (#11887) 2024-05-10 10:29:09 +02:00
Adam Dangoor
9174db0d7d Add some types to Docker ContainerCollection parameters (#11857) 2024-05-10 10:08:47 +02:00
Sebastian Rittau
27cad856f8 Add flake8 (#11676) 2024-05-09 19:50:07 -07:00