Commit Graph
100 Commits
Author SHA1 Message Date
sobolevn d8d989280c [icalendar] Remove duplicate entry from __all__ in icalendar (#15158) 2025-12-20 23:40:45 +01:00
sobolevn dfaf10db5c importlib.resources.contents is deprecated (#14835) 2025-10-07 11:28:16 +02:00
sobolevn 4b0623f4fb Update mypy to 1.18.1 (#14699) 2025-09-14 03:33:27 +02:00
sobolevnandAvasam 07bbe5e18c Mark enum constants in signal.py as Final, not Literal (#13500)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2025-07-31 12:13:01 +03:00
sobolevn 4ceebbcd24 Fix shared type in _interpreters (#14328) 2025-07-07 14:15:15 +02:00
sobolevn 85a64400d7 os.linesep can only be \n or \r\n (#14351) 2025-06-30 12:16:43 +02:00
eb495ff135 Update mypy to 1.16.0 (#14194)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-06-01 17:40:42 +01:00
sobolevnandpre-commit-ci[bot] 6588a81051 Update multiprocessing.forkserver to 3.14 (#14174)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-28 10:15:03 +03:00
sobolevn c1fd2297d7 [geopandas] Unblock CI (#14178) 2025-05-27 20:44:44 +02:00
sobolevn e53e233f24 Update _asyncio to 3.14 (#14165) 2025-05-27 09:19:22 +02:00
sobolevn 0bf33ebd2b Update _imp to 3.14 (#14164) 2025-05-27 08:31:44 +02:00
sobolevnandpre-commit-ci[bot] fcc877d5d8 Update _thread to 3.14 (#14163)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-27 09:15:47 +03:00
sobolevn d574139e6c Update builtins to 3.14 (#14161) 2025-05-26 15:47:09 -07:00
sobolevn 4a62654941 [corus] set no_longer_updated (#14160) 2025-05-26 22:12:14 +03:00
sobolevn 32ee901d05 Remove metaclass=type keyword from InitVar (#14150) 2025-05-26 07:18:51 -07:00
sobolevn 5ec038df5b Update string.Template to 3.14 (#14148) 2025-05-26 07:13:20 -07:00
sobolevn 8cbb7167c6 Update types.py for 3.14 (#14146) 2025-05-26 11:14:49 +02:00
sobolevn 204ec1273f Correct bool.__invert__ deprecation message (#14147) 2025-05-26 11:12:26 +02:00
sobolevn 23d144773f Correct co_lnotab deprecation message (#14145) 2025-05-26 10:45:43 +02:00
sobolevn a9e7afa7be Update events and windows_events for asyncio in 3.14 (#14128) 2025-05-25 09:13:19 -07:00
sobolevn 65623811c2 Update _posixsubprocess module for 3.14 (#14127) 2025-05-24 05:36:44 -07:00
sobolevn ddf6c62482 Update select module for 3.14 (#14125) 2025-05-23 08:46:53 +03:00
sobolevn 23e702b4b1 Update errno module for 3.14 (#14123) 2025-05-22 06:52:33 -07:00
sobolevnandpre-commit-ci[bot] 3ae0951385 Update multiprocessing module for 3.14 (#14114)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-22 07:31:00 +03:00
sobolevn 5f0750c1ac Update _curses module for 3.14 (#14113) 2025-05-22 07:29:56 +03:00
sobolevn 58a4def3c1 Update _socket and socket for 3.14 (#14055) 2025-05-14 12:23:38 +02:00
sobolevn 209383988d Add new ast node from 3.14 (#14034) 2025-05-13 08:12:57 -07:00
sobolevn c7ca24ab24 Add string.templatelib in 3.14 (#14044) 2025-05-13 13:56:11 +02:00
sobolevn bc244028d7 Update _ctypes to 3.14 (#14043) 2025-05-13 13:29:49 +02:00
sobolevnandpre-commit-ci[bot] 8b877a6993 Add HAS_PHA to _ssl (#14033)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-13 03:14:35 +03:00
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