Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Rittau e718a7363f [Deprecated] Update to 1.2.15 (#13020) 2024-11-16 16:30:53 +01:00
Sebastian Rittau 0d4a94803a Remove docopt (#12975) 2024-11-07 19:51:15 +01:00
Sebastian Rittau 8dd43718bc Update pyRFC3339 to 2.0.1 (#12960) 2024-11-06 06:08:33 -08:00
Sebastian Rittau 7838ab5f98 [waitress] Update to 3.0.1 (#12917) 2024-10-29 10:15:01 +00:00
Sebastian Rittau ec1c327679 [croniter] Update to 3.0.4 (#12909) 2024-10-26 23:10:35 +02:00
Sebastian Rittau 701cd065b8 [CI] Switch to macos-latest (#12897)
macos-12 is deprecated and will be removed:
https://github.com/actions/runner-images/issues/10721
2024-10-24 11:00:11 -07:00
Sebastian Rittau b0ac25e7bd Use compatible version marker for icalendar (#12831) 2024-10-21 04:36:05 -07:00
Sebastian Rittau c020ccc821 Print gdb version to ease debugging (#12836) 2024-10-21 04:35:55 -07:00
Sebastian Rittau a6fb689ff1 Update third-party removal policy (#12858) 2024-10-21 13:10:27 +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
Sebastian Rittau 7fb84668fc [psycopg2] Bump to 2.9.10 (#12835)
Mark all error codes as `Final`
2024-10-18 10:34:55 -07:00
Sebastian Rittau c6affbb804 [CI] Pin Ubuntu in third party stubtest (#12846)
This fixes a problem with gdb changing between the Ubuntu versions.
2024-10-18 12:09:05 +02:00
Sebastian Rittau 2d0f6d8277 Bundle path handling in ts_utils.paths (#12805) 2024-10-17 08:16:10 +02:00
Sebastian Rittau 36fb63ebc8 Support compatible version specifiers (#12771) 2024-10-17 08:15:30 +02:00
Sebastian Rittau a2d6d5315b [stubsabot] Use common functions from ts_utils (#12772) 2024-10-14 15:41:28 +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
Sebastian Rittau 1fa4986f71 Move common utility functions to a common library (#12773) 2024-10-14 08:00:02 +02:00
Sebastian Rittau 055d0431ad Document the supported stdlib versions (#12731) 2024-10-11 13:48:54 +02:00
Sebastian Rittau 17d2e5a862 Clean up common stubtest allowlist (#12770)
* Move all platform and installation differences into a separate
  section.
* Split sections for missing items into "should be fixed" and "should
  not be fixed".
* Add "TODO" markers to appropriate sections.
2024-10-10 07:53:26 -07:00
Sebastian Rittau 4f94a0e140 Bump fpdf2 to 2.8.1 (#12753)
Closes: #12738
2024-10-10 07:49:39 -07:00
Sebastian Rittau c490871c32 Add 'nis' to stubtest allowlist (#12769) 2024-10-10 16:36:07 +02:00
Sebastian Rittau 98f3e5772d [fpdf2] Add actual NamedTuple defaults (#12768) 2024-10-10 12:24:26 +02:00
Sebastian Rittau 848cf9103d Remove Pillow stubs (#12732) 2024-10-03 11:33:09 +02:00
Sebastian Rittau 975760281c tarfile.open(): Handle all modes (#12181) 2024-10-02 20:35:56 -07:00
Sebastian Rittau 26b3c69ee4 Add option to keep tmp dir to stubtest script (#12151) 2024-10-02 19:48:52 -07:00
Sebastian Rittau 8acc85dbab dateutil: Enable failing test (#11612) 2024-10-02 16:39:30 -07:00
Sebastian Rittau 2bf4edd901 [icalendar] Update to 6.0.0 (#12706) 2024-10-02 16:49:26 +02:00
Sebastian Rittau e4c84dfb11 Make email.policy classes generic (#12724) 2024-10-02 16:42:07 +02:00
Sebastian Rittau f266dc226a Change RawIOBase return types from None to MaybeNone (#12686) 2024-10-02 07:11:23 -07:00
Sebastian Rittau 6ba6589144 Support environment markers in requires fields (#12711) 2024-10-02 10:14:33 +02:00
Sebastian Rittau 91a58b07cd Amend third-party removal policy (#12710)
Upstream annotations should have a similar standard as typeshed's.
2024-09-30 22:04:29 +02:00
Sebastian Rittau 3b385903a1 Pass Requirement objects around (#12709)
This allows us to keep metadata like python_version and platform_system
and use it to conditionally install packages.
2024-09-30 17:45:58 +02:00
Sebastian Rittau 7ce17a95f6 Document to stubtest_requirements field in the proper place. (#12707) 2024-09-30 13:46:48 +02:00
Sebastian RittauandAvasam 94889897ca [setuptools] Bump to 75.0.* (#12668)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-09-16 19:17:52 +02:00
Sebastian Rittau bc6b3b2aba [python-datemath] Pin and mark as obsolete (#12645)
Closes: #12640
2024-09-12 07:25:11 -07:00
Sebastian Rittau 97ce200343 [pyasn1] Remove items removed from 0.6.1 (#12646) 2024-09-12 05:11:59 -04:00
Sebastian Rittau a29d6710a5 Move platform-specific allowlist entries (#12644) 2024-09-12 11:04:07 +02:00
Sebastian Rittau c7c430857e stdlib updates for latest Python patch releases (#12638) 2024-09-11 17:58:24 +02:00
Sebastian Rittau cc45a6e9ba Move BufferedIOBase.raw to sub-classes (#12571) 2024-09-06 15:03:08 -07:00
Sebastian Rittau a8f09b1d5c [influxdb-client] Use SupportsContainsAndGetItem (#12612) 2024-09-06 14:35:41 -07:00
346fef2137 [setuptools] Update to 74.1.* (#12614)
---------

Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-05 10:45:52 -04:00
Sebastian Rittau 6441408aaa Use TypedDict for return type of localeconv() (#12600)
Mark constants as Final in _locale.pyi
2024-09-05 02:13:41 +02:00
039c6bcdb1 Use Self for email.message attachments (#12530)
---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-08-29 10:48:32 -04:00
Sebastian Rittau 7c1378cc25 Document policy for future Python versions (#12592)
Closes: #12569
2024-08-25 18:24:08 +02:00
Sebastian Rittau 24abaf0e86 pyserial: Replace IO classes with protocols (#12572) 2024-08-25 17:06:43 +02:00
Sebastian Rittau 073b270e55 Update issues numbers for builtins.function (#12580) 2024-08-22 19:20:28 +02:00
Sebastian Rittau 7865a78de1 socketserver: Use BufferedIOBase instead of BinaryIO (#12568) 2024-08-21 19:25:06 -07:00
Sebastian Rittau 7f38b116a0 Remove redundant overloads from IO (#12570) 2024-08-21 15:55:22 +02:00
b19d9670f9 Bump setuptools to 72.2.* (#12461)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-20 14:30:08 -04:00
Sebastian Rittau eca1df49f3 Remove flake8-2020 (#12548) 2024-08-18 12:30:27 +02:00
Sebastian Rittau 5403e4aaeb Ignore incompatible changes introduced in Python 3.12.5 (#12531) 2024-08-15 22:31:58 +02:00
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