* Rewrite WASM support
* Add WASM tests to CI, update CI to test more the latest versions, add auto EMSDK version detection function
* Fix some mistakes, typos, moved emsdk version function into BuildJob
* Fix issue related to extensions interfering with wasm on 6.8+
* Fix tests
* Remove dep on Version in CI
* Remove safety before patch
* handle cases where extensions don't exist.
for example with windows desktop 6.8.1 win64_msvc2022_arm64_cross_compiled
both qtwebengine and qtpdf don't exist.
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* for --long-modules assume extension doesn't exist on download error.
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* for --modules assume extension doesn't exist for download failures.
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* reformat with black
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* fix flake8 regression that doesn't occur locally.
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* Fix autodesktop by also updating the OS when searching for a valid desktop version to download
* Fix extension issue, reduce the possible retry for getting extensions to prevent server spam
* Fix CI asking for msvc2019 on 6.8+ but its no longer supported
* Make CI use C++20 and MSVC2022
* Fix linux build
* Update runners to windows-2022
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* Fix patching
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* Add back the semantic version changes to prevent crashes, add tests for it
* Update checks
* Cast 'https://mirrors.ustc.edu.cn' to the shadow realm
* Again
* Update settings.ini
* Update settings.ini
* Update settings.ini
* Remove one_rep on silent
* Update settings.ini
* Restore master settings, remove hash check
* ci: Use specific mirror
Attempt to work around download errors in Azure due to Qt's official download site often redirecting to mirrors to which the network connection is unstable
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* Re enable hash checking
* Treat read timeout error during download as connection error
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
* Add test for modules in WASM with autodesktop
* Fix format
* Fix test
* Make '--autodesktop' trigger its own install process, and test it
* Fix older autodesktop tests
* Add mock update files for 680 wasm, add test for wasm 680 autodesktop
* Passes the additional tests
* Fix format
* Improve coverage, fix format
* Fix tests and improve logging or install
* Fix format
* Fix regression in other tests
* Use flavor
* Fix line len
* Fix codeql
* Fix list-qt for WASM arch on 6.5.x and 6.6.x, restore to original download URL
* Fix test error
* Revert ci settings URL as it is never used by clients, only in CI
* Add comment for clarity in ci/settings.ini
---------
Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
Co-authored-by: tsteven4 <13596209+tsteven4@users.noreply.github.com>
Co-authored-by: J.D. Purcell <jdpurcell@gmail.com>
* appease mypy Version no-untyped-call
Without the type hint we get:
error: Call to untyped function "Version" in typed
context [no-untyped-call]
Note that our Version is derived from semantic_version, which
doesn't have type hints.
* mark class definition __init__ functions -> None.
This prevents reviewdog from generating an no-untyped-call warning
when a new instance of the class is created. This behavior is
a time bomb. reviewdog flags the warning at the line the new instance
was added, which is within the scope of the diffs, but the problem lies
elsewhere, in the class definition.
* fix mypy import-untyped error.
- Minimum required python version to be 3.8.10, a last version which got regular bug fixes.
- tox: drop 3.7 and add 3.12
- Next aqtinstall release will be version 3.2.0
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
- bump pytest-remotedata@0.4.1
- move pytest-leaks as debug extra
- set extras with debug for py39d,mprof,fil debug/profile configuration of tox
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
There's a version resolution issue with sphinx and sphinx_rtd_theme;
sphinx_rtd_theme just added support for sphinx 7 last week.
For some reason, recent docs builds are installing sphinx<2 and
sphinx_rtd_theme<0.5, and then installing and running sphinx 7.2.3 and
running it with sphinx_rtd_theme 0.4.3.
Hopefully, requesting newer versions in the pyproject.toml file will
fix this.
Failing build that pairs sphinx 7 with sphinx_rtd_theme 0.4.3:
https://readthedocs.org/projects/aqtinstall/builds/21735283/
- check mypy and lint tool on python 3.9
- Install check on python 3.10
- Publish to pypi on python 3.10
- Tox test on python 3.8, 3.10, 3.11
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
- Call PyInstaller directly from builder script
- Drop depenency to gravitybee
- Change artifact path `dist/` on ci, test and upload scripts
- Move standalone builder python script in `tools`
- Also add pseudo launcher script in `tools` for PyInstaller
- Actions: Update binary build and release scripts
- Binary is built on venv that is removed after built
- Support not only Windows but also linux/mac
- Built on powershell on Windows, bash on others
- Clean up duplicated configurations on setup.cfg
- Leaves `entry_points` and `package_data` options
Signed-off-by: Hiroshi Miura <miurahr@linux.com>