David Salvisberg
d3faa5a8b0
uWSGI: Makes stubtest_allowlist_darwin more resilient against CI flakyness ( #11819 )
2024-05-15 12:07:55 -04:00
Shantanu
29db988c0a
Disable uwsgi, pyaudio, jack-client stubtest on macOS ( #11821 )
2024-04-24 08:10:33 +02:00
Sebastian Rittau
b6eaadcfe5
Update typing_extensions imports in third-party stubs ( #11245 )
2024-01-05 15:40:13 +01:00
Avasam
22b055a147
Fill in all missing upstream_repository fields ( #10571 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-08-13 22:03:33 +01:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
2704a8d916
pyaudio: fix stubtest failures (#9416 )
2022-12-27 16:11:01 +01:00
Avasam
7050c1d907
Add support for Homebrew and Chocolatey ( #9187 )
2022-11-24 07:17:17 +00:00
Avasam
41d508472a
Add missing symbols in pyaudio stubs ( #9206 )
...
Split off from #9187
Turned off `ignore_missing_stub` for pyaudio stubs.
Ensured it's valid for Windows and MacOS.
2022-11-16 06:23:08 -08:00
kasium
f9cd5ee859
Improve ast types; revert several "redundant numeric union" changes from #7906 ( #9130 )
...
* Adapt number types in ast
Since mypy 0.990 type promotions was limited.
This means that complex is not longer promoted to int/float, therefore
we should adapt the types to list all possible types
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com >
2022-11-14 09:41:23 +00:00
Nikita Sobolev
9cd9f6f6e0
Add the ability to run third-party stubtest on Windows or MacOS when needed ( #8923 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-11-11 13:40:50 +00:00
Shantanu
64181e8dad
stubtest: use separate table in METADATA.toml ( #8096 )
2022-06-19 00:43:24 -07:00
Alex Waygood
76a4bd796b
Simplify and correct many numeric unions ( #7906 )
...
Unblocks PyCQA/flake8-pyi#222
2022-05-21 15:25:00 +01:00
Alex Waygood
5c6178a821
Import generics from standard modules in all third-party stubs ( #7791 )
2022-05-07 10:35:50 +02:00
Sebastian Rittau
f7aa41245e
Drop Python 2 support in third-party stubs ( #7703 )
2022-04-27 15:32:17 +03:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Jelle Zijlstra
b7d129f727
PEP 604: Remove some more uses of Union/Optional ( #7515 )
...
The following patterns still break mypy:
1. `type[]` at top level fails
2. `tuple[T1, T2]` at top level fails (but `tuple[T1, ...]` is fine)
3. `T1 | Callable[..., T2 | T3]` fails, but only <=3.9
This PR cleans up usage of `Union` and `Optional` outside these patterns.
2022-03-19 08:23:00 -07:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Jelle Zijlstra
339bfbbfaa
remove "= ..." from top-level values ( #6930 )
2022-01-16 18:38:00 +02:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Sebastian Rittau
14e5d16c3a
Replace METADATA stubtest key with stubtest_apt_packages ( #6704 )
2021-12-27 17:28:59 +01:00
Sebastian Rittau
bb77f39b7c
Add a 'stubtest' flag to METADATA.toml ( #6687 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2021-12-25 17:02:57 +02:00
Sebastian Rittau
9f86972350
Add star to all non-0.1 versions ( #6146 )
2021-10-11 13:41:19 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Jelle Zijlstra
620cf38152
pyaudio: don't use ClassVar[Final] ( #5498 )
2021-05-18 19:25:14 -07:00
Vasily Zakharov
3774fa9e8e
Stubs for PyAudio ( #5081 )
2021-03-23 17:08:22 -07:00