Shantanu
93211a8b5f
Update allowlist for 3.13b4 ( #12413 )
2024-07-23 00:57:53 -07:00
Shantanu
73d5a55a32
Fixes for 3.13b3 ( #12257 )
...
Fixes #12255
2024-07-01 23:07:08 -07:00
Shantanu
dcab6e8888
Use Python 3.12 for mypy_primer ( #12244 )
...
I'd like for us to cover projects that use Python 3.12 only syntax
2024-06-30 16:43:28 -07:00
Shantanu
c7664eed12
base64: add z85 for py313 ( #11976 )
2024-05-21 11:30:11 +02:00
Shantanu
5445a4a243
csv: update for py313 ( #11979 )
2024-05-18 22:17:55 -04:00
Shantanu
448870170c
stat: fix up ( #11977 )
2024-05-18 22:16:46 -04:00
Shantanu
5d580629be
sys: fix pos-only args ( #11978 )
2024-05-18 22:14:44 -04:00
Shantanu
2ab710010b
shutil: add chown args in py313 ( #11973 )
2024-05-18 15:09:31 -07:00
Shantanu
68e1396227
re: update for py313 ( #11975 )
2024-05-18 15:09:21 -07:00
Shantanu
0511881668
queue: add ShutDown to __all__ ( #11974 )
2024-05-18 18:06:42 -04:00
Shantanu
87edeb65d8
os.path etc: update for py313 ( #11965 )
2024-05-18 17:57:44 -04:00
Shantanu
2756f16a11
logging: update for py313 ( #11972 )
2024-05-18 14:49:22 -07:00
Shantanu
70d2c4ec96
statistics: add kde, kde_random in py313 ( #11941 )
2024-05-18 14:47:20 -07:00
Shantanu
2ae611a9f3
marshal: allow_code in py313 ( #11971 )
2024-05-18 14:46:59 -07:00
Shantanu
d9cf43c4c3
Mark pos-only __class_getitem__ args ( #11970 )
2024-05-18 23:27:51 +02:00
Shantanu
69dc8e291a
token, tokenize: update for py313 ( #11966 )
2024-05-18 14:21:29 -07:00
Shantanu
ac38fce019
threading: add new lock methods ( #11964 )
2024-05-18 16:55:42 -04:00
Shantanu
df735cb606
atexit: fix pos-only args ( #11969 )
2024-05-18 13:32:53 -07:00
Shantanu
c11b16882c
math: add fma in py313 ( #11968 )
2024-05-18 16:30:41 -04:00
Shantanu
7f2a1a742d
keyword: fix pos-only args ( #11967 )
2024-05-18 16:27:54 -04:00
Shantanu
bb28ef882f
code: update for py313 ( #11962 )
2024-05-18 16:22:22 -04:00
Shantanu
46dc8aac1f
faulthandler: fix pos-only arg in unregister ( #11963 )
2024-05-18 16:20:47 -04:00
Shantanu
feee9dc0f4
syslog: update for py313 ( #11960 )
2024-05-18 16:19:30 -04:00
Shantanu
1054a209d6
socket: match pos-only arg name to runtime ( #11961 )
2024-05-18 12:30:48 -07:00
Shantanu
49512463c6
http: add py313 HTTPStatus aliases ( #11935 )
2024-05-18 19:24:44 +02:00
Shantanu
6d5dc99b96
stat: fix positional-only args ( #11930 )
2024-05-18 19:24:02 +02:00
Shantanu
9f35be6664
gzip: change type of undocumented constants ( #11943 )
...
These were changed to str in py313
2024-05-18 12:35:26 -04:00
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
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
Shantanu
29db988c0a
Disable uwsgi, pyaudio, jack-client stubtest on macOS ( #11821 )
2024-04-24 08:10:33 +02:00
Shantanu
b78de5712d
uwsgi: remove unused allowlist entry ( #11754 )
...
Also wow, some of the logs that come from uwsgi are quite interesting
2024-04-13 20:07:32 -07:00
Shantanu
13265a9347
xml: update for security fix ( #11648 )
...
Fixes #11643
2024-03-22 13:07:05 -07:00
Shantanu
88fa182253
Use PEP 570 syntax in third party stubs ( #11554 )
2024-03-10 14:11:43 +01:00
Shantanu
2d146e7da2
Use PEP 570 syntax in comments ( #11552 )
2024-03-09 15:06:25 -08:00
Shantanu
470a13ab09
Use PEP 570 syntax in stdlib ( #11250 )
2024-03-09 14:50:16 -08:00
Shantanu and Alex Waygood
4d8ae17776
Bump mypy to 1.9, add to json.encoder, small fixups ( #11549 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-03-09 14:25:00 -08:00
Shantanu
21f84d09c3
concurrent.futures: allow as_completed to act covariantly ( #11291 )
2024-01-30 20:14:29 -08:00
Shantanu
9d445b0eef
Move resource.struct_rusage import ( #11343 )
2024-01-30 00:52:05 -08:00
Shantanu
5286722ef3
Fix inconsistencies in gdb stubs ( #11227 )
...
See #11225
2024-01-11 19:41:48 -08:00
Shantanu
2cafcc90a7
socket: rework to match docs more closely, improve accuracy on linux ( #11219 )
...
Match the documentation more closely
Fixes some of #8101
2024-01-04 14:36:31 -08:00
Shantanu
6fcd37456d
Move ellipsis definition to types ( #11223 )
2024-01-02 16:14:53 -08:00
Shantanu
1245faf0d5
Remove 2.7 from VERSIONS ( #11185 )
2023-12-20 14:31:22 +01:00
Shantanu and Alex Waygood
4df9634427
Remove pathlib.PurePath.__eq__ ( #10662 )
...
Fixes #10661
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-09-07 00:40:24 -07:00
Shantanu
a3f4418e90
Fix stubsabot handling of post releases ( #10667 )
...
Fixes #10666
2023-09-06 12:06:07 +02:00
Shantanu
2e407d370b
pika: fix ci ( #10633 )
2023-08-29 18:54:23 -07:00
Shantanu
23679a0cb8
stubsabot: avoid validating diff info url ( #10620 )
...
It looks like all the timeouts are happening in the get_diff_info code.
I don't think we really need to validate the URL exists. In any case, we
probably end up hitting a very similar endpoint later in analyze_diff.
2023-08-26 19:34:57 -07:00
Shantanu
2178405289
Update peewee for 3.16.3 ( #10580 )
2023-08-15 01:44:38 +01:00
Shantanu
75c71f324e
importlib.metadata: add PathDistribution._path ( #10528 )
2023-08-01 19:43:51 -07:00
Shantanu
507e714b9e
contextvars: rm -rf ( #10420 )
2023-07-07 11:26:07 -07:00
Shantanu
5ad520e27b
Mark contextvars stubs as no longer updated ( #10419 )
2023-07-07 00:16:56 -07:00
Shantanu
614aa1a2ba
Bring back a few setuptools._distutils files ( #10401 )
2023-07-04 12:11:37 +02:00
Shantanu
9e86c6026a
unittest.mock: use ParamSpec in patch ( #10325 )
...
Fixes #10324
2023-06-20 13:48:49 +02:00
Shantanu
7114aecf77
inspect: getmodulename takes a PathLike as well as str ( #10329 )
...
Fixes #10328
2023-06-18 21:19:57 +01:00
Shantanu
36efbf89ed
ftplib: update for py312 ( #10282 )
2023-06-08 00:57:44 -07:00
Shantanu
d778855052
webbrowser: update for py312 ( #10280 )
2023-06-08 08:14:10 +01:00
Shantanu
e1ab1ad2fb
calendar: update for py312 ( #10216 )
2023-06-07 00:52:19 -07:00
Shantanu
fceb3ae225
argparse: improve add_argument_group and add_mutually_exclusive_group ( #10262 )
2023-06-06 08:27:51 +02:00
Shantanu
a770216434
Make stubtest work better on macOS ( #10263 )
2023-06-04 16:10:15 -07:00
Shantanu
f8dfacb851
pathlib: more changes for py312 ( #10261 )
2023-06-05 00:04:59 +01:00
Shantanu and Alex Waygood
758afb35d4
Some light reorganisation of stubtest allowlists ( #10260 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-06-04 15:40:45 -07:00
Shantanu
ef41a9ff1a
Remove venv for stubtest stdlib ( #10259 )
2023-06-04 14:35:40 -07:00
Shantanu
7df870f452
Run stubtest for Python 3.12 ( #10253 )
2023-06-04 05:53:03 -07:00
Shantanu
03f1577607
Update pyright to 1.1.311 ( #10254 )
2023-06-04 10:02:34 +01:00
Shantanu and AlexWaygood
be85cc7121
builtins: updates for py312 ( #10211 )
...
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2023-06-04 01:05:40 +01:00
Shantanu
d6a85e2c48
Attempt to clarify the ByteString situation ( #9783 )
...
See https://github.com/python/cpython/issues/102092
This makes the behaviour of typing.ByteString better match its
documentation.
2023-05-27 21:37:38 -07:00
Shantanu
cf6fb07f2f
math: updates for py312 ( #10213 )
2023-05-25 20:21:40 +01:00
Shantanu and Alex Waygood
b7d927a53f
random: update for py312 ( #10214 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-05-25 18:49:51 +01:00
Shantanu and Alex Waygood
9a0d1e9bb9
statistics: update for py312 ( #10217 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-05-25 18:48:01 +01:00
Shantanu
7994f165da
json: add AttrDict in py312 ( #10212 )
2023-05-25 13:31:30 +01:00
Shantanu
854c453910
fractions: remove _normalize, update for py312 ( #10218 )
2023-05-25 10:21:19 +01:00
Shantanu
a4e33d4053
shutil.unpack_archive: update for py312 ( #10215 )
...
Add the new "filter" parameter
2023-05-25 09:53:25 +01:00
Shantanu
1eeab77254
Update VERSIONS for the death of smptd ( #10210 )
2023-05-25 09:49:18 +01:00
Shantanu and Alex Waygood
cc35f4be3b
setuptools: bump to 67.7 ( #10069 )
...
Fixes #10067
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-04-22 09:50:42 -06:00
Shantanu
143b9612f1
psutil: fix stubtest ( #10065 )
...
Fixes #10059
2023-04-19 20:58:49 -06:00
Shantanu
1c0500a570
bs4: update for 4.12.1 ( #10015 )
2023-04-06 08:05:21 +01:00
Shantanu
1537a598d0
email.message: fix return type of get_charsets ( #9944 )
...
Fixes #9885
2023-03-26 00:42:45 +00:00
Shantanu
aac3863752
stubsabot: fix legacy version parsing ( #9866 )
...
New `packaging` is strict and doesn't like paramiko's pokemon versioning
scheme from 2004
Fixes #9865
2023-03-10 23:30:53 -08:00
Shantanu
4b755c7034
docopt: add exception types ( #9839 )
2023-03-04 08:36:16 +00:00
Shantanu
da9366d016
Add frozen_default to dataclass_transform ( #9756 )
2023-02-18 15:25:29 -08:00
Shantanu
5c54e52e23
Fix default value of input, remove now unused allowlist entry for epoll ( #9742 )
2023-02-17 01:55:31 +02:00
Shantanu
660c832fa4
Remove prettier from pre-commit ( #9744 )
...
This doesn't autofix, see #9742
> GitHub prevented pre-commit.ci from autofixing this pr due to autofixes to a workflow file
Life is too short to spend it being yelled at by robots because line
length in some YAML is too long.
2023-02-16 15:38:39 -08:00
Shantanu
58edfea33f
email.parser: narrow io types ( #9737 )
2023-02-15 10:43:39 +01:00
Shantanu
35871f4222
Bump DateTimeRange to 2.0.* ( #9720 )
...
Release: https://pypi.org/pypi/DateTimeRange/2.0.0
Homepage: https://github.com/thombashi/DateTimeRange
Diff: https://github.com/thombashi/DateTimeRange/compare/v1.2.0...v2.0.0
2023-02-12 10:40:54 +01:00
Shantanu
398bd90b8e
whatthepatch: add parse_git_binary_diff ( #9616 )
...
Added in 1.0.4
https://github.com/cscorley/whatthepatch/pull/whatthepatch
Fixes #9615
2023-01-30 00:49:49 +00:00
Shantanu
fa204f6bd4
Update compileall stripdir type ( #9404 )
...
See https://github.com/python/cpython/pull/19883
2023-01-08 22:26:33 -08:00
Shantanu
8c0964714c
crontab: upstream did some py2 cleanup ( #9406 )
...
Fixes #9405
2022-12-23 19:41:47 -08:00
Shantanu and Jelle Zijlstra
44cdc6e284
crontab: improve types, update to 2.7 ( #9392 )
...
https://gitlab.com/doctormo/python-crontab/-/blob/v2.7.0/crontab.py
Closes #9391
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-12-22 18:42:24 -06:00
Shantanu
a3ce512095
typing: remove metaclass from Sized ( #9058 )
...
as per https://github.com/python/typeshed/pull/8977#issuecomment-1297872394
2022-11-01 18:38:52 -07:00
Shantanu
4d3cc1f613
dis: fix types ( #9025 )
...
`_get_code_object` cannot take bytes
2022-10-28 17:51:29 -07:00
Shantanu
4c48fd63b1
pyexpat: fix bytes usage ( #9017 )
2022-10-28 13:41:24 -07:00
Shantanu
c5fe795c91
xmltodict: improve parse input types ( #9018 )
2022-10-28 21:46:46 +02:00