Commit Graph

8686 Commits

Author SHA1 Message Date
Avasam
faf9d77d79 Bump networkx to 3.2.1 (#11336) 2024-01-31 07:30:20 +01:00
Stephen Morton
9877ed8092 Various ctypes improvements (#11186)
Mostly more attention paid to which classes are actually the same class
2024-01-30 22:18:00 -08:00
Mike Zimin
8010e9fef0 issue-11282: psycopg2 ReplicationConnection.cursor() return type (#11298)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-01-30 20:25:12 -08:00
Christoph Tyralla
1ce82b8d3e Generalise attribute __func__ of class MethodType from FunctionType to Callable (#11201)
Let property `__func__` of class `MethodType` return `Callable[..., Any]` instead of `_StaticFunctionType` and remove the latter.

Co-authored-by: Tyralla <tyralla@bce01.de>
2024-01-30 20:22:52 -08:00
github-actions[bot]
1b5ef134c0 [stubsabot] Bump tree-sitter-languages to 1.10.* (#11228)
Release: https://pypi.org/pypi/tree-sitter-languages/1.10.0
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Repository: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.8.0...v1.10.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `tree_sitter_languages/__init__.py`.
 - Total lines of Python code added: 1.
 - Total lines of Python code deleted: 1.
2024-01-30 20:21:46 -08:00
Hoël Bagard
67df2df466 tensorflow: Add (and rename) aliases (#11324) 2024-01-30 20:15:15 -08:00
github-actions[bot]
638a55d5dd [stubsabot] Bump flake8-bugbear to 24.1.17 (#11278)
Release: https://pypi.org/pypi/flake8-bugbear/24.1.17
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.17

Stubsabot analysis of the diff between the two releases:
 - 3 public Python files have been added: `tests/b036.py`, `tests/b037.py`, `tests/b038.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `bugbear.py`.
 - Total lines of Python code added: 410.
 - Total lines of Python code deleted: 35.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-01-30 20:15:04 -08:00
Shantanu
21f84d09c3 concurrent.futures: allow as_completed to act covariantly (#11291) 2024-01-30 20:14:29 -08:00
Hoël Bagard
98ba275d5e tensorflow: add some tensorflow functions (#11326) 2024-01-30 19:57:25 -08:00
Hoël Bagard
68ae493297 tensorflow: add tensorflow.math.reduce_variance (#11328) 2024-01-30 19:55:24 -08:00
Philipp A
8018337109 [docutils] Add remaining node classes and functions (#11255)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-01-30 19:14:05 -08:00
Hoël Bagard
0f524217d6 tensorflow: fix tensorflow.VariableSynchronization (#11330) 2024-01-30 10:46:59 -08:00
Alex Waygood
c50a641fc8 regr_test.py: Run mypy with --no-incremental (#11346) 2024-01-30 08:59:20 -08:00
Frédéric Perrin
edd99220dc Add stubs for RPi.GPIO (#11345) 2024-01-30 15:17:22 +01:00
Sebastian Rittau
8e872a022c numbers: Remove Any annotations (#11347) 2024-01-30 15:17:06 +01:00
Shantanu
9d445b0eef Move resource.struct_rusage import (#11343) 2024-01-30 00:52:05 -08:00
github-actions[bot]
3881b1b81a [stubsabot] Bump pytz to 2023.4 (#11341) 2024-01-30 02:10:53 +01:00
dependabot[bot]
ba5098c462 Bump aiohttp from 3.9.1 to 3.9.2 (#11342)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.9.2)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 01:04:29 +00:00
Sebastian Rittau
3dbb2573e6 Remove flake8-plugin-utils (#11339)
Closes: #6913
2024-01-29 13:47:15 +00:00
Sebastian Rittau
ed97b42ee2 [pyOpenSSL] Update to 24.0.* (#11338) 2024-01-29 14:09:40 +01:00
Avasam
81070c4dbc posixpath.commonpath supports Iterable parameter (#11310) 2024-01-29 13:13:34 +01:00
github-actions[bot]
a661dcc6b4 [stubsabot] Bump seaborn to 0.13.2 (#11317) 2024-01-29 13:07:02 +01:00
Avasam
5785712eff pywin32: Remove reference to stubgen dll analysis issue (#11323) 2024-01-29 12:06:56 +01:00
Anders Kaseorg
fd89040900 markdown: Restore wrongly deleted DoubleTagPattern (#11335) 2024-01-28 19:12:16 -05:00
Andrew
6d9f28a7ca http.serverBaseHTTPRequestHandler.date_time_string: timestamp is a float (#11322) 2024-01-27 12:29:24 +01:00
Avasam
0b8841edd8 pywin32: Use PEP 570 positional-only argument syntax and fix arguments (#11321) 2024-01-27 12:27:05 +01:00
David Salvisberg
d3b45a4de9 WebOb: CacheControl descriptors are always allowed to accept None (#11288) 2024-01-26 23:54:13 -08:00
Avasam
7c2d0f1a50 Update mypy issue reference to duplicated original issue (#11320)
See https://github.com/python/mypy/issues/13975#issuecomment-1912484800
2024-01-26 12:18:42 -08:00
github-actions[bot]
950fa58a85 [stubsabot] Mark python-slugify as obsolete since 8.0.2 (#11316)
Release: https://pypi.org/pypi/python-slugify/8.0.2
Homepage: https://github.com/un33k/python-slugify
Repository: https://github.com/un33k/python-slugify
Diff: https://github.com/un33k/python-slugify/compare/v8.0.1...v8.0.2

---------

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2024-01-26 11:52:36 +00:00
Hoël Bagard
4fa759f12a Add convert_to_tensor to tensorflow (#11292) 2024-01-25 16:48:54 -08:00
Oleg A
b4f60ac5bf asyncio: Correct _waiters type (#11315) 2024-01-25 20:24:54 +01:00
Adam Dangoor
26452a7c68 Add docutils.nodes.system_message and .BackLinkable
Add stubs for docutils.nodes.system_message and docutils.nodes.BackLinkable
2024-01-25 11:27:10 +01:00
Adam Dangoor
ce45bc3a1c Ad docutils.nodes.raw and docutils.nodes.Inline (#11312) 2024-01-25 11:25:38 +01:00
Viicos
8b9b0f4d03 Add missing long_description_content_type kwarg to setuptools (#11309) 2024-01-24 18:27:44 +01:00
Adam Dangoor
289c3f79b0 Add type stubs for docutils.nodes.literal_block and docutils.nodes.Fi… (#11308) 2024-01-24 15:36:18 +01:00
Adam Dangoor
b96d40a16c Add substitution_defs to docutils.nodes.document (#11307) 2024-01-24 15:21:53 +01:00
Adam Dangoor
d689b486c0 Add parameter type to PreparedRequest.prepare_content_length (#11304) 2024-01-24 13:41:27 +01:00
Adam Dangoor
b6d121600e Add a number of properties to PIL.ImageStat.Stat (#11303) 2024-01-24 13:39:05 +01:00
Viicos
3195d86538 Update CONTRIBUTING.md to add full support for @deprecated (#11301) 2024-01-23 12:50:28 -08:00
Andrew
62292cdd93 [oauthlib] Fix return types of Client methods (#9908) 2024-01-23 12:30:54 +01:00
shz42
2168ab5ff4 Add tuple key type for memoryview.__getitem__ and __setitem__ (#11296) 2024-01-21 05:14:34 +01:00
Akuli
02e19d6e2d tkinter: font size must be integer (#11295) 2024-01-21 02:10:29 +01:00
Zack Cerza
8885cc870c Re-export ChannelFile from paramiko (#11290) 2024-01-19 08:04:36 +01:00
Taavi Väänänen
c51de8ee68 ldap3: Connection: auto_bind also supports booleans (#11289) 2024-01-18 12:42:35 +01:00
fovc9
7129bd112b psycopg2: Add ReplicationCursor.consume_stream (#11283) 2024-01-18 01:54:36 +01:00
Jake Bailey
605e9a7b99 Bump pyright-action to v2 (#11286) 2024-01-17 20:01:48 +00:00
Mike Zimin
11b842cd80 Added some typings to peewee stubs (#11284) 2024-01-17 13:57:37 +01:00
github-actions[bot]
9e6df04fb7 [stubsabot] Bump jsonschema to 4.21.* (#11281) 2024-01-17 08:51:01 +01:00
Jörn Bethune
770724013d defusedxml: Add xml.dom.minidom.Document return type annotation (#11279) 2024-01-16 12:47:37 +01:00
Wade Carpenter
26e77cbf67 Add more networkx annotations for networkx.algorithms.dag (#11224) 2024-01-15 18:52:57 +01:00