Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rittau 92cc568325 [PyYAML] stubtest: Ignore auto-generated methods (#12497) 2024-08-07 11:28:37 +02:00
Sebastian Rittau a21c4bc4f1 Pin croniter to 3.0.0 (#12434) 2024-07-26 15:56:06 +02:00
Sebastian Rittau 9eae1ae1a5 Require documenting Any uses (#12430) 2024-07-25 17:38:12 +02:00
Sebastian Rittau 8fb8a4a489 Mark redis as obsolete (#12426) 2024-07-25 15:12:11 +02:00
Sebastian Rittau ddb9163e7d Update pyright to 1.1.372 (#12427) 2024-07-25 14:32:11 +02:00
Sebastian Rittau 6552aa3d2c Bump pyright to 1.1.372 (#12361) 2024-07-18 03:08:53 -07:00
Sebastian Rittau cc40120ee5 mypy_test: Exclude sub-modules not in current Py version (#12352) 2024-07-16 16:04:54 +02:00
Sebastian Rittau f0afb04395 Extract VERSIONS parsing to _utils.py (#12351) 2024-07-16 12:51:15 +02:00
Sebastian Rittau eb0422195e [jsonschema] Update to 4.23.* (#12301) 2024-07-11 17:02:11 -07:00
Sebastian Rittau 311612ed38 [stubsabot] Improve error message (#12273)
Cf. #12272
2024-07-04 10:01:57 +01:00
Sebastian Rittau 2110c699d6 [CI] Only create issue if daily script was run by cron (#12218) 2024-06-26 11:22:11 +02:00
Sebastian Rittau fa73f9ff4a [tensorflow] Pin keras to 3.3.* (#12221) 2024-06-26 11:03:32 +02:00
Sebastian Rittau 68408b3528 [CI] Suppress spurious brew warning (#12219) 2024-06-26 02:01:47 -07:00
Sebastian Rittau d683ddb3ed Pin reportlab to version 4.2.0 (#12220)
Part of #12213
2024-06-26 02:00:00 -07:00
Sebastian Rittau b13bb947c3 [aiofiles] Update to 24.1 (#12207) 2024-06-25 16:51:01 -07:00
Sebastian Rittau fb4bfc8674 [influxdb] Update to 1.44 (#12209) 2024-06-25 16:48:30 -07:00
Sebastian Rittau 271df8ef04 Remove obsolete mypy bug workaround in abspath() (#12208) 2024-06-25 14:01:21 +02:00
Sebastian Rittau eff4ca189c [setuptools] Update to 71.1.* (#12176) 2024-06-24 18:38:59 -04:00
Sebastian Rittau 95faa1ae24 Add tests to functools.wraps (#12173)
These tests demonstrate the issue described in #10653.
2024-06-22 07:17:09 -07:00
Sebastian Rittau 704fa5d1de [openpyxl] Update to 3.1.4 (#12142)
Also make sequence types generic
2024-06-20 11:29:14 +02:00
Sebastian Rittau dc504f5175 Deprecate logging.getLevelName(str) (#12093)
See https://docs.python.org/3/library/logging.html#logging.getLevelName
2024-06-20 00:43:46 -07:00
Sebastian Rittau 5c65b12591 [openpyxl] Fix key of Worksheet.row_dimensions (#12143)
Closes: #11845
2024-06-20 00:23:38 -07:00
Sebastian Rittau fdce887b94 Add missing struct_spwd fields (#12158) 2024-06-18 06:59:43 -07:00
Sebastian Rittau c303b3221e plock is not available on linux (#12161) 2024-06-18 06:41:55 -07:00
Sebastian Rittau e29579458d Document select.epoll.register allowlist entries (#12159) 2024-06-18 12:16:52 +02:00
Sebastian Rittau 21365a37f4 Document the availability of the os.CLONE_ constants (#12160) 2024-06-18 12:16:12 +02:00
Sebastian Rittau 212af7a526 Pin various stubs to numpy to < 2 (#12152)
Fixes #12146
2024-06-17 15:50:22 +02:00
Sebastian Rittau fcbb142dd6 [requests] Update to 2.32.3 (#12060) 2024-05-31 21:00:43 -07:00
Sebastian RittauandJelle Zijlstra f3ca3001ee Update PyMySQL to 1.1.1 (#12001)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-23 13:14:43 -04:00
Sebastian Rittau 425c69a6b9 Prefix utility modules with underscore (#11999) 2024-05-22 09:35:11 -04:00
Sebastian Rittau f9664a4325 [requests] Update to 2.32.2 (#12000)
Also replace some `Any` annotations with `Incomplete` and use `Final` in `requests.__version__`.
2024-05-22 06:16:42 -07:00
Sebastian Rittau d479e0f24a Unify stubtest allowlist handling more (#11986)
This makes it trivial to consistently extend supported allowlists in the future.
2024-05-21 08:25:32 +02:00
Sebastian Rittau 0a95341735 Marked the std streams as possibly be None (#11826) 2024-05-21 08:22:29 +02:00
Sebastian Rittau e2e3750ee9 Move stdlib allowlists to stdlib/@tests (#11982)
Rename py3_common.txt to common.txt
2024-05-20 13:23:02 +02:00
916e05ae33 Unify allowlist handling (#11889)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
2024-05-18 08:01:43 -04:00
Sebastian Rittau 8bd6cebbb4 [fpdf2] Update to 2.7.9 (#11953) 2024-05-18 06:51:24 -04:00
Sebastian Rittau 9a7ff272cc [influxdb-client] Update to 1.43.* (#11954) 2024-05-18 06:43:35 -04:00
Sebastian Rittau ef0a5c2d12 Replace types._Cell with types.CellType (#11904)
Closes #11901
2024-05-12 06:38:38 -07:00
Sebastian Rittau 27cad856f8 Add flake8 (#11676) 2024-05-09 19:50:07 -07:00
Sebastian Rittau 392ae934fc Move test_cases to stdlib/@tests/test_cases (#11865) 2024-05-09 19:27:09 -07:00
Sebastian Rittau e436dfe219 Unify test directory handling (#11864)
Previously, handling of test directories (`@tests` and `test_cases`) was
distributed over multiple files and redundant. This unifies the handling
in the `utils` module. This also fixes some instances where "package"
was used instead of "distribution". And in a few instances paths were
joined by using a `/` in a string, which is incompatible with Windows.

Also move `runtests.py` from `scripts` to `tests`. This is required so that
we can import `utils`, but it's also arguably the better fit. The only
mention of the script is actually in the `tests/README.md` file.

Helps with #11762.
2024-05-05 16:28:37 +02:00
Sebastian Rittau caeb45a9df Use apt-get to install packages (#11824) 2024-04-27 14:25:22 +02:00
Sebastian Rittau e2e14d1cc1 [networkx] Fix incremental_closeness_centrality argument type (#11828) 2024-04-24 17:00:56 +02:00
Sebastian Rittau 8664482849 Bump OpenSSL to 24.1.* (#11816)
Mark a few classes and functions as deprecated

Closes: #11812
2024-04-24 07:58:52 -07:00
Sebastian Rittau f646eb86e2 Introduce SupportsContainsAndGetItem (#11827) 2024-04-24 16:19:12 +02:00
Sebastian RittauandAkuli 7ed91bc2e7 Add _typeshed.MaybeNone as Any trick marker (#11815)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-04-23 17:13:25 -04:00
Sebastian RittauandAvasam 56db30e8eb Make email.message.Message generic over the header type (#11732)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-04-23 11:41:10 -04:00
Sebastian Rittau 7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
Sebastian Rittau f4b89f5f86 Rename check_consistent.py to check_typeshed_structure.py (#11761) 2024-04-14 13:34:10 -07:00
Sebastian Rittau d3aa08188f Ensure that distutils and setuptools._distutils stay consistent (#11758) 2024-04-14 15:41:59 +02:00
Sebastian Rittau 3c678c997d Update setuptools to 69.5.* (#11756) 2024-04-14 15:30:37 +02:00
Sebastian Rittau 451e0efbcb Improve documentation of the check_consistent script (#11757) 2024-04-14 14:59:05 +02:00
Sebastian Rittau 09ff220e09 Rework redis/asyncio/{connection,sentinel}.pyi (#10370)
Closes: #10362
2024-04-08 18:26:58 -04:00
Sebastian Rittau 95a2a2d883 Add icalendar stubs (#11733) 2024-04-08 12:51:48 -04:00
Sebastian Rittau 21b90d44fc [CI] Fix sharding conditionals (#11730) 2024-04-07 18:32:50 +01:00
Sebastian Rittau 26383eed33 Use separate artifact name per step (#11690)
Compatibility with actions/upload-artifact@v4
2024-04-07 15:04:37 +02:00
Sebastian Rittau 4157cb63ad [qrcode] Add various annotations (#11726) 2024-04-07 06:49:50 -04:00
Sebastian Rittau eee28ad90f [python-xlib] Use a protocol for PIL.Image.Image argument (#11722) 2024-04-06 20:15:59 +02:00
Sebastian Rittau c0a44be33f Depend on Pillow instead of types-Pillow (#11720) 2024-04-05 13:30:27 +02:00
Sebastian Rittau 6d19a17f57 [aiofiles] Annotate AiofilesContextManagerTempDir (#11705) 2024-04-02 15:44:44 +02:00
Sebastian RittauandAlex Waygood 630b49a291 Replace various Incompletes in stdlib (#11673)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-01 15:20:01 +01:00
Sebastian Rittau 18fff9f8c7 Update actions/github-script to v7 (#11687) 2024-04-01 13:51:21 +01:00
Sebastian Rittau 027115e624 Remove bare incompletes (#11670) 2024-03-30 18:35:57 -07:00
Sebastian Rittau 33de88879f Remove bare Incomplete annotations in third-party stubs (#11671) 2024-03-30 18:34:51 -07:00
Sebastian Rittau 2e240c9b08 Update flake8-builtins to 2.3.* (#11669) 2024-03-30 16:42:07 -04:00
Sebastian Rittau 87900248b0 Update label names used by bots (#11650) 2024-03-23 12:20:36 +01:00
Sebastian Rittau b67804ab6d [croniter] Update to 2.0.3 (#11631) 2024-03-20 07:31:52 +00:00
Sebastian Rittau adde7cc3ac Use Final = ... instead of Final[Literal] (#11623) 2024-03-17 14:12:16 +00:00
Sebastian Rittau 6d45cf6e18 Remove pyright version from pyproject.toml (#11622) 2024-03-17 14:09:15 +00:00
Sebastian Rittau a8997209fb Install pyright from PyPI (#11575) 2024-03-16 14:14:31 +01:00
Sebastian RittauandAli Hamdan 9841c255ee Replace Any in optparse (#11599)
Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
2024-03-15 22:33:52 +01:00
Sebastian Rittau 3581846069 Bump influxdb-client to 1.41.* (#11608) 2024-03-15 17:07:47 +01:00
Sebastian Rittau 37ebe904ed [Markdown] Bump to 3.6.* (#11607) 2024-03-15 07:10:23 -07:00
Sebastian Rittau 0b1e5d3f34 stubsabot: Skip test files in diff analysis (#11606) 2024-03-15 13:08:40 +01:00
Sebastian Rittau 417bdb9ac9 Refactor and merge requirements parsing (#11581) 2024-03-12 16:34:47 +01:00
Sebastian Rittau 4c5c5760cf email.message: Allow any header value (#11574) 2024-03-11 17:47:00 -04:00
Sebastian Rittau d424547b94 Run tests with Python 3.12 (#11544) 2024-03-08 17:32:34 +01:00
Sebastian Rittau 407b0c4d70 Update actions/setup-python to v5 (#11542)
Fixes deprecation warnings
2024-03-08 15:53:56 +01:00
Sebastian Rittau df409a2fb5 Use a protocol for shlex.instream et al. (#11452) 2024-02-18 22:04:43 -08:00
Sebastian RittauandJelle Zijlstra 65c154f5ff Document ignore_missing_stub in CONTRIBUTING.md (#11426)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-17 12:48:28 +00:00
Sebastian Rittau 8a38ae62fb Update fpdf2 to 2.7.8 (#11410)
Closes: #11407
2024-02-16 05:45:29 -08:00
Sebastian Rittau 4664986cea Turn TextIOWrapper(buffer) into a protocol (#11420) 2024-02-14 19:49:28 +01:00
Sebastian Rittau 00ec3fe4d8 Bump influxdb-client to 1.39.* (#11116)
Type a few task-related items
2024-02-05 05:10:18 -08:00
Sebastian Rittau 8e872a022c numbers: Remove Any annotations (#11347) 2024-01-30 15:17:06 +01:00
Sebastian Rittau 3dbb2573e6 Remove flake8-plugin-utils (#11339)
Closes: #6913
2024-01-29 13:47:15 +00:00
Sebastian Rittau ed97b42ee2 [pyOpenSSL] Update to 24.0.* (#11338) 2024-01-29 14:09:40 +01:00
Sebastian Rittau cb9892477d [Pillow] Update to 10.2.* (#11232) 2024-01-10 11:51:02 +01:00
Sebastian RittauandAlexWaygood 53a8193d64 Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2024-01-05 08:15:19 -08:00
Sebastian Rittau b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Sebastian Rittau 1b471a9a0a Update typing_extensions imports in infrastructure and tests (#11243) 2024-01-05 13:30:45 +00:00
Sebastian Rittau 87a695ab98 Update typing_extensions list in CONTRIBUTING (#11242) 2024-01-05 13:22:32 +01:00
Sebastian Rittau 23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Sebastian Rittau 1b2cabce4d Remove macpath (removed in Python 3.8) (#11236) 2024-01-04 15:10:36 +01:00
Sebastian Rittau 4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Sebastian Rittau 262d73c90c Update description of _typeshed.Self (#11233) 2024-01-04 14:43:22 +01:00
Sebastian Rittau 3171cb44aa Bump fpdf2 to 2.7.7 (#11149)
Closes: #11145
2023-12-12 16:31:37 -08:00
Sebastian Rittau fdc195465b Add tests for TestCase.assertDictEqual() (#11154) 2023-12-12 16:41:18 +01:00
Sebastian Rittau 3a036b64fc logging: Remove hack obsoleted by PEP 655 (#11078) 2023-11-30 21:48:54 +00:00
Sebastian Rittau d4bd6d96a0 Bump pytype to 2023.11.29 (#11089) 2023-11-30 08:59:51 +01:00
Sebastian Rittau 9d6d79c83c typing-sig is no more, it's bereft of life, it's an ex-list (#11081)
It's not pining for the fjords anymore
2023-11-28 22:09:13 +00:00