Nikita Sobolev
9668ecd27c
Mark decorator as complete ( #8897 )
2022-10-14 11:02:38 -07:00
Jonathan Plasse
f9ed090cfc
Fix paho-mqtt typing errors ( #8878 )
2022-10-13 20:54:50 -07:00
Anton Grübel
ccd468fd86
urllib.parse: extend unquote type hint and replace _Str with str | bytes ( #8877 )
2022-10-13 20:54:07 -07:00
Nikita Sobolev
f07e68d7a4
[redis] Type redis.commands.parser ( #8870 )
2022-10-13 20:52:13 -07:00
Candy
a702daa631
Fixed ctypes pointer typing errors ( #8880 )
2022-10-13 20:18:00 -07:00
Nikita Sobolev
9ba53492fc
Mark colorama as completed ( #8887 )
2022-10-13 20:15:01 -07:00
Samuel T
c4361674ac
Fix issues with finding stubs in scripts/runtest ( #8896 )
2022-10-13 20:11:23 -07:00
Stanislav Zmiev
f689a3a93a
passlib: allow password hashes to be None for verify() ( #8888 )
2022-10-13 13:23:37 -07:00
Allison Karlitskaya
c88c9dd18d
asyncio: fix SubprocessTransport.send_signal return type ( #8890 )
2022-10-13 13:17:48 +02:00
Nikita Sobolev
f02093cb64
Mark chevron as completed ( #8884 )
2022-10-12 09:35:12 +01:00
Shantanu
33e1a34e3c
subprocess: use narrower types for TimeoutExpired.std* ( #8886 )
...
See https://github.com/python/cpython/pull/97685
The union type should be acceptable given https://github.com/python/cpython/issues/87597#issuecomment-1207402415 . In general I'd like us to be able to type this, since these being bytes can be surprising if you pass text=True, but we'll see what mypy_primer says
2022-10-11 21:20:44 -07:00
github-actions[bot]
1894ee903e
[stubsabot] Mark Flask-SQLAlchemy as obsolete since 3.0.1 ( #8849 )
...
Release: https://pypi.org/pypi/Flask-SQLAlchemy/3.0.1
Changelog: https://flask-sqlalchemy.palletsprojects.com/changes/
Diff: https://github.com/pallets-eco/flask-sqlalchemy/compare/2.5.1...3.0.1
Co-authored-by: stubsabot <>
2022-10-12 01:30:56 +01:00
Samuel T
573ee94f35
All scripts/tests: always specify file encoding in calls to open() ( #8882 )
2022-10-11 22:29:36 +01:00
Nikita Sobolev
5ca2d77f85
Mark atomicwrites as complete ( #8883 )
2022-10-11 14:28:39 -07:00
Reuben Thomas
708996dff0
regex: add support for RegexFlag class ( #8881 )
2022-10-11 17:07:09 +02:00
Robert Schweizer
c9e6bd2df9
Allow PIL.Image.MAX_IMAGE_PIXELS to be None ( #8876 )
...
`_decompression_bomb_check()` explicitly checks for `None` and handles it as "unlimited".
2022-10-10 07:26:07 -07:00
Nikita Sobolev
fe3a34503c
Cancel old mypy_primer builds ( #8873 )
2022-10-10 01:28:17 -07:00
Samuel T
1d7ace353a
Bump PyInstaller-stubs to 5.5 ( #8874 )
2022-10-10 04:22:55 +01:00
github-actions[bot]
3bcb0508f6
[stubsabot] Bump flake8-builtins to 2.0.* ( #8872 )
...
Release: https://pypi.org/pypi/flake8-builtins/2.0.0
Homepage: https://github.com/gforcada/flake8-builtins
Diff: https://github.com/gforcada/flake8-builtins/compare/1.5.3...2.0.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: `flake8_builtins.py`.
- Total lines of Python code added: 338.
- Total lines of Python code deleted: 546.
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 <>
2022-10-09 12:49:31 +01:00
Hassan Abouelela
70e48ff799
Mention how to run stubtest directly on third party stubs ( #8868 )
...
Signed-off-by: Hassan Abouelela <hassan@hassanamr.com >
2022-10-08 17:15:35 -07:00
Alex Waygood
6a2232a30b
Improve docs on running stubtest locally ( #8822 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2022-10-08 16:29:48 -07:00
Alex Waygood
d1375f600c
Remove stubs for freezegun ( #8867 )
2022-10-07 11:48:04 -07:00
Samuel T
99cb36a784
pywin32: Complete modules using stubgen & stubtest ( #8866 )
...
Complete modules using stubgen & stubtest
2022-10-07 18:56:17 +01:00
Nikita Sobolev
4579094f77
Bump tabulate to 0.9 version ( #8865 )
2022-10-07 06:03:18 -07:00
Nikita Sobolev
76e18379a2
Add two more methods to pep8-naming stub ( #8864 )
2022-10-07 06:00:14 -07:00
Marc Mueller
93075bf2fc
Use general type ignore for asyncio.Task ( #8861 )
2022-10-07 02:51:14 +01:00
Jelle Zijlstra
9733901770
psycopg2: __nonzero__ was removed ( #8863 )
...
Fixes #8862
2022-10-07 02:23:56 +01:00
Alex Waygood
8b41b1337b
Bump flake8-pyi and black to latest versions ( #8859 )
2022-10-06 16:45:02 -07:00
Marc Mueller
f5369536b9
Update for typing_extensions 4.4.0 ( #8821 )
...
* TypeVarLike default parameters (PEP 696)
* TypeVarLike auto_inference parameter (PEP 695)
* Add typing_extensions.override (PEP 698)
* Add typing_extensions.Any
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-10-06 16:17:57 -07:00
Alex Waygood
e173cbe7b6
Mark requests stubs as complete ( #8858 )
...
Co-authored-by: Kevin Kirsche <kevin.kirsche@one.verizon.com >
2022-10-06 15:31:02 -07:00
Anders Kaseorg
9da105d4d9
markdown: Specify md type ( #8857 )
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-10-06 14:20:05 -07:00
Jonathan Plasse
fa82452aa0
Add paho-mqtt stubs ( #8853 )
2022-10-06 17:23:35 +02:00
Nikita Sobolev
1459adcac5
ZoneInfo.clear_cache can have Optional input (#8856 )
2022-10-06 13:38:52 +02:00
Alex Waygood
5d45e3babc
fpdf2: complete stubs (#8855 )
2022-10-06 11:36:26 +02:00
Alex Waygood
aeb16b155b
stubsabot: only update existing branches if the diff relative to master would be different ( #8854 )
2022-10-05 17:35:20 -07:00
Nikita Sobolev
6e84b56016
Add metaclasses for string.Template and dataclasses.InitVar ( #8852 )
2022-10-05 14:41:24 -07:00
Shantanu
ae1cca13c1
stubsabot: try and fix change detection logic ( #8851 )
2022-10-05 09:53:57 -07:00
Shantanu
9b5ea00fed
stubsabot: add some debug logs ( #8850 )
...
For #8778
2022-10-04 15:05:17 -07:00
github-actions[bot]
4b44119d0d
[stubsabot] Bump braintree to 4.17.* ( #8847 )
...
Release: https://pypi.org/pypi/braintree/4.17.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
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 <>
2022-10-04 14:47:04 -07:00
github-actions[bot]
378de18f6d
[stubsabot] Bump pytz to 2022.4 ( #8848 )
...
Release: https://pypi.org/pypi/pytz/2022.4
Homepage: http://pythonhosted.org/pytz
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 <>
2022-10-04 14:46:47 -07:00
Alex Waygood
e73fcf220e
mypy_test.py: Remove unused seen variable/parameters (#8846 )
2022-10-04 14:38:31 -07:00
Alex Waygood
5cb7ef1f73
stubsabot: use an ssh-key when checking out typeshed ( #8844 )
...
Fixes #8434 .
This uses a new ssh key that @JelleZijlstra just set up for our repo ([this option](https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-using-ssh-deploy-keys ) in Peter Evans's guide to getting checks to run on automated PRs. It seems to be a good option in terms of both security and usability. It's also the option used by `oddbird/MetaDeploy` [here](https://github.com/oddbird/MetaDeploy/blob/main/.github/workflows/upgrade-deps.yml#L20 ), and they seem pretty happy about it (they wrote a nice blog post about their automated PRs for uprading dependencies [here](https://www.oddbird.net/2022/06/01/dependabot-single-pull-request/ ).)
2022-10-04 14:13:18 -07:00
Alex Waygood
08a3359e94
Run stubsabot daily, not weekly ( #8845 )
...
I think stubsabot has been a really big success. Let's change it to a daily workflow, so that we don't get an avalanche of PRs every Friday, and so that we can see more quickly if a PR changing stubsabot has accidentally broken the script. (If that _does_ happen, it should be pretty easy to just revert the commit that accidentally broke stubsabot, and go back to a version that works pretty well.)
2022-10-04 14:12:50 -07:00
Alex Waygood
55cddc7ac7
mypy_test.py: restore previous behaviour where all third-party stubs are tested by default (#8842 )
2022-10-04 11:01:51 -07:00
Alex Waygood
1fc58e5413
Use stubgen's --export-less option in create_baseline_stubs.py ( #8843 )
2022-10-04 10:58:51 -07:00
Alex Waygood
477bfa2e92
Stubsabot: Add analysis of the diff to the PR body ( #8817 )
2022-10-04 10:14:39 -07:00
Shantanu
807f3a8fc6
Update open stubsabot PRs ( #8813 )
...
Fixes #8778
Note that not fixing this has some advantages, particularly if stubsabot
waits a little while after releases before making PRs (as discussed
earlier). Specifically, it gives us more coverage of upstream versions
and might provide a natural division of changes, compared to PRs that
make updates corresponding to several upstream versions.
2022-10-04 08:07:25 -07:00
Alex Waygood
5da171ba45
mypy_test.py: Always add dependencies of stubs to the files to test (#8800 )
2022-10-04 08:05:13 -07:00
Samuel T
e5d52a39d4
Script to run all checks locally ( #8798 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-10-04 07:21:10 -07:00
Sebastian Rittau
61de308e29
Update pyOpenSSL stubs to 22.1.* ( #8838 )
2022-10-04 05:29:16 -07:00