Ali Hamdan
2e85a70c4c
psycopg2: make Range generic ( #11435 )
...
And some other small fixes
2024-02-17 07:42:53 -08:00
Tanguy Rossel
498ab71a34
defusedxml.ElementTree: useElement from ElementTree instead of minidom ( #11305 )
2024-02-17 15:56:08 +01:00
Andrew Murray
67a80c67df
Added types for olefile ( #11416 )
2024-02-17 15:50:01 +01:00
github-actions[bot]
ef94b9ee04
[stubsabot] Bump netaddr to 1.1.* ( #11424 )
...
Co-authored-by: stubsabot <>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-02-17 12:51:40 +00:00
Hoël Bagard
6087745bcf
tensorflow: add tf.ones, tf.zeros, tf.zeros_like and tf.ones_like functions (#11368 )
2024-02-16 21:52:05 -08:00
Hoël Bagard
d93ee88ba5
tensorflow add tf.random module (#11359 )
...
Partially from Mehdi Drissi's stubs.
2024-02-16 21:33:16 -08:00
Colin Watson
c9f74e646a
requests: Allow passing None header values ( #11370 )
...
https://github.com/python/typeshed/pull/7773 changed
`requests.session.Session` methods to accept None for header values, but
didn't do quite the same for the functions in `requests.api`. I think
this was a mistake. The functions in `requests.api` just pass through
the `headers` argument without doing anything in particular to it.
Furthermore, it's useful to be able to pass None as a header value:
because `requests.utils.default_headers` sets an `Accept-Encoding`
header by default, the easiest way to send a request with no
`Accept-Encoding` header is something like `requests.get(url,
headers={"Accept-Encoding": None})`. It's annoying to have to construct
a `Session` just to pass type-checking.
It's a little confusing for the type alias to be called
`_HeadersUpdateMapping` in `requests.sessions` but `_HeadersMapping` in
`requests.api`; this is because the latter name was already used in
other type stubs (`tensorflow.keras.callbacks`), so it seemed best to
avoid breaking API.
2024-02-16 21:16:15 -08:00
Hoël Bagard
15fa3cf0c5
tensorflow: Add members from tensorflow.keras.metrics (#11329 )
...
Partially taken from: https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/keras/metrics.pyi
2024-02-16 21:13:03 -08:00
Hoël Bagard
69354d78ad
tensorflow: add tf.distribute.experimental.coordinator.RemoteValue (#11349 )
2024-02-16 21:11:21 -08:00
github-actions[bot]
a48fb24a94
[stubsabot] Bump gevent to 24.2.* ( #11425 )
...
Release: https://pypi.org/pypi/gevent/24.2.1
Homepage: http://www.gevent.org/
Repository: https://github.com/gevent/gevent
Diff: https://github.com/gevent/gevent/compare/23.9.1...24.2.1
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 4.
- Total lines of Python code deleted: 4.
2024-02-16 20:11:45 -08:00
Hoël Bagard
8061e58dcf
tensorflow: add tf.strings module (#11380 )
...
Partially taken from:
https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/strings.pyi
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-02-16 20:08:43 -08:00
Hoël Bagard
0f0e261b90
tensorflow: Add some tf.raw_ops members. (#11387 )
...
https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/raw_ops.pyi
2024-02-16 19:06:56 -08:00
Kanishk Pachauri
aed633ec95
fix: typo on setuptools ( #11432 )
2024-02-16 18:59:24 +01:00
Hoël Bagard
55dd99a338
tensorflow Add tensorflow.summary module (#11358 )
...
Partially derived from https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/summary.pyi
2024-02-16 06:05:54 -08:00
David Salvisberg
9b260a59cc
oauthlib: Fix annotations for oauthlib.oauth2.RequestValidator ( #11417 )
2024-02-16 05:46:32 -08:00
Sebastian Rittau
8a38ae62fb
Update fpdf2 to 2.7.8 ( #11410 )
...
Closes : #11407
2024-02-16 05:45:29 -08:00
Leonard Richardson
cb27610970
html5lib: Additional types ( #11411 )
2024-02-15 21:26:25 -08:00
Avasam
48a0497b23
Bump setuptools to 69.1.* ( #11423 )
2024-02-14 19:58:21 +01:00
pa-tna
2c43162728
Pillow: Allow float(s) for cutoff param of autocontrast ( #11409 )
2024-02-12 14:07:03 +01:00
Andrew Murray
3e021f3330
Pillow: ImageOps.autocontrast can set low and high cutoffs separately ( #11408 )
...
ImageOps.autocontrast can set low and high cutoffs separately
2024-02-12 08:20:44 +01:00
github-actions[bot]
238772ad7e
[stubsabot] Bump influxdb-client to 1.40.* ( #11406 )
...
Release: https://pypi.org/pypi/influxdb-client/1.40.0
Homepage: https://github.com/influxdata/influxdb-client-python
Repository: https://github.com/influxdata/influxdb-client-python
Diff: https://github.com/influxdata/influxdb-client-python/compare/v1.39.0...v1.40.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.
- 4 files included in typeshed's stubs have been modified or renamed: `influxdb_client/_sync/rest.py`, `influxdb_client/client/write/point.py`, `influxdb_client/client/write_api.py`, `influxdb_client/version.py`.
- Total lines of Python code added: 133.
- Total lines of Python code deleted: 4.
---------
Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-02-12 00:48:21 +00:00
github-actions[bot]
7e6b89189f
[stubsabot] Bump pyinstaller to 6.4.* ( #11398 )
2024-02-11 16:18:04 +01:00
Ali Hamdan
0bf3951e54
netaddr: Bump to version 1.0 ( #11401 )
...
Closes #11395
2024-02-11 01:50:32 -08:00
Neil Girdhar
9d90eeb296
Fix networkx stub; location of subgraph_view, etc. ( #11385 )
2024-02-09 13:01:53 +01:00
github-actions[bot]
4eeb0e62bb
[stubsabot] Bump flake8-bugbear to 24.2.6 ( #11379 )
2024-02-08 08:33:31 +01:00
Alex Waygood
994d22bfbb
Pin peewee more tightly for stubtest ( #11372 )
...
Fixes #11367
2024-02-06 18:12:52 +00:00
Tapple Gao
dfd954c79c
Bump pexpect to 4.9 ( #11287 )
2024-02-05 22:54:48 -08:00
Alex Waygood
ed38e99138
influx-db: fix flake8 ( #11365 )
2024-02-05 18:40:17 +00:00
Avasam
489e8309b5
Type obj parameter of PIL.Image.fromarray ( #11176 )
2024-02-05 05:42:52 -08:00
Hoël Bagard
684f541357
tensorflow: Add tensorflow.keras.callbacks module (#11332 )
2024-02-05 05:19:04 -08:00
Sebastian Rittau
00ec3fe4d8
Bump influxdb-client to 1.39.* ( #11116 )
...
Type a few task-related items
2024-02-05 05:10:18 -08:00
Hoël Bagard
3600c805eb
tensorflow fix tensorflow.data.Dataset's zip (#11357 )
2024-02-04 17:23:04 -08: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
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
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
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
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
Frédéric Perrin
edd99220dc
Add stubs for RPi.GPIO ( #11345 )
2024-01-30 15:17:22 +01:00
github-actions[bot]
3881b1b81a
[stubsabot] Bump pytz to 2023.4 ( #11341 )
2024-01-30 02:10:53 +01:00
Sebastian Rittau
3dbb2573e6
Remove flake8-plugin-utils ( #11339 )
...
Closes : #6913
2024-01-29 13:47:15 +00:00