Commit Graph

47 Commits

Author SHA1 Message Date
bersbersbers
48a68f521e pyinstaller: allow Splash(text_pos = None) (#11835) 2024-04-25 22:42:18 +02:00
Sebastian Rittau
7d56cd9a6c Remove remaining bare Incompletes (#11768)
Enable Y065
2024-04-16 06:26:14 -07:00
Avasam
b9fd082cf7 Bump pyinstaller to 6.6.* (#11764) 2024-04-14 19:33:06 +02:00
Avasam
354ecd084f Bump pyinstaller to 6.5.* (#11563) 2024-03-10 16:32:56 +00:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
github-actions[bot]
7e6b89189f [stubsabot] Bump pyinstaller to 6.4.* (#11398) 2024-02-11 16:18:04 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Sebastian Rittau
23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Sebastian Rittau
4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Avasam
d3bf2805b4 Bump pyinstaller to 6.3.* (#11175) 2023-12-17 13:47:29 -08:00
Alex Waygood
1d2fe59e88 Third-party stubs: remove unused type: ignores (#11063) 2023-11-23 13:35:45 +00:00
Avasam
df623b85d8 Bump pyinstaller to 6.2.* (#11023) 2023-11-12 22:46:10 +00:00
Avasam
1582e4833a Update PyInstaller.building.api.EXE.__init__ (#11024) 2023-11-12 18:59:34 +00:00
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00:00
github-actions[bot]
4a854366e0 [stubsabot] Bump pyinstaller to 6.1.* (#10885)
Release: https://pypi.org/pypi/pyinstaller/6.1.0
Homepage: https://www.pyinstaller.org/
Repository: https://github.com/pyinstaller/pyinstaller
Diff: https://github.com/pyinstaller/pyinstaller/compare/v6.0.0...v6.1.0

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/functional/modules/pyi_import_main/hooks/hook-PyInstaller.py`, `tests/functional/modules/pyi_import_main/hooks/hook-pytest.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 5 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/api.py`, `PyInstaller/building/build_main.py`, `PyInstaller/depend/analysis.py`, `PyInstaller/utils/hooks/__init__.py`.
 - Total lines of Python code added: 122.
 - Total lines of Python code deleted: 22.
2023-10-14 07:44:01 +02:00
Sebastian Rittau
54a8fd74a7 PyInstaller: List ignored building sub-modules explicitly for stubtest (#10845)
This prevents stubtest from ignoring errors in modules that are stubbed.
2023-10-06 12:05:46 +01:00
Avasam
747222469d Bump pyinstaller to 6.0.* (#10800) 2023-09-28 22:30:59 -07:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Avasam
93b4060cd4 [PyInstaller] TOCs are not often lists of TOCs (#10366) 2023-06-27 16:36:51 +02:00
github-actions[bot]
ca13bcc286 [stubsabot] Bump pyinstaller to 5.13.* (#10357)
* [stubsabot] Bump pyinstaller to 5.13.*

Release: https://pypi.org/pypi/pyinstaller/5.13.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.12.0...v5.13.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `PyInstaller/hooks/pre_safe_import_module/hook-distutils.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 4 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/api.py`, `PyInstaller/building/build_main.py`, `PyInstaller/compat.py`.
 - Total lines of Python code added: 962.
 - Total lines of Python code deleted: 648.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

* Update compat.pyi

---------

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-25 09:46:19 +01:00
github-actions[bot]
919f1d0aca [stubsabot] Bump pyinstaller to 5.12.* (#10287)
Release: https://pypi.org/pypi/pyinstaller/5.12.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.11.0...v5.12.0

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/functional/scripts/pyi_lazy_import.py`, `tests/functional/test_import_lazy_loader.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/build_main.py`, `PyInstaller/building/splash.py`, `PyInstaller/compat.py`, `PyInstaller/lib/modulegraph/modulegraph.py`, `PyInstaller/utils/win32/versioninfo.py`.
 - Total lines of Python code added: 647.
 - Total lines of Python code deleted: 887.
2023-06-09 08:37:37 +01:00
Nikita Sobolev
aa36289684 Bump PyInstaller to 5.11.* (#10179)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 11:52:19 +01:00
Avasam
4930ebade4 Type PyInstaller.building.api and related modules (#9730)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-26 17:49:30 -07:00
github-actions[bot]
96a5a835a2 [stubsabot] Bump pyinstaller to 5.10.* (#10034) 2023-04-12 09:05:40 +02:00
Alex Waygood
6fd7e36e80 Add default values for third-party stubs beginning with 'P' (#9957) 2023-03-27 18:58:53 +01:00
github-actions[bot]
6d2d91c8f9 [stubsabot] Bump pyinstaller to 5.9.* (#9880)
Release: https://pypi.org/pypi/pyinstaller/5.9.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.8.0...v5.9.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 3 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/build_main.py`, `PyInstaller/isolated/_parent.py`.
 - Total lines of Python code added: 28.
 - Total lines of Python code deleted: 59.
2023-03-14 00:18:35 +00:00
Alex Waygood
1d2ae2598b Fix some typos in comments (#9802) 2023-02-23 22:11:24 +00: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
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Avasam
95789d20b2 Bump pyinstaller to 5.8.* (#9721)
Release: https://pypi.org/pypi/pyinstaller/5.8.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.8.0
2023-02-11 18:00:16 -08:00
Avasam
372073d35b Use _typeshed.FileDescriptorOrPath in stubs (#9695) 2023-02-09 08:30:19 +01:00
Avasam
f1aede7162 Manual changes of Any union to Incomplete in stubs folder (#9566)
- ClassVar[Any | None]
- Missed previous changes due to alias
- Manual review of leftover Any unions (`| Any` and `Any |`)
2023-02-02 06:48:41 -08:00
Avasam
b151e2396a Add defaults for params and constants in pyinstaller (#9640) 2023-01-31 17:24:39 -08:00
Alex Waygood
a9b4fa0a32 Fix some stubtest complaints before they happen (#9585)
Add missing objects to various stubs
2023-01-24 21:45:31 +00:00
Avasam
1a9aa3f3fe Update various comments now non-types dependencies are allowed (#9527) 2023-01-14 13:20:04 +00:00
Avasam
5eb6a692f5 types-pyinstaller: no longer subclass "Any" (#9495) 2023-01-11 09:32:54 +00:00
Avasam
307dd08a6e Bump pyinstaller to 5.7.* (#9343) 2022-12-08 10:45:30 +00:00
Nikita Sobolev
c6261372d7 Always use bool and Literal for Python compat code (#9213) 2022-11-16 18:00:59 +00:00
Alex Waygood
658b6e7de0 PyInstaller: Fix DeprecationWarning when parsing the stub using ast.parse() (#9112)
```python
>>> import ast, warnings
>>> warnings.filterwarnings("always")
>>> with open("typeshed/stubs/pyinstaller/pyi_splash/__init__.pyi", encoding="utf-8") as file:
...     source = file.read()
...
>>> ast.parse(source)
<unknown>:11: DeprecationWarning: invalid escape sequence '\u'
<ast.Module object at 0x0000027EAF6D3AF0>
```

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-06 14:50:38 -08:00
Nikita Sobolev
86f9d93003 Update pyright to 1.1.278 (#9077)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-11-03 15:32:10 +00:00
Jelle Zijlstra
43631078f0 importlib: improve bytes handling (#9070) 2022-11-03 12:00:24 +01:00
Samuel T
8ca0394ead Bump pyinstaller to 5.6.* (#8981) 2022-10-25 06:39:32 -07:00
Samuel T
1d7ace353a Bump PyInstaller-stubs to 5.5 (#8874) 2022-10-10 04:22:55 +01:00
Alex Waygood
48e76e8a56 Bump mypy to 0.981 (#8796) 2022-09-26 17:14:33 -07:00
Samuel T
dba47e0cfe Add reportMissingParameterType to pyrightconfig.stricter.json (#8770) 2022-09-21 16:19:09 -07:00
Samuel T
d7160ca67c Pyinstaller: use StrPath over StrOrBytesPath (#8780)
Fix incorrect StrOrBytesPath in PyInstaller stubs
Change StrOrBytesPath to StrPath when exclusively used with strings.
2022-09-21 16:09:11 -07:00
Samuel T
c9346f32e1 Add stubs for PyInstaller (public API only) (#8702) 2022-09-15 13:27:53 +01:00