Commit Graph

2407 Commits

Author SHA1 Message Date
Danny Yang
348c44f468 Improve pymysql stubs (#12942)
Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-11-02 16:27:01 -07:00
sobolevn
04ed1db155 Bump braintree to 4.31.* (#12934) 2024-11-01 22:19:38 -07:00
github-actions[bot]
80b9bcfb43 [stubsabot] Bump flake8-bugbear to 24.10.31 (#12938)
Release: https://pypi.org/pypi/flake8-bugbear/24.10.31
Homepage: https://github.com/PyCQA/flake8-bugbear
Repository: https://github.com/PyCQA/flake8-bugbear
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/24.8.19...24.10.31

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/b041.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: 103.
 - Total lines of Python code deleted: 9.

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-11-01 21:44:16 -07:00
Danny Yang
7786587c88 Fix type annotations for google-cloud-ndb (#12943) 2024-11-01 21:43:18 -07:00
Vincent Meurisse
898cb55af3 Update type for psutil.cpu_count (#12941)
The function can return None:
567438cd3e/psutil/__init__.py (L1665-L1667)
2024-11-01 07:50:03 -07:00
Sebastian Rittau
7838ab5f98 [waitress] Update to 3.0.1 (#12917) 2024-10-29 10:15:01 +00:00
github-actions[bot]
53ee9191c2 [stubsabot] Bump croniter to 4.0.0 (#12914) 2024-10-29 09:01:47 +01:00
Avasam
335cc91b70 Bump tensorflow to ~=2.18.0 (#12916)
* Tensorflow proto script update

* Manual stubtest changes

* Use Path for arg type
2024-10-28 20:32:31 -07:00
Avasam
e92f98ccda Add win32com.gen_py (#12901) 2024-10-28 11:50:31 +01:00
Avasam
bff5547abc Use lib/ts_utils for scripts/sync_protobuf (#12913)
- Simplified `download_file` error handling (400+ return codes already raised errors!)
- Moved `update_metadata` from `scripts/sync_protobuf/_utils.py` to `lib/ts_utils/metadata.py`
- Improved `update_metadata` to support any key (values unvalidated atm) and return the modified dictionary
- Updated `scripts/stubsabot.py` to use `update_metadata`
- Updated `scripts/sync_protobuf/*` to use  `lib/ts_utils`
- Updated `scripts/sync_protobuf/tensorflow.py` and `scripts/sync_protobuf/google_protobuf.py` to use the version directly from the `METADATA.toml` file
2024-10-28 11:47:52 +01:00
Avasam
c225ac7587 Bump pyinstaller to 6.11.* (#12911) 2024-10-27 22:03:17 +01:00
Sebastian Rittau
ec1c327679 [croniter] Update to 3.0.4 (#12909) 2024-10-26 23:10:35 +02:00
Alex Waygood
9ed47fa8ec Fix linting issues (#12898)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-24 14:26:37 +01:00
David Salvisberg
f27d40fee7 WTForms: Form errors no longer use None as a special key (#12877)
This also fixes incorrect `error` attributes on `FieldList`/`FormField`
2024-10-24 11:46:59 +02:00
Avasam
df499768cb setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887) 2024-10-24 11:44:55 +02:00
Avasam
fc1e51f76b Allow pywin32 to use pywin.mfc.DocTemplate in lieu of PyCDocTemplate (#12888) 2024-10-24 11:40:24 +02:00
Avasam
78e4e036c4 Add install_data in distutils-stubs from setuptools (#12889) 2024-10-24 11:39:08 +02:00
David Salvisberg
ca65e087f1 WTForms: Fix incorrect Form constructor return type for pyright (#12875) 2024-10-22 14:38:30 +01:00
sobolevn
8b32739f13 Bump psutil to 6.1.* (#12868) 2024-10-21 17:22:44 +01:00
Delgan
0d7c6dab40 Add stubs for "netifaces" package (#12854) 2024-10-21 14:47:23 +02:00
David Salvisberg
841a037c3f Bump WTForms to ~= 3.2.1 (#12867) 2024-10-21 14:43:22 +02:00
Sebastian Rittau
b0ac25e7bd Use compatible version marker for icalendar (#12831) 2024-10-21 04:36:05 -07:00
David Salvisberg
38fbbe71d4 Bump WTForms to 3.2.* (#12865)
Add missing `__all__` declarations
2024-10-21 12:50:41 +02:00
Sebastian Rittau
b0d57cc03c Remove boto stubs (#12856)
Closes: #12848
2024-10-19 18:07:28 +02:00
Sebastian Rittau
a22e35814e [boto] Set the no_longer_updated flag (#12860) 2024-10-19 17:56:05 +02:00
Sebastian Rittau
d1c1675b20 Remove playsound stubs (#12857)
Closes: #12856
2024-10-19 17:52:54 +02:00
Sebastian Rittau
ebdd2c528d Update mypy to 1.12.0 (#12859) 2024-10-19 16:45:38 +01:00
Sebastian Rittau
890a38f424 [playsound] Set the no_longer_updated flag (#12861) 2024-10-19 17:39:01 +02:00
Kevin Mustelier
7043ec23db Improve typing for BS4 element.Tag's get and get_attribute_list. (#12840) 2024-10-19 16:46:45 +02:00
Sebastian Rittau
7fb84668fc [psycopg2] Bump to 2.9.10 (#12835)
Mark all error codes as `Final`
2024-10-18 10:34:55 -07:00
Avasam
de4842db26 Replace Any with Incomplete in distutils (#12842) 2024-10-18 17:26:08 +02:00
Avasam
81138321d9 distutils: Add some return types for setuptools to pass ANN201 (#12841) 2024-10-18 12:09:34 +02:00
Avasam
3b0ce50352 Add missing defaults to setuptools/_distutils (#12839) 2024-10-18 12:02:39 +02:00
Mike Fiedler
e646d446f5 Add a return to html5lib.HTMLSerializer.serialize() (#12838)
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2024-10-17 13:10:23 -07:00
github-actions[bot]
1993e251f7 [stubsabot] Bump setuptools to 75.2.* (#12829)
Release: https://pypi.org/pypi/setuptools/75.2.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v75.1.1...v75.2.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `setuptools/build_meta.py`, `setuptools/dist.py`.
 - Total lines of Python code added: 103.
 - Total lines of Python code deleted: 41.
2024-10-16 19:58:28 -07:00
github-actions[bot]
3187bc5b7e [stubsabot] Bump peewee to 3.17.7 (#12820) 2024-10-16 08:53:55 +02:00
Stephen Morton
f08d769f7c remove unneeded Iterable base class from CookieJar (#12812) 2024-10-15 19:47:56 +02:00
Sebastian Rittau
42f6a21a71 Bump gdb to 15.0.* (#12804)
Closes: #12777
2024-10-14 05:51:22 -07:00
Sebastian Rittau
ddf9d54dc1 Bump icalendar to 6.0.1 (#12802) 2024-10-14 05:50:52 -07:00
Avasam
4b5a7b09a4 Bump pywin32 to 308.* (#12799) 2024-10-14 10:10:56 +02:00
Max Muoto
407eeaa133 Correct types for setuptools.setup (#12791)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-10-13 14:38:31 -07:00
violetc
86e144b6d7 [peewee] Some methods return Self (#12788) 2024-10-13 15:38:07 +02:00
github-actions[bot]
9f8ee528df [stubsabot] Bump flake8-typing-imports to 1.16.* (#12784)
Co-authored-by: stubsabot <>
2024-10-12 20:22:17 +01:00
github-actions[bot]
7ccc587afb [stubsabot] Mark pygit2 as obsolete since 1.16.0 (#12785) 2024-10-12 04:33:56 +02:00
David Salvisberg
2d31815232 Bump gevent to 24.10.* (#12779) 2024-10-11 07:24:41 -07:00
Sebastian Rittau
4f94a0e140 Bump fpdf2 to 2.8.1 (#12753)
Closes: #12738
2024-10-10 07:49:39 -07:00
Sebastian Rittau
98f3e5772d [fpdf2] Add actual NamedTuple defaults (#12768) 2024-10-10 12:24:26 +02:00
Cal Jacobson
3f04e4d65b update psutil.Process.parent() return type (#12767)
per `psutil.Process.parent()`'s docstring, it may return `None`.

0a71d0e404/psutil/__init__.py (L574)
2024-10-09 22:18:35 -07:00
github-actions[bot]
4b11151a0c [stubsabot] Bump xmltodict to 0.14.* (#12757)
Release: https://pypi.org/pypi/xmltodict/0.14.0
Homepage: https://github.com/martinblech/xmltodict
Repository: https://github.com/martinblech/xmltodict
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/xmltodict
Diff: https://github.com/martinblech/xmltodict/compare/v0.13.0...v0.14.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `tests/__init__.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `xmltodict.py`.
 - Total lines of Python code added: 76.
 - Total lines of Python code deleted: 60.

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-10-08 19:19:37 -07:00
Avasam
c6b197e282 Allowlist six.create_bound_method.__code__ (Fix daily test failure) (#12759) 2024-10-08 19:17:52 -07:00