Commit Graph
100 Commits
Author SHA1 Message Date
Shantanu a70667804a Bump braintree to 4.16.* (#8433)
Resolves #8431
2022-07-28 22:32:06 -07:00
Shantanu 804628dc7d Remove unused protocol (#8418) 2022-07-27 20:35:47 -07:00
Shantanu 1a8a49e671 wsgiref.types: use Iterator, not Iterable (#8358)
https://github.com/python/typeshed/issues/8356
2022-07-21 13:26:44 -07:00
Shantanu 85077b273d Show all packages in environment (#8341) 2022-07-19 19:42:52 -07:00
Shantanu c783dda71b Allowlist useless modules (#8340)
These are the ones I chose not to add from #8321

Fixes most of #8339
2022-07-19 19:15:20 -07:00
Shantanuandhauntsaninja f76c6ed55a multiprocessing: make some overloads more precise (#8330)
See discussion here: https://github.com/python/typeshed/issues/4266#issuecomment-1187867029

Co-authored-by: hauntsaninja <>
2022-07-19 16:55:23 +01:00
4b34b345f1 Add missing third party modules (#8321)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-19 08:11:29 +01:00
Shantanu 46937df750 wave: allow passing anonymous tuple (#8328)
Fixes #8322
2022-07-18 19:53:50 -07:00
Shantanu 4b184356f1 string: remove stray comment (#8329) 2022-07-18 19:53:15 -07:00
Shantanu 38407a7904 [stubsabot] Bump Markdown to 3.4.* (#8309) 2022-07-18 13:04:27 +02:00
Shantanu 64359528fc croniter: make package, complete public API (#8316) 2022-07-17 17:08:03 -07:00
Shantanu 936314b979 Add stubsabot Github Action (#8303) 2022-07-17 13:21:51 -07:00
Shantanu 5ef20e8021 Use packaging to parse versions (#8314)
packaging is the standard tool for dealing with versions and
requirements. This allows us to easily support all PEP 508 specs.
packaging also has good error messages, so I don't create our own here.
This lets us get rid of our handrolled half parser and sanity checks.
I kept the whitespace consistency check, since that's just a formatting
lint and isn't testing the correctness of parsing (which we now
definitely do correctly).
2022-07-17 12:35:32 -07:00
Shantanu 9df28aac13 Make xxhash, editdistance into packages (#8320)
This matches the runtime. Also see #8319
2022-07-17 12:26:18 -07:00
Shantanu de1a79bd00 Make VERSIONS more accurate (#8311)
Some of the versions starting at 3.6 looked suspicious, so I
checked those against git history for the CPython repo.
2022-07-15 18:19:42 -07:00
Shantanu e90ee8e0d9 [stubsabot] Bump jsonschema to 4.7.* (#8299) 2022-07-15 08:40:05 +02:00
Shantanuandhauntsaninja 8fb85533cd [stubsabot] Bump setuptools to 63.2.* (#8301)
Co-authored-by: hauntsaninja <>
2022-07-14 20:48:09 -07:00
Shantanuandhauntsaninja 865eb9bd0c [stubsabot] Bump regex to 2022.7.9 (#8300)
Co-authored-by: hauntsaninja <>
2022-07-14 20:32:48 -07:00
Shantanu ee09a67c5c [stubsabot] Bump docutils to 0.19.* (#8260) 2022-07-08 20:55:22 +01:00
Shantanuandhauntsaninja 631a948de9 [stubsabot] Bump ujson to 5.4.* (#8259)
Co-authored-by: hauntsaninja <>
2022-07-08 20:42:42 +01:00
Shantanu 72c7eb6f80 [stubsabot] Bump setuptools to 62.6.* (#8224)
Most of setuptools.config is not included as the module is deprecated.
2022-07-08 21:23:18 +02:00
Shantanuandhauntsaninja b941cfffde create_baseline_stubs: check all defs by default (#8227)
Since stubgen will usually create definition complete stubs, we should have
stubtest check missing definitions so we can know to reflect any future
additions.

Co-authored-by: hauntsaninja <>
2022-07-06 22:55:29 +05:30
Shantanuandhauntsaninja e6482354dd Suggest updating mypy on stub removals (#8049)
Co-authored-by: hauntsaninja <>
2022-07-06 08:11:05 +01:00
Shantanu fb478f0b58 [stubsabot] Bump Pillow to 9.2.* (#8226) 2022-07-04 10:20:14 +02:00
Shantanu 1f0172c85d [stubsabot] Bump babel to 2.10.* (#8222) 2022-07-01 22:45:32 +02:00
Shantanuandhauntsaninja 81a95b4b22 [stubsabot] Bump stripe to 3.5.* (#8223)
Co-authored-by: hauntsaninja <>
2022-07-01 20:33:00 +01:00
Shantanuandhauntsaninja 25d7adefb2 [stubsabot] Bump aws-xray-sdk to 2.10.* (#8221)
Co-authored-by: hauntsaninja <>
2022-07-01 20:32:41 +01:00
Shantanu 5818c3e6c4 [stubsabot] Bump flake8-bugbear to 22.7.1 (#8220) 2022-07-01 11:57:51 -07:00
Shantanuandhauntsaninja cf2eaf2a75 [stubsabot] Bump stripe to 3.4.* (#8212)
Co-authored-by: hauntsaninja <>
2022-07-02 00:11:51 +05:30
Shantanuandhauntsaninja af21ef5cb3 [stubsabot] Bump psutil to 5.9.* (#8213)
Co-authored-by: hauntsaninja <>
2022-07-02 00:11:33 +05:30
200891fed1 Bump prettytable to 3.3.* (#8207)
Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-30 07:50:39 +01:00
Shantanu 6e039ddce3 [stubsabot] Bump python-slugify to 6.1.* (#8208) 2022-06-29 09:54:42 -07:00
Shantanuandhauntsaninja 4253a1fbf7 [stubsabot] Bump hdbcli to 2.13.* (#8206)
Co-authored-by: hauntsaninja <>
2022-06-29 17:16:15 +01:00
b4587c64c6 Bump fpdf2 to 2.5.* (#8173)
Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-29 16:54:36 +01:00
Shantanu 0178a0e742 [stubsabot] Bump croniter to 1.3.* (#8185) 2022-06-26 17:54:19 +01:00
Shantanuandhauntsaninja 531b162a66 [stubsabot] Bump tzlocal to 4.2 (#8184)
Co-authored-by: hauntsaninja <>
2022-06-26 17:49:20 +01:00
Shantanuandhauntsaninja 627285059a [stubsabot] Bump jmespath to 1.0.* (#8183)
Co-authored-by: hauntsaninja <>
2022-06-26 17:46:04 +01:00
Shantanuandhauntsaninja cdcf264d07 fpdf2: improve types (#8176)
Co-authored-by: hauntsaninja <>
2022-06-26 20:53:29 +05:30
d23d213d7e [stubsabot] Bump aws-xray-sdk to 2.9.* (#8180)
* [stubsabot] Bump aws-xray-sdk to 2.9.*

Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-26 14:08:03 +01:00
329edb0a2d [stubsabot] Bump pep8-naming to 0.13.* (#8181)
* [stubsabot] Bump pep8-naming to 0.13.*

* Bye bye Python 2

Co-authored-by: hauntsaninja <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-26 14:00:29 +01:00
Shantanuandhauntsaninja feb54c8cb0 [stubsabot] Bump flake8-typing-imports to 1.12.* (#8179)
Co-authored-by: hauntsaninja <>
2022-06-26 13:53:56 +01:00
bef4a5ff65 DateTimeRange: complete stubs (#8168)
Co-authored-by: hauntsaninja <>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-26 10:51:00 +01:00
Shantanu a81c695cd6 Bump xmltodict to 0.13.* (#8172) 2022-06-26 10:45:58 +01:00
Shantanuandhauntsaninja e24bbb7000 [stubsabot] Bump python-nmap to 0.7.* (#8174)
Co-authored-by: hauntsaninja <>
2022-06-26 15:09:11 +05:30
Shantanuandhauntsaninja ffb25d964c deprecated: complete stubs (#8169)
Co-authored-by: hauntsaninja <>
2022-06-26 10:30:22 +01:00
Shantanuandhauntsaninja 634f18f615 emoji: complete stubs (#8170)
Co-authored-by: hauntsaninja <>
2022-06-26 08:58:00 +01:00
Shantanuandhauntsaninja b6379e7c7a Check missing definitions for several packages (#8167)
Co-authored-by: hauntsaninja <>
2022-06-26 08:56:18 +01:00
ShantanuandAlexWaygood 288c6ac447 Bump jsonschema to 4.6.* (#8161)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-06-26 08:18:41 +05:30
ShantanuandAlexWaygood d975734b8b Bump regex to 2022.6.2 (#8162)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2022-06-26 08:18:01 +05:30
Shantanu 98882d3cbe PyYAML: check missing defs (#8159) 2022-06-25 18:05:23 +01:00
Shantanuandhauntsaninja 9113e16c0c [stubsabot] Bump pycurl to 7.45.* (#8163)
Co-authored-by: hauntsaninja <>
2022-06-25 18:02:59 +01:00
Shantanu a9fb8c5119 stubsabot: add project links (#8158)
See https://github.com/python/typeshed/pull/8157 for an example
2022-06-25 06:42:48 -07:00
Shantanu 564347b04e chardet: improve stubs (#8155) 2022-06-25 06:40:58 -07:00
Shantanuandhauntsaninja 14628b519a [stubsabot] Bump entrypoints to 0.4.* (#8157)
Co-authored-by: hauntsaninja <>
2022-06-25 08:25:38 +01:00
Shantanu 22532ba504 dj-database-url, docopt, editdistance, first: check missing defs (#8154) 2022-06-25 08:16:59 +01:00
Shantanuandhauntsaninja 74687b1fa0 ujson, pyfarmhash, toposort: check for missing definitions (#8153)
Co-authored-by: hauntsaninja <>
2022-06-25 08:15:44 +01:00
Shantanu 8b422ff01d appdirs, tabulate, termcolor, xmltodict: check missing defs (#8156)
complete termcolor, xmltodict
2022-06-25 08:09:25 +01:00
Shantanuandhauntsaninja 4415e9cc0b [stubsabot] Bump requests to 2.28.* (#8152)
Co-authored-by: hauntsaninja <>
2022-06-25 12:01:22 +05:30
Shantanuandhauntsaninja 6021a9ec6b [stubsabot] Bump flake8-bugbear to 22.6.22 (#8151)
Co-authored-by: hauntsaninja <>
2022-06-25 12:01:16 +05:30
Shantanuandhauntsaninja 4f5d6743f5 [stubsabot] Bump chardet to 5.0.* (#8150)
Co-authored-by: hauntsaninja <>
2022-06-25 12:01:06 +05:30
Shantanu 305f10b808 stubtest: per project --ignore-missing-stub (#8122) 2022-06-21 05:52:24 -07:00
Shantanu 7ee3b5672c Update cachetools to 5.2.* (#8119) 2022-06-21 09:02:00 +02:00
Shantanuandhauntsaninja b36c7705a7 [stubsabot] Bump pytz to 2022.1 (#8121)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:45 -07:00
Shantanuandhauntsaninja ec33d7ba87 [stubsabot] Bump editdistance to 0.6.* (#8120)
Co-authored-by: hauntsaninja <>
2022-06-20 22:16:34 -07:00
Shantanu a1323510f3 Bump parsimonious to 0.9.* (#8117) 2022-06-20 21:38:52 -07:00
Shantanuandhauntsaninja 6c63c323ae [stubsabot] Bump humanfriendly to 10.0.* (#8118)
Co-authored-by: hauntsaninja <>
2022-06-20 21:37:42 -07:00
Shantanu 58d486978e Bump mysqlclient to 2.1.* (#8116) 2022-06-20 21:36:21 -07:00
Shantanu 432fc3ff00 Bump invoke to 1.7.* (#8111) 2022-06-20 21:06:53 -07:00
Shantanu 05ac6a7215 Bump waitress to 2.1.* (#8113) 2022-06-20 21:06:15 -07:00
Shantanuandhauntsaninja 6fd87aca20 [stubsabot] Bump flake8-bugbear to 22.4.25 (#8112)
Co-authored-by: hauntsaninja <>
2022-06-20 16:29:31 -07:00
Shantanuandhauntsaninja 34579f1edf socket: add TCP_KEEPALIVE (#8100)
bpo-34932

Co-authored-by: hauntsaninja <>
2022-06-19 17:57:07 +01:00
Shantanu a9cd83adf9 Silence mysterious 3.10.5 stubtest failure (#8102)
Fixes #8098 (along with #8099)
2022-06-19 00:58:43 -07:00
Shantanu b7f8d847be socket: consistency between constants and enums (#8099)
This matches what happens at runtime, from Enum._convert_
Helps with #8098. Closes #5696.
2022-06-19 08:57:55 +01:00
Shantanu 64181e8dad stubtest: use separate table in METADATA.toml (#8096) 2022-06-19 00:43:24 -07:00
Shantanu 42409735b2 Bump oauthlib to 3.2.* (#8081) 2022-06-18 16:27:10 +02:00
ShantanuhauntsaninjaAkuli
225c14c16f [stubsabot] Bump Pygments to 2.12.* (#8093)
Co-authored-by: hauntsaninja <>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-06-18 08:58:29 +01:00
Shantanuandhauntsaninja b7af592718 [stubsabot] Bump paramiko to 2.11.* (#8091)
Co-authored-by: hauntsaninja <>
2022-06-18 08:51:10 +01:00
Shantanuandhauntsaninja 5f1f6dc310 redis: remove duplicate allowlist entries (#8097)
Co-authored-by: hauntsaninja <>
2022-06-18 08:42:07 +01:00
Shantanu c31baed61d [stubsabot] add script (#8035) 2022-06-17 21:52:36 -07:00
Shantanuandhauntsaninja 8cac5284ae [stubsabot] Bump braintree to 4.15.* (#8080)
Co-authored-by: hauntsaninja <>
2022-06-14 22:04:35 +01:00
Shantanuandhauntsaninja 2755d8c310 [stubsabot] Bump pyfarmhash to 0.3.* (#8079)
Co-authored-by: hauntsaninja <>
2022-06-14 22:03:53 +01:00
Shantanuandhauntsaninja 1fab7f76fb [stubsabot] Bump ujson to 5.3.* (#8078)
Co-authored-by: hauntsaninja <>
2022-06-14 21:44:12 +01:00
Shantanu 7c473240ff [stubsabot] Bump flake8-simplify to 0.19.* (#8052) 2022-06-13 12:24:49 +02:00
Shantanu 95128e61ec certifi: mark as obsolete since 2022.5.18.1 (#8045) 2022-06-09 15:49:23 +02:00
Shantanu 971deee833 Remove stubs/filelock (#8046)
See #8043
2022-06-09 11:22:50 +02:00
Shantanuandhauntsaninja 81fd55a885 frozendict: mark as obsolete since 2.2.0 (#8044)
It has shipped with a py.typed file since v.2.2.0 in January: https://github.com/Marco-Sulla/python-frozendict/commit/7fcdd3aa990aa323fbcecea4b33733468c97cc27

It can be removed come July 15

Co-authored-by: hauntsaninja <>
2022-06-09 09:49:52 +01:00
Shantanu d3e291cfb6 filelock: mark as obsolete since 3.3.0 (#8043) 2022-06-09 10:39:16 +02:00
Shantanu 2cbbb31bc3 freezegun: mark as obsolete since 1.2.1 (#8042)
Linking #5842
2022-06-09 10:32:56 +02:00
Shantanuandhauntsaninja 2414b21a96 Update xxhash (#8034)
Co-authored-by: hauntsaninja <>
2022-06-07 17:45:04 -07:00
Shantanuandhauntsaninja 8fd308699c Update flake8-rst-docstrings (#8033)
Fixes #8032

Co-authored-by: hauntsaninja <>
2022-06-07 17:33:10 -07:00
Shantanuandhauntsaninja a6924bdcfa Fix CI for Python 3.11 beta 2 (#8005)
Co-authored-by: hauntsaninja <>
2022-06-01 02:28:40 -07:00
Shantanuandhauntsaninja d736bb9d85 caldav: add verify_expand to Calendar.date_search (#7996)
Co-authored-by: hauntsaninja <>
2022-05-30 18:29:19 -07:00
Shantanuandhauntsaninja bf68214245 mypy_primer: report lines truncated (#7993)
Co-authored-by: hauntsaninja <>
2022-05-30 17:04:34 -07:00
Shantanuandhauntsaninja c8f9abf41d threading.Semaphore: add _value (#7952)
I've had occasion to use this multiple times. We already have _value for
asyncio.locks.Semaphore See also
https://github.com/python/cpython/issues/93213

Co-authored-by: hauntsaninja <>
2022-05-25 14:24:09 -07:00
Shantanu 8968eb4fc9 bdb: update for py311 (#7927) 2022-05-23 09:20:48 +02:00
Shantanu ceda368abc shutil: update rmtree for py311 (#7925) 2022-05-22 15:40:06 -07:00
Shantanuandhauntsaninja c0aafb9a34 termios: update for py311 (#7924)
Co-authored-by: hauntsaninja <>
2022-05-22 15:36:50 -07:00
Shantanuandhauntsaninja 5b1ef8b119 mmap: add MADV_FREE on darwin (#7923)
Co-authored-by: hauntsaninja <>
2022-05-22 15:30:09 -07:00
Shantanuandhauntsaninja f2ea124e82 random: explicitly mention int for seed (#7916)
https://github.com/python/typeshed/pull/7906#discussion_r878750404
I felt this better documents how seed is used in practice

Co-authored-by: hauntsaninja <>
2022-05-21 13:00:05 -07:00
Shantanuandhauntsaninja cb45a4387f stubtest: organise allowlists (#7847)
Co-authored-by: hauntsaninja <>
2022-05-16 21:29:39 -07:00