Commit Graph

8695 Commits

Author SHA1 Message Date
Hoël Bagard 3600c805eb tensorflow fix tensorflow.data.Dataset's zip (#11357) 2024-02-04 17:23:04 -08:00
Alex Waygood bf58d62e74 Update test dependencies (#11361) 2024-02-05 00:53:21 +00:00
Alex Waygood c49c84f319 A new shade of Black (#11362) 2024-02-04 16:38:55 -08:00
Hoël Bagard 7a6a749449 tensorflow: bump version to 2.15 (#11352) 2024-02-03 07:28:25 -08:00
github-actions[bot] 5ce34dc096 [stubsabot] Bump pytz to 2024.1 (#11355) 2024-02-03 02:22:13 +01:00
Alex Waygood 4d8ee113fb Add more return types to the numbers module (#11353) 2024-02-01 18:12:41 +00:00
Hoël Bagard 587e75ff88 tensorflow: add tf.train.CheckpointOptions and other tf.train members. (#11327) 2024-02-01 07:33:13 -08:00
Nikita Sobolev 547cbc748f Remove pluggy stubs (#11351) 2024-01-31 13:30:20 -08:00
Hoël Bagard 284afde9cc tensorflow: Add some functions from the config module (#11325) 2024-01-31 07:59:45 -08:00
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