Commit Graph

8887 Commits

Author SHA1 Message Date
Avasam
ff7caa30e2 setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
2024-03-16 12:06:37 +00:00
Ali Hamdan
82d84c758c Improvements to the contributing guide (#11615) 2024-03-15 22:35:07 +00:00
Sebastian Rittau
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
Maico Timmerman
bd33ada0e3 python-dateutil: respect inheritance on relativedelta.__rsub__ (#11462) (#11463) 2024-03-15 17:06:54 +01:00
Ismail S
a20f54663c Add taskName to LogRecord (#11609) 2024-03-15 15:34:13 +01:00
Sebastian Rittau
37ebe904ed [Markdown] Bump to 3.6.* (#11607) 2024-03-15 07:10:23 -07:00
danieleades
a35b769410 improve type annotations in 'docutils.utils.Reporter' (#11521) 2024-03-15 13:25:10 +01:00
Patrick Rauscher
3d138380c2 Allow slices for SynchronizedArray (#11573) 2024-03-15 13:10:16 +01:00
Sebastian Rittau
0b1e5d3f34 stubsabot: Skip test files in diff analysis (#11606) 2024-03-15 13:08:40 +01:00
Patrick Rauscher
6943dcd03f Fix typing of multiprocessing.Value and Array (#11576) 2024-03-15 12:50:48 +01:00
Alex Waygood
2334b06abf Go back to using py311 for regr-test.py for now (#11604) 2024-03-15 11:55:13 +01:00
Matthew Hoffman
53443ac4d0 [psutil] add settable info property (#10275) 2024-03-15 10:16:06 +01:00
Jelle Zijlstra
1a275547b4 CONTRIBUTING.md: Add PR closing policy (#11596)
Closes #11583

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-14 22:06:26 -07:00
Avasam
8e2ce00623 Bump setuptools to 69.2.* (#11603) 2024-03-14 22:04:34 -07:00
David Salvisberg
449f70f1f1 Bump requests-oauthlib to 1.4.* (#11601) 2024-03-14 23:36:19 +01:00
github-actions[bot]
5e642aa7fe [stubsabot] Bump python-dateutil to 2.9.* (#11518)
Co-authored-by: stubsabot <>
2024-03-14 21:26:29 +00:00
danieleades
5b84210a62 improve type annotations in 'docutils.parsers.rst.directives' (#11597) 2024-03-14 13:57:18 +01:00
Alex Waygood
0f4a2dfec4 pin uv to 0.1.18 (#11598)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2024-03-14 11:46:03 +00:00
renovate[bot]
48106feed7 chore(deps): update pytype and pyright (#11595) 2024-03-14 09:28:09 +01:00
danieleades
a1bfd65e9f improve type annotations in 'docutils.statemachine' (#11469) 2024-03-13 19:10:40 +01:00
Thanos
64f009155e [RPi.GPIO] General improvement of stubs. (#11516) 2024-03-13 16:25:15 +01:00
danieleades
15536bd391 improve type annotations in 'docutils.parsers.rst.directives.misc' (#11524)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-13 06:44:58 -07:00
Alex Waygood
7894b095eb Renovate config: give the dependency groups better names (#11589) 2024-03-13 10:49:27 +00:00
Alex Waygood
382c046e9b fix renovate config (#11587) 2024-03-13 10:38:15 +00:00
Alex Waygood
c3f363ce33 Use stricter pyright settings for pygit2 (#11585) 2024-03-13 10:30:46 +00:00
Alex Waygood
405494891c Setup renovate for updating dependencies (#11565) 2024-03-13 10:27:03 +00:00
shawnbrown
ea6dac40d4 sqlite3: handle return-type with factory argument. (#11571) 2024-03-13 09:14:08 +01:00
Hoël Bagard
8558307188 tensorflow: Add tensorflow.keras.models.Model (#11334)
Based on:

- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/saved_model/__init__.pyi
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/types/experimental.pyi
2024-03-12 21:01:09 -07:00
Hoël Bagard
6c52322be6 tensorflow: Add missing members to the tensorflow.keras.layers module. (#11333)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Rebecca Chen <rechen@google.com>
2024-03-12 20:45:47 -07:00
Hoël Bagard
56bb53aea7 tensorflow add tensorflow.saved_model (#11439)
Based on:
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/saved_model/__init__.pyi
- https://github.com/hmc-cs-mdrissi/tensorflow_stubs/blob/main/stubs/tensorflow/types/experimental.pyi
2024-03-12 20:30:11 -07:00
Alex Waygood
8a9dcb1967 Make stubtest work on pyscreeze if you're using py312 (#11582) 2024-03-12 23:04:57 +01:00
Sebastian Rittau
417bdb9ac9 Refactor and merge requirements parsing (#11581) 2024-03-12 16:34:47 +01:00
WÁNG Xuěruì
e960f2ff77 pygit2: Add missing Repository fields (#11579) 2024-03-12 11:38:44 +01:00
WÁNG Xuěruì
9a4b605065 Add stubs for pygit2 (#11374)
The upstream library is very tricky to type (likely requires nontrivial
refactoring), and only contains partial type information, but stubs are
a lot easier because only the public signatures are involved this way,
so I plan to first make the library usable in typed projects by making
stubs available here, then gradually work my way upstream.

The stubs are auto-generated then completed with fully manual inspection
of every Python source file. The `_pygit2.pyi` comes from upstream and
is mostly untouched except for required style changes, the signature of
`options()`, and `FilterSource` which is missing from upstream.
2024-03-11 22:48:12 -07:00
Avasam
dea4dd1dc1 pywin32: Correctly reference TimeType aka pywintypes.datetime (#11577)
* Correctly reference TimeType

* PyUnicode is UnicodeType
2024-03-11 22:42:51 -07:00
Rebecca Chen
a4cc79fbec networkx: add another overload to OutEdgeView.__call__(). (#11578)
It's common to call the 'edges' property of a DiGraph with an 'nbunch'
argument and no other arguments (see the Examples section of
https://networkx.org/documentation/stable/reference/classes/generated/networkx.DiGraph.out_edges.html).
None of the existing overloads allow this.
2024-03-11 19:42:55 -07:00
Sebastian Rittau
4c5c5760cf email.message: Allow any header value (#11574) 2024-03-11 17:47:00 -04:00
Avasam
579d208b19 Add deprecation decorator and comments for pywin32 (#11570)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-03-11 12:36:44 -07:00
Alex Waygood
3802899a01 Bump google-cloud-ndb to 2.3.* (#11566) 2024-03-11 00:22:14 +01:00
Jelle Zijlstra
a6bdb25991 typing: Deprecate creating a NamedTuple with kwargs (#11567)
c5fa796619/Lib/typing.py (L2874)
2024-03-10 16:20:35 -07:00
Avasam
354ecd084f Bump pyinstaller to 6.5.* (#11563) 2024-03-10 16:32:56 +00:00
Alex Waygood
24d39de94b Use Python 3.11 for third-party stubtest in CI (#11562) 2024-03-10 08:01:38 -07:00
Avasam
1a942aa36d Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-10 14:35:45 +00:00
Alex Waygood
55205a4ce6 Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12 (#11561) 2024-03-10 14:16:34 +00:00
Alex Waygood
e085a00a8e Bump flake8-pyi to 24.3.0 (#11560) 2024-03-10 14:03:13 +00:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
Jelle Zijlstra
f94bbfbcc4 Update the README (#11553)
Read through the README and changed anything that no longer made sense. In particular, the documentation of our stub versioning scheme was outdated.
2024-03-09 15:59:15 -08:00
Shantanu
2d146e7da2 Use PEP 570 syntax in comments (#11552) 2024-03-09 15:06:25 -08:00
Shantanu
470a13ab09 Use PEP 570 syntax in stdlib (#11250) 2024-03-09 14:50:16 -08:00