Commit Graph
100 Commits
Author SHA1 Message Date
sobolevn 30d6bafafd Update mypy_extensions deprecation messages (#13876)
CC @AlexWaygood
2025-04-24 13:08:36 +03:00
sobolevn 65860e5e86 Deprecate several things in mypy_extensions (#13874)
See https://github.com/python/mypy_extensions/compare/1.0.0...1.1.0 on what was deprecated.
2025-04-23 15:37:20 -07:00
sobolevn 0b6e42c59c Bump braintree to 4.34.* (#13592) 2025-03-07 11:33:42 +01:00
sobolevn 3ac6c388c6 Update tools versions in stubtest workflow (#13582) 2025-03-05 14:24:56 +01:00
sobolevn e951ca9760 Bump pynput to 1.8.* (#13583) 2025-03-05 12:00:36 +01:00
sobolevn 8a21b854fa Bump mock to 5.2.* (#13581) 2025-03-05 08:57:35 +01:00
sobolevn d86ad844f5 Bump python-jose to 3.4.* (#13522) 2025-02-23 14:25:36 +01:00
sobolevn adba4359d0 Bump zxcvbn to 4.5.* (#13521) 2025-02-22 15:18:33 -05:00
sobolevn 1568194559 Bump zstd to 1.5.6.3 (#13506) 2025-02-17 11:25:48 +01:00
sobolevn a640e08986 Update psutil to 7.0.* (#13507) 2025-02-17 11:23:20 +01:00
sobolevn d65e8ac20c Bump peewee to 3.17.9 (#13475) 2025-02-09 12:21:12 +00:00
sobolevnandpre-commit-ci[bot] 6480b2bf4a Bump boltons to 25.0.* (#13481)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-09 12:19:48 +00:00
sobolevn 1d1086018b Add --strict-bytes and --local-partial-types to self check (#13476)
* Add `--strict-bytes` and `--local-patial-types` to self check

These two options will be on by default in `--strict` in `mypy@2.0`

* Annotate `_LOADERS` in `pytype_test`
2025-02-08 10:00:49 +00:00
sobolevn 5944a6837b Bump zstd to 1.5.6.2 (#13434) 2025-01-25 03:40:39 -08:00
sobolevn 67eebc5495 Improve django-import-export (#13402) 2025-01-16 14:43:16 +01:00
sobolevn c5f3608372 Use 3.13 in regular CI (#13397) 2025-01-13 11:05:54 +00:00
sobolevn 04ed1db155 Bump braintree to 4.31.* (#12934) 2024-11-01 22:19:38 -07:00
sobolevn 8b32739f13 Bump psutil to 6.1.* (#12868) 2024-10-21 17:22:44 +01:00
sobolevn d16fe74e1f Fix _csv.Dialect.__init__ (#12320) 2024-10-03 11:33:56 +02:00
sobolevn d3070c5845 Bump xdgenvpy to 3.0.* (#12671) 2024-09-17 13:19:28 +02:00
sobolevn 0a0ba2f4d0 Bump paramiko to 3.5.* (#12672) 2024-09-17 13:17:06 +02:00
8307b3c362 Bump Markdown to 3.7.* (#12565)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-08-21 18:06:28 +03:00
sobolevn a7ff1be439 Bump cachetools to 5.5.* (#12556) 2024-08-19 14:34:29 +01:00
sobolevn 78ebab7e91 Remove paho-mqtt stubs (#12552) 2024-08-19 13:55:52 +01:00
sobolevn c3497b1672 Remove python-slugify stubs (#12553) 2024-08-19 13:55:19 +01:00
sobolevn 30a20398c9 Pin numpy in various stubs (#12554) 2024-08-19 15:38:23 +03:00
sobolevn 519166ba23 Update pyright to 1.1.375 (#12503) 2024-08-09 19:19:19 +02:00
sobolevn 6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
sobolevn fa70187245 Bump croniter to 3.0.3 (#12443) 2024-07-30 11:51:47 +02:00
sobolevn 1a8c7ebe37 HAVE_NCURSESW is present on macos (#12441) 2024-07-27 10:36:08 +02:00
sobolevn 421ac91a30 Bump croniter to 3.0.* (#12422) 2024-07-25 13:11:39 +02:00
sobolevn db6272b650 Bump braintree to 4.29.* (#12421) 2024-07-24 21:08:08 +01:00
sobolevn ce9f32db8d Improve yaml/constructor.pyi types (#12404) 2024-07-23 14:08:47 +02:00
sobolevn 0782c2931c Bump croniter to 2.0.* (#12364) 2024-07-20 21:39:09 -07:00
sobolevn 274b10da70 Bump cachetools to 5.4.* (#12353) 2024-07-16 14:07:42 +01:00
sobolevn 4740d320c5 Bump pygit2 to 1.15.* (#12319) 2024-07-13 17:38:05 +02:00
sobolevn c4f7a72e50 macos does not have sed --in-place argument (#12330) 2024-07-13 06:02:22 -07:00
sobolevn 57c524d822 [flake8] Improve Statistic typing (#12313) 2024-07-10 11:03:43 +01:00
sobolevn 9f2a9d8579 Add a typevar with a default to io.TextIOWrapper (#12286) 2024-07-10 11:41:57 +02:00
sobolevn e8cc1e46fe Add _write method to flake8.formatting.BaseFormatter (#12312)
It is very useful for real-life custom formatters. Example: https://github.com/wemake-services/wemake-python-styleguide/blob/470d81174684eb9a175603aec02f0ac6589b8acd/wemake_python_styleguide/formatter.py#L92-L96

Definition: https://github.com/PyCQA/flake8/blob/65a38c42a7f1a05ff8d99b313160754fc9b7a0d8/src/flake8/formatting/base.py#L173-L178
2024-07-10 12:41:40 +03:00
sobolevn 7c26da22bd Fix str2bool failure on stubsabot dry-run (#12287) 2024-07-06 13:42:15 -07:00
sobolevn 99c1b7102a is_lazy_fixture in pytest-lazy-fixture is a TypeIs function (#12285) 2024-07-06 11:51:03 +01:00
sobolevn d029c30a16 Add _only_immortal to sys.getunicodeinternedsize (#12248)
Source: https://github.com/python/cpython/blob/3.13/Python/sysmodule.c#L2007-L2026
2024-07-01 23:31:06 +01:00
sobolevn ae6e261c4f Bump reportlab to 4.2.2 (#12227) 2024-06-30 12:39:51 +02:00
sobolevn 9fcaf3fe31 Bump openpyxl to 3.1.5 (#12238) 2024-06-29 22:10:14 +02:00
sobolevn db7dd4cd54 Replace Github -> GitHub in scripts/stubsabot.py (#12228) 2024-06-27 17:15:16 +02:00
Nikita Sobolev 9817430896 Bump hdbcli to 2.21.* (#12179) 2024-06-20 23:01:45 +02:00
Nikita Sobolev 05b975a81f psutil: deprecate Process.connections (#12174) 2024-06-20 14:34:29 +02:00
29f6bc3763 fpdf2: improve text_align types and .table() method signature (#12123)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-20 14:42:56 +03:00
Nikita Sobolevandpre-commit-ci[bot] be50f8e433 Bump psutil to 6.0.* (#12167)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-20 10:13:10 +03:00
Nikita Sobolev 852946f759 Bump hvac to 2.3.* (#12168) 2024-06-20 00:05:09 -07:00
Nikita Sobolev 804a58165a Remove tree-sitter (#12118) 2024-06-11 11:13:14 +01:00
Nikita Sobolev 769fea9f10 Bump pynput to 1.7.7 (#12069) 2024-05-31 10:26:27 +02:00
Nikita Sobolev 66c640ece9 Update docker to 7.1.x (#12068) 2024-05-31 08:56:49 +02:00
Nikita Sobolev b8e35627f0 Bump python-crontab to 3.1.* (#12008) 2024-05-23 11:02:03 +02:00
Nikita Sobolev 5829e3bdea Update shelve.open and dbm.open to support path-like objects (#11881)
Closes #11856
2024-05-12 13:31:12 -07:00
Nikita Sobolev d07ba24f3c Add typehints for open in PIL.WallImageFile (#11887) 2024-05-10 10:29:09 +02:00
Nikita Sobolev 16dadc8fb5 Add show_empty to ast.dump (#11871) 2024-05-07 12:42:16 +02:00
Nikita Sobolev 1df875b529 Remove tzlocal stubs (#11674) 2024-04-14 15:35:11 +01:00
Nikita Sobolev 675ab38ab7 Update pyright version to 1.1.350 (#11501)
If you're reading about this commit in an auto-generated changelog: this is an internal change that should have no impact on how these stubs are understood by static-analysis tools such as type checkers or IDEs
2024-02-29 10:14:39 +00:00
Nikita Sobolev 7b4c751abb Fix pos-only params in tkinter module (#11506) 2024-02-29 09:02:02 +00:00
Nikita Sobolev 217166b8a9 Fix pos-only params in os module (#11505) 2024-02-29 09:01:43 +00:00
Nikita Sobolev fa4ca40f5c Fix _operator.attrgetter pos-only params (#11504)
There cannot be any keywords:

```c
static PyObject *
attrgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
    attrgetterobject *ag;
    PyObject *attr;
    Py_ssize_t nattrs, idx, char_idx;

    if (!_PyArg_NoKeywords("attrgetter", kwds))
        return NULL;

// ...
```
2024-02-29 11:03:36 +03:00
Nikita Sobolev 19d1b686b6 str.count only takes positional args (#11503)
```
>>> ''.count(x='a')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: str.count() takes no keyword arguments
```
2024-02-29 10:37:12 +03:00
Nikita Sobolev 9b9de1e88c Replace no-comments with annotate in jakebailey/pyright-action (#11502)
`no-comments` is deprecated: 
- https://github.com/python/typeshed/actions/runs/8092167409/job/22112427113?pr=11501#step:10:1
- https://github.com/jakebailey/pyright-action/blob/b8ffdb7aa4a15fab942303261611eaa541f3f8b0/action.yml#L83-L88
2024-02-28 23:16:19 -08:00
a2095002e4 Complete stubs for bleach (#9314)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-02-21 20:03:24 +00:00
Nikita Sobolev e961db9492 Change the asyncio.Task constructor type (#10228) 2024-02-17 15:50:26 -08:00
Nikita SobolevandJelle Zijlstra 863d22a239 Make return type of functools.cache_property covariant (#10053)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-17 15:38:46 -08:00
3fa6374c9a Mark simplejson as completed (#9211)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-17 14:50:46 -08:00
Nikita Sobolev 547cbc748f Remove pluggy stubs (#11351) 2024-01-31 13:30:20 -08:00
Nikita Sobolev 8dfebc0117 Bump pyright to 1.1.342 (#11190) 2023-12-20 12:11:38 +01:00
Nikita Sobolev 06d0151b25 Enable redundant-self mypy error code (#11056) 2023-11-22 10:13:17 +00:00
Nikita Sobolev d232def6b2 Use consistent mypy output spacing (#11055) 2023-11-22 09:58:13 +00:00
Nikita Sobolev 62ccb32b22 Mark deprecated methods as deprecated in wave module (#11001) 2023-11-17 07:31:00 -08:00
Nikita Sobolev 3f54f7e3de Bump ruff (#10988) 2023-11-07 10:48:08 +00:00
Nikita Sobolev 18cd196109 Bump pyright to 1.1.334 (#10959)
https://github.com/microsoft/pyright/releases/tag/1.1.334
2023-10-31 23:21:52 -07:00
Nikita Sobolev a5d616303d Remove invoke stubs (#10956) 2023-10-31 11:31:31 +01:00
Nikita Sobolev 40e0423a86 Remove pyvmomi stubs (#10957) 2023-10-31 11:31:06 +01:00
Nikita Sobolev 5c775a3502 Improve int.__pow__ and float.__pow__ comments (#10925)
It used to be `__x`. Now, it is not clear what `x` is in this context.
2023-10-25 10:15:34 +01:00
Nikita SobolevandAlex Waygood d14c5f82c8 Bump pyright to 1.1.332 (#10904)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-18 10:09:50 +01:00
Nikita Sobolev 41ac46ce21 Bump ruff to 0.1.0 (#10900) 2023-10-17 11:03:38 +01:00
Nikita Sobolev bb27e6cd36 Bump peewee to 3.17.* (#10895) 2023-10-16 13:32:46 +02:00
Nikita Sobolev 5531e9d470 Add _locale module (#10859)
More accurately reflect the platform availability of several constants and functions in `locale`.
2023-10-08 12:55:19 +02:00
Nikita Sobolev 64d6d96568 Bump pyright pin (#10858) 2023-10-08 08:21:19 +02:00
Nikita Sobolev 8acf1944f3 Remove allowlist entries for _ctypes on win (#10855) 2023-10-07 21:43:33 +02:00
Nikita Sobolev fb994e344b Fix ssl.SSLSocket methods on windows (#10849) 2023-10-07 07:50:52 +01:00
Nikita Sobolev 48d4f7a6a5 Add winreg.HKEYType.handle property (#10848) 2023-10-06 19:20:12 +01:00
Nikita Sobolev a12b2053cd Add SetErrorMode to msvcrt module (#10842) 2023-10-05 22:06:11 +01:00
Nikita Sobolev cc5b3f8bc4 Fix platform availability of some os/posix constants (#10831) 2023-10-03 15:20:00 +01:00
Nikita Sobolev 07e611d41f select.POLLRDHUP does not exist on macos (#10823) 2023-10-02 11:59:29 +01:00
Nikita Sobolev 66d183fc56 mimetypes.MimeTypes.read_windows_registry always exists (#10821) 2023-10-02 11:35:48 +01:00
Nikita Sobolev b3b5661f80 Add DefaultSelector.fileno on platforms where it exists (#10820) 2023-10-02 11:15:49 +01:00
Nikita Sobolev bd4462cc62 Re-export SYSPROTO_CONTROL and PF_SYSTEM in socket on macos (#10814) 2023-10-01 15:38:44 +01:00
Nikita SobolevandAlex Waygood 460fa14dfc Fix curses.color_pair signature (#10811)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-30 20:58:37 +01:00
Nikita Sobolev 16b9884601 Fix _posixsubprocess module for python3.12 (#10809) 2023-09-30 17:51:33 +01:00
Nikita Sobolev 4c5d3e5ad2 Some curses functions were removed in 3.12 for macos (#10808) 2023-09-30 11:28:09 +02:00
Nikita Sobolev 398b31de92 Removed unused sections from allowlists (#10804) 2023-09-29 22:53:45 +01:00
Nikita Sobolev ec69d98778 locale: Remove some hopefully-unnecessary allowlist entries for macos-3.10 (#10805) 2023-09-29 22:44:40 +01:00
Nikita Sobolev f97fbb4e63 Remove dj-database-url stubs (#10806) 2023-09-29 14:33:29 -07:00
Nikita Sobolev 7cf1fed75d Fix sigtimedwait and sigwaitinfo signature (#10803) 2023-09-29 12:38:14 -07:00