Commit Graph
100 Commits
Author SHA1 Message Date
Avasam fa3ab94f47 Bump setuptools to 73.0.* (#12564) 2024-08-21 12:51:52 +02:00
AvasamandAlex Waygood 937270df0c Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-08-18 16:03:34 -04:00
Avasam 34b8c79138 [February 2025] flake8-2020 is an archived repo (#12539) 2024-08-17 21:20:51 +02:00
Avasam ad56f205ac Update outdated labels and stub_uploader timing in CONTRIBUTING.md (#12540) 2024-08-17 21:17:32 +02:00
Avasam 45627d18dd Update incorrect or incomplete constants in distutils (#12536) 2024-08-17 20:51:42 +02:00
Avasam b3c077f4c5 Flake8-2020: Add Final and remove Any (#12538) 2024-08-17 19:45:36 +01:00
Avasam a919d8dfe3 distutils & setuptools: all possible dynamic command method overloads (#12507) 2024-08-12 13:42:09 +02:00
Avasam d3ca513ddb Bump tensorflow to 2.17.* (#12512) 2024-08-12 13:39:34 +02:00
Avasam e2aea1e70f Bump pyinstaller to 6.10.* (#12513) 2024-08-11 09:34:08 +03:00
Avasam 9cdedcc130 Add __all__ to distutils.command (#12508) 2024-08-11 00:10:41 +03:00
Avasam ac8720b99d Setuptools stubs update from merging upstream (#12400) 2024-07-25 16:46:22 +02:00
Avasam 2aeb777cde Replace bare Any in setuptools (#12406) 2024-07-25 13:38:07 +02:00
Avasam 0b1d35829b setuptools & distutils: ClassVar mutables (and tuples) (#12403) 2024-07-23 14:17:02 +02:00
Avasam ef42f3b765 distutils: Type execute using TypeVarTuple (#12405) 2024-07-23 13:16:14 +01:00
Avasam 6ddef4333d Bump setuptools to 71.1.* and mark pkg_resources as obsolete (#12397) 2024-07-22 13:23:39 +02:00
Avasam 1b560bbf6a Bump setuptools to 71.0.* (#12381) 2024-07-21 13:09:27 +02:00
Avasam 45d162c9ee Bump setuptools to 70.2.* (#12261) 2024-07-03 12:59:08 +02:00
Avasam 326b325879 Add upstream_repository for reportlab (#12223)
This was found at https://docs.reportlab.com/releases/#reportlab-build-process
2024-06-26 13:37:33 -04:00
Avasam a6bd781626 Update setuptools to v70.1.1 (#12215) 2024-06-26 08:17:03 +02:00
Avasam c709686511 Bump peewee to 3.17.5 (#12201) 2024-06-25 12:31:28 +02:00
Avasam bf03f9b63a Bump pyinstaller to 6.8.* (#12198) 2024-06-25 12:27:35 +02:00
Avasam 1dbf21fa8b Bump protobuf to 5.27.* (#12197) 2024-06-25 12:26:56 +02:00
Avasam c11fc20651 Small fix for pkg_resources StrPath (#12015) 2024-05-23 09:13:53 -07:00
Avasam 50cbca413c Make shutil.rmtree.onexc parameter optional (#12002) 2024-05-22 22:41:25 +02:00
Avasam 06efe457d4 Bump setuptools to 70.0 (#11994) 2024-05-22 17:21:17 +02:00
AvasamandJelle Zijlstra a375953f63 distutils & setuptools: Relax path related params (#11948)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-20 23:41:20 -04:00
Avasam 1230ced066 runtests: Run pre-commit only on specified files (#11949) 2024-05-18 09:07:42 -04:00
Avasam 003361c006 Make distutils.dist.Distribution.get_command_obj not return None by default (#11950) 2024-05-18 11:38:48 +02:00
Avasam 3e0269bc6c distutils & setuptools: Complete sub_commands ClassVar typing (#11951) 2024-05-18 11:36:49 +02:00
Avasam c99adf4b85 distutils: improve boolean parameters with int defaults (#11928) 2024-05-17 08:33:18 +02:00
Avasam ef42294f92 Avoid using new _typeshed protocol in pkg_resources for now (#11909) 2024-05-12 16:19:58 -04:00
Avasam bdf75023df openpyxl: Use duck typing for workbook sheets (#11718) 2024-04-27 15:16:22 +02:00
Avasam 7858e6058b Bump waitress to 3.0.* (#11803) 2024-04-22 17:24:08 +02:00
Avasam b3bfdadb45 Bump tensorflow to 2.16.* (#11696) 2024-04-22 16:37:33 +02:00
Avasam b3bfbefa7f Create script to generate s2clientprotocol protobuf stubs (#11772)
Regenerate using mypy-protobuf 3.6
2024-04-22 15:05:21 +02:00
Avasam 0deaca4862 Bump boltons to 24.0.* (#11804) 2024-04-22 15:03:38 +02:00
Avasam ae5c45b983 Bump docutils to 0.21.* (#11805) 2024-04-22 14:58:21 +02:00
Avasam 1017c525f8 Simplify protoc install in protobuf generation scripts (#11785) 2024-04-21 19:33:31 +02:00
Avasam 425db9c122 waitress: stubtest-complete and update usage of Any (#11796) 2024-04-20 14:34:40 +02:00
Avasam 4095e0bada Bump pycurl to 7.45.3, update platform tests (#11792) 2024-04-20 14:29:30 +02:00
Avasam ffdef2f2ea Bump editdistance to 0.8.* (#11795) 2024-04-20 14:28:39 +02:00
Avasam ce049d505f Bump protobuf to 5.26.* (#11784)
Also update generate_proto_stubs script
2024-04-19 09:01:50 +02:00
Avasam 51d6ecfbbe Bump dateparser to 1.2.* (#11786) 2024-04-19 08:58:09 +02:00
Avasam 48a845e070 Bump peewee to 3.17.3 and fix stubtest entries (#11787) 2024-04-19 08:52:39 +02:00
Avasam d26f125160 Move Ruff unsafe-fixes from pre-commit to config (#11783) 2024-04-18 18:44:51 +01:00
Avasam 12b9e48324 Update Ruff and enable F821 in stubs (#11771) 2024-04-17 09:50:58 -07:00
Avasam b9fd082cf7 Bump pyinstaller to 6.6.* (#11764) 2024-04-14 19:33:06 +02:00
Avasam fe02cba606 Bump mypy-protobuf in sync_tensorflow script and improve generation scripts (#11740) 2024-04-10 09:12:07 -04:00
AvasamandJelle Zijlstra 1af2babc03 Allow bytes in winreg.SetValueEx (#11655)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-04-09 21:25:19 -04:00
Avasam 144ac0a1a8 Bump protobuf to v25.3 (#11694) 2024-04-09 20:55:27 +02:00
AvasamandAlex Waygood a1c7926e62 Re-order ruff runs in pre-commit (#11737)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-09 19:07:12 +01:00
Avasam dc4bfc02ef Update vscode editor.codeActionsOnSave.source.* settings (#11735) 2024-04-09 09:06:46 +02:00
Avasam 26c218818b pywin32: Improve SHGetPropertyStoreFromParsingName type definition (#11654)
Improve SHGetPropertyStoreFromParsingName type definition
2024-04-07 07:18:19 -04:00
Avasam 2135c8ced8 Bump protobuf to v24.4 and update generator script (#11693) 2024-04-07 06:57:40 -04:00
Avasam e922682603 openpyxl: Reduce false-positives in Worksheet.__getitem__ (#11717) 2024-04-07 06:53:26 -04:00
Avasam 79ce732c78 braintree: Cleanup overzealous reexports from non __init__ modules (#11692) 2024-04-01 17:33:35 +02:00
Avasam 28fe4cc4ad braintree: Use Final for string constants (#11680) 2024-04-01 16:58:14 +02:00
Avasam 04d41675ef python-xlib: use _typeshed.Unused (#11691) 2024-04-01 15:31:32 +01:00
Avasam 48d0234508 braintree: Replace usages of Any (#11679) 2024-04-01 16:27:35 +02:00
Avasam 0cea0bc06e openpyxl: Add _WorkbookChild / ReadOnlyWorksheet / Workbook annotations (#11677) 2024-04-01 15:30:20 +02:00
Avasam ccc47c0558 stubtest-complete & Bump braintree to 4.28.* (#11678) 2024-04-01 15:20:45 +02:00
Avasam d72a34a69a Bump pyasn1 to 0.6.* (#11681) 2024-04-01 09:49:37 +01:00
Avasam 6cb57b5f26 traceback: Allow extracted_list params to be an Iterable containing tuples (#11675) 2024-03-30 18:32:27 -07:00
Avasam f36714b0fb Various pywin32 improvements (#11616) 2024-03-30 19:55:30 +01:00
Avasam 57dee8fd5b Improved pywin32 error and exception classes (#11613) 2024-03-18 14:17:30 -06:00
Avasam ff7caa30e2 setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
2024-03-16 12:06:37 +00:00
Avasam 8e2ce00623 Bump setuptools to 69.2.* (#11603) 2024-03-14 22:04:34 -07:00
Avasam dea4dd1dc1 pywin32: Correctly reference TimeType aka pywintypes.datetime (#11577)
* Correctly reference TimeType

* PyUnicode is UnicodeType
2024-03-11 22:42:51 -07:00
AvasamandJelle Zijlstra 579d208b19 Add deprecation decorator and comments for pywin32 (#11570)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-11 12:36:44 -07:00
Avasam 354ecd084f Bump pyinstaller to 6.5.* (#11563) 2024-03-10 16:32:56 +00:00
AvasamandAlex Waygood 1a942aa36d Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-10 14:35:45 +00:00
Avasam 63737acac6 pkg_resources: Make _InstallerType stricter and generic (#11527) 2024-03-09 14:37:10 -08:00
Avasam c35b3bce4e Use strict pyright configs for pkg_resources (#11538) 2024-03-08 17:35:56 +01:00
Avasam af84d2fbfe pkg_resources: Updates from upstream typing merge (#11455) 2024-03-08 15:23:55 +01:00
Avasam 52daae514a pkg_resources: Remove stray Anys and use more Self & NoReturn types (#11528) 2024-03-07 18:11:11 -08:00
Avasam 82fd9e8453 openpyxl: Simpler leftover changes from the microsoft/python-type-stubs merge (#11534) 2024-03-07 18:04:08 -08:00
Avasam 7c29ee3d8a Add @deprecated decorator to openpyxl (#11535) 2024-03-07 18:03:47 -08:00
Avasam 9e5bced2d1 pkg_resources: Remove type-only _Importer class (#11512) 2024-03-01 08:58:17 -08:00
Avasam 696333c28a pkg_resources: Types from assignments and aliases (#11511) 2024-03-01 08:48:32 -08:00
AvasamandAlex Waygood 88238202d7 Add pyupgrade check outdated-version-block (UP036) (#11509)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-01 07:15:53 -08:00
Avasam 2116158891 Remove old type-ignore explanation comments not removed in #8280 (#11513) 2024-03-01 07:10:10 -08:00
Avasam 185ef486ae Override pkg_resources.ZipProvider.loader type (#11514) 2024-03-01 07:09:51 -08:00
AvasamandAlex Waygood 26e8c0002f Enable nearly all pyupgrade rules (except on test cases) (#11499)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:33:40 +00:00
AvasamandAlex Waygood 5cb2fe97a6 Replace flake8-bugbear with Ruff (#11500)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:20:31 +00:00
Avasam 3a06fc7c1a setuptools & pkg_resources: Complete VendorImporter class (#11495) 2024-02-28 22:48:26 -08:00
Avasam 5a9033720d pkg_resources: don't ignore "missing symbol from stub" in stubtest (#11494) 2024-02-28 22:31:19 -08:00
Avasam da69247514 Code improvements from new Ruff checks (#11498) 2024-02-28 22:30:18 -08:00
Avasam c75ecf0bca Fix invalid noqa comments and poorly formatted type ignores (#11497) 2024-02-28 22:27:07 -08:00
Avasam 5e9589dd75 pkg_resources: Reorder names to be closer to implementation (#11493) 2024-02-28 17:20:21 -08:00
Avasam 3c08a97656 Improve typing of sysconfig.get_config_var(s) (#11454) 2024-02-22 09:52:41 -08:00
Avasam bb6613f379 shlex.split: allow TextIO and deprecate None (#11451) 2024-02-19 06:10:01 +01:00
Avasam 48a0497b23 Bump setuptools to 69.1.* (#11423) 2024-02-14 19:58:21 +01:00
Avasam 489e8309b5 Type obj parameter of PIL.Image.fromarray (#11176) 2024-02-05 05:42:52 -08:00
Avasam faf9d77d79 Bump networkx to 3.2.1 (#11336) 2024-01-31 07:30:20 +01:00
Avasam 81070c4dbc posixpath.commonpath supports Iterable parameter (#11310) 2024-01-29 13:13:34 +01:00
Avasam 5785712eff pywin32: Remove reference to stubgen dll analysis issue (#11323) 2024-01-29 12:06:56 +01:00
Avasam 0b8841edd8 pywin32: Use PEP 570 positional-only argument syntax and fix arguments (#11321) 2024-01-27 12:27:05 +01:00
Avasam 7c2d0f1a50 Update mypy issue reference to duplicated original issue (#11320)
See https://github.com/python/mypy/issues/13975#issuecomment-1912484800
2024-01-26 12:18:42 -08:00
Avasam cf6bafbaf2 override http.HTTPMessage methods to only use str for the header type (#11114) 2023-12-19 08:37:57 +01:00
Avasam 91b35bb5f5 Review SupportsInt and SupportsFloat usages in 3rd-party stubs (#11003) 2023-12-18 14:14:37 +01:00