Sebastian Rittau
f7aa41245e
Drop Python 2 support in third-party stubs ( #7703 )
2022-04-27 15:32:17 +03:00
Sebastian Rittau
2d468966f5
Add various missing generic arguments ( #7702 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-27 15:25:35 +03:00
Milan Boers
ae09e4e866
Add more typing hints for requests ( #7696 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2022-04-27 14:40:20 +03:00
Sebastian Rittau
fa4677424a
Remove Python 2 support from simplejson ( #7704 )
2022-04-27 11:57:29 +02:00
Sebastian Rittau
60f0497a72
Drop support for Python 2 in termcolor ( #7707 )
2022-04-27 12:56:38 +03:00
Sebastian Rittau
cfdff16e4e
Drop Python 2 support from chardet ( #7708 )
2022-04-27 12:54:40 +03:00
Sebastian Rittau
03e1e3b4d3
Drop Python 2 support from python-gflags ( #7709 )
2022-04-27 12:54:12 +03:00
Sebastian Rittau
98aa6d75fe
Drop Python 2 support from python-dateutil ( #7715 )
2022-04-27 12:52:46 +03:00
Sebastian Rittau
5edf5f0cc9
Remove Python 2 support from toml ( #7713 )
2022-04-27 12:52:28 +03:00
Sebastian Rittau
27af3dc6b1
Drop Python 2 support from click-spinner ( #7710 )
2022-04-27 12:49:27 +03:00
Sebastian Rittau
6245bc7432
Remove Python 2 support from entrypoints ( #7711 )
2022-04-27 12:47:50 +03:00
Sebastian Rittau
e916fb5f1e
Remove Python 2 support from atomicwrites ( #7712 )
2022-04-27 12:45:44 +03:00
Sebastian Rittau
891d46cbb4
Drop Python 2 support from polib ( #7714 )
2022-04-27 12:42:23 +03:00
Sebastian Rittau
f39149d3a9
Drop Python 2 support from emoji ( #7716 )
2022-04-27 12:33:42 +03:00
Sebastian Rittau
d0990a0487
Drop Python 2 support from python-nmap ( #7706 )
2022-04-27 10:58:48 +02:00
Sebastian Rittau
2fb8424503
Drop Python 2 support from croniter ( #7705 )
2022-04-27 10:58:34 +02:00
Sebastian Rittau
3a98e8be6b
Update redis stubs to 4.2 ( #7675 )
...
Closes #7597
2022-04-23 22:15:10 -07:00
Sebastian Rittau
2a0fc1b582
Annotate Error and Diagnostics ( #7671 )
...
Move cursor class to top of file so it can be used as base class
2022-04-21 21:19:34 -07:00
Richard Schwab
32871c0d64
Update PyMySQL constants ( #7670 )
2022-04-21 13:56:14 +02:00
Alex Waygood
b093c90a94
Use TypeAlias for type aliases where possible, part II ( #7667 )
2022-04-20 20:02:47 +01:00
Andrey
4a701642f2
Add typing for __iter__ in sqlalchemy.orm.Query ( #7666 )
2022-04-20 10:55:12 +01:00
Alex Waygood
819900fa55
Python 3 stubs: use str instead of typing.Text ( #7638 )
2022-04-16 15:47:00 +01:00
Alex Waygood
653f2c6ba4
Third-party stubs: import from collections.abc where possible ( #7637 )
2022-04-16 14:52:57 +01:00
Alex Waygood
66bea8ca48
Use imports instead of TypeAliases in a couple places ( #7634 )
...
Fixes #7632
2022-04-16 01:38:59 -07:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
c0e6dd3f3f
Use str instead of typing.Text ( #7629 )
2022-04-16 00:47:42 +02:00
Jukka Lehtosalo
ce88976c0d
Add back six.moves.http_cookies.Morsel ( #7617 )
2022-04-13 16:52:29 +02:00
Jukka Lehtosalo
f888995239
Add back six.moves.configparser.Error ( #7616 )
2022-04-13 14:01:03 +02:00
matt-slack
6573761324
Add stubs for Python-Jose ( #7613 )
2022-04-12 19:08:23 +02:00
Jukka Lehtosalo
75bcb07d06
Add missing definitions to six.moves.http_client ( #7615 )
...
These were removed as a side-effect of #7327 , which added
`__all__` to `http.client`. I checked that all the definitions
are present at runtime via `six.moves.http_client`.
2022-04-12 06:51:02 -07:00
Sebastian Rittau
636a7e8b37
Update bleach stubs to version 5 ( #7612 )
2022-04-11 17:48:55 -07:00
kasium
354787f6e0
Add stubs for stdlib-list ( #7608 )
2022-04-08 13:05:48 -07:00
Bao
79c654ef43
psycopg2: correct return type ( #7607 )
...
Fixes the return type of `psycopg2.cursor.fetchone()` to match the psycopg2 code:
1d3a89a0bb/psycopg/cursor_type.c (L647-L651)
1d3a89a0bb/psycopg/cursor_type.c (L748-L786)
It also matches the [psycopg2 documentation](https://www.psycopg.org/docs/cursor.html?highlight=copy_from#cursor.fetchone ) as well as the [DB-API](https://peps.python.org/pep-0249/#fetchone )
2022-04-07 15:36:26 -07:00
hasier
21171f1cb9
SQLAlchemy improvements for Operators ( #7604 )
2022-04-07 19:45:27 +02:00
hasier
754f421990
SQLAlchemy improvements for generative methods ( #7603 )
2022-04-07 13:06:46 +02:00
Hans Aarne Liblik
71d80efa43
Update pyVmomi stubs ( #7599 )
...
* Add generic base class `DynamicData`
* Add missing `key` prop to `OptionValue`
* Fix `MethodFault` not inheriting from `Exception`
* Fix `RetrieveOptions` default `maxObjects` type and default
2022-04-06 14:58:23 +02:00
Alex Waygood
1ceb486b75
Replace Union with union operator ( #7596 )
2022-04-05 23:07:31 +02:00
Sebastian Rittau
3941e959ca
Update google-cloud-ndb stubs to 1.11 ( #7593 )
2022-04-05 06:58:02 -07:00
Alex Waygood
85aec034ae
Mark many attributes as read-only properties ( #7591 )
2022-04-05 08:37:24 +02:00
Alex Waygood
ec27c00ca2
Third-party stubs: Improve several __exit__ methods ( #7575 )
2022-04-01 08:03:12 -07:00
Sebastian Rittau
4c9dc43c87
Update SQLalchemy to 1.4.34 ( #7573 )
...
Closes : #7572
2022-04-01 14:22:00 +01:00
Alex Waygood
ae6ff79c0e
flake8 config: remove line that exists only for Python-2 checking ( #7570 )
2022-04-01 08:07:16 +02:00
Hans Aarne Liblik
e8fe316a74
Add a few classes to vmodl and vmodl.fault ( #7565 )
2022-03-29 22:07:25 +02:00
Alex Waygood
a3245db63c
Remove unneeded # noqa comments, fix broken # noqa comments ( #7561 )
2022-03-28 23:17:44 +02:00
Sebastian Rittau
c41034c354
passlib: Annotate various handler methods and fields ( #7521 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-03-26 20:53:05 -07:00
Kalle Møller
9aa64fdc22
requests: Update adapters.pyi ( #7544 )
...
The cert can be
* A string / bytes which is a path to a certfile
* A tuple with two string / bytes, where the first is the certfile and the second is a keyfile
* None (optional)
The tuple could be anything indexable, but there are strict requirement to actualle have two items, don't know if there is something more generic
See https://github.com/psf/requests/blob/main/requests/adapters.py#L242-L248
2022-03-26 20:41:25 -07:00
dset0x
a018110980
DateTimeRange: __contains__ accepts datetime.datetime ( #7541 )
2022-03-24 11:39:19 +01:00
Sebastian Rittau
251dd52b57
Remove backports_abc third-party package ( #7533 )
...
The last release was in 2016 and it's not required in any currently
supported Python 3 version.
2022-03-22 11:43:59 -07:00
kasium
dd1265c0e6
Mark pre/post tasks in invoke tasks as iterable ( #7531 )
2022-03-22 16:06:22 +01:00
kasium
108c3ab710
Fix wrong return type of invoke decorator ( #7536 )
...
Closes #7530
2022-03-22 14:30:51 +01:00