Commit Graph

51 Commits

Author SHA1 Message Date
xavier2k6
44393832f3 Explicitly use python 3.13 (#891)
Some checks failed
Check tox tests / Check packaging 📦 (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / Build package (push) Has been cancelled
Test on GH actions environment / test (binary, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.7.3) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / publish Python 🐍 distributions 📦 to PyPI (push) Has been cancelled
Co-authored-by: Hiroshi Miura <miurahr@linux.com>
2025-03-16 22:05:41 +09:00
tsteven4
1b2a9b2715 try to fix type test again, add 6.8.1 test 2024-11-30 16:33:46 -07:00
Hiroshi Miura
da23f09df9 Merge branch 'master' into topic/miurahr/drop-old-syntax 2024-10-06 11:52:57 +09:00
Hiroshi Miura
bdf8b4b1f9 chore(ci): bump target qt versions: 6.5.x, 6.6.x, 6.7.x and 6.8.0 (#822)
* chore(ci): bump target qt versions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): use install-qt subcommand

- Drop backward compat check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix qmake query checks

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix mingw targets

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add target 6.8.0 and drop use of python3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add expectation for Qt 6.8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): drop tox test from install-qt check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix expectation for windows/android qt 6.6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add taget Qt 6.7.3

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): bump actions/setup-python@v5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: drop test target Qt5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: update triggers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: disable Linux_ARM64

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: replace list with list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: no build check if list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 08:40:49 +09:00
Hiroshi Miura
a90d93b02f chore(ci): use install-qt subcommand
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 11:25:46 +09:00
Hiroshi Miura
b942aab190 chore(ci): bump artifact-upload@v4
and fix azure-pipelines job name

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 10:56:21 +09:00
Andrew Wason
452c85cd64 Fix workflows failing when fetching tags 2024-03-05 09:55:18 -05:00
Hiroshi Miura
447cce1429 chore: update CI execution trigger/schedule (#735)
* chore: update CI execution trigger/schedule

- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: suppress azure-pipelines on pr/push

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2023-11-14 23:06:18 +09:00
Dave Dalcino
5fe119e093 Run on pull request 2023-09-17 08:53:08 -07:00
Dave Dalcino
16317321b2 Fix OS check 2023-09-17 08:44:18 -07:00
Dave Dalcino
ac6375301f add debug statement for qt6 2023-09-17 08:36:53 -07:00
David Dalcino
a3fe237a19 Use python 3.8 instead of 3.9 (covered in Azure pipeline) 2023-09-17 07:45:43 -07:00
David Dalcino
bb6ab09938 Add python 3.9 & 3.11 to test-install-qt.yml 2023-09-17 07:36:43 -07:00
Dave Dalcino
a998d4368b Pin checkout at v3 in all workflows
This fixes some CI warnings about using obsolete versions of NodeJS.
NodeJS 12 (from checkout@2) is at EOL, and CI warnings recommend using
NodeJS 16. The docs for actions/checkout recommend pinning at v3.

Some of these workflows were using `checkout@master`, and were thereby
already using NodeJS 16. I'm not sure that it's necessary to use v3
for these instead of master. However, the docs suggest using v3.
If at some point the authors decide to rename the `master` branch to
`main`, then we may be glad we made this change.
2023-02-11 11:31:23 -08:00
Hiroshi Miura
a5bc8a688f Github Actions: Update CI condition
- 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>
2022-11-20 15:20:27 +09:00
Hiroshi Miura
37c4f70665 Standalone binary built with PyInstaller
- 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>
2022-10-29 12:04:09 +09:00
Hiroshi Miura
bc76ee5bac Actions: bump versions
- actions/setup-python@v4
- Use pypa/gh-action-pypi-publish@v1
  this fix a warning:
  You are using "pypa/gh-action-pypi-publish@master".
  The "master" branch of this project has been sunset
  and will not receive any updates, not even security
  bug fixes.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 09:32:20 +09:00
Hiroshi Miura
73d0a16cca Update standalone binary build scripts (#565)
- Introduce build_standalone.py
- CI: update standalone build method
- Genearte pseudo script to trick pyppyn satisfy
- Generate setup.py to trick pyppyn satisfy

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-19 22:40:14 +09:00
Hiroshi Miura
3d507d8486 Github actions to use setup-python@v2
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-15 23:28:16 +09:00
Hiroshi Miura
9582cb0e68 CI: test with python 3.10(WIP)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-15 21:37:21 +09:00
Hiroshi Miura
facde469ec CI: test with python 3.10
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-10-14 07:59:12 +09:00
Hiroshi Miura
08a5d84ac1 CI: only one job for binary distribution upload
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-09-29 17:17:02 +09:00
nikitalita
561f06b540 fix standalone path in test workflow 2021-09-15 15:30:07 -07:00
nikitalita
7186001a4c Merge branch 'build_standalone' of github.com:nikitalita/aqtinstall into build_standalone 2021-09-15 14:53:33 -07:00
nikitalita
cefa283f9d fix matrix 2021-09-15 14:53:17 -07:00
nikitalita
a65b1fb74a Update test-install-qt.yml 2021-09-15 14:40:15 -07:00
nikitalita
58b33189d6 refactor workflows for standalone build 2021-09-15 13:23:53 -07:00
Hiroshi Miura
f35edf398a Fix logging in installer sub-process when multiprocessing context with spawn method (#273)
* Simplify logging

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update logging

- keep logging file path in Settings
- introduce installer logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: add queue handler

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce logutils module

- Add QueueListenerHandler
- Add queue listener handler config
- qualname to aqt.installer

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce aqt.updater logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: introduce aqt.main and aqt.archives logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: simplify config file

- use propergate for last output handler
- change formatter
  * console: brief
  * file: verbose
- Use multiprocessing.Queue() instead of queue.Queue()
- Remember logging config file customization in Settings
- QueueListener use handler as of getLogger("aqt").handlers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* change log level of redirection

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Logging: Single global LoggingQueueListener

- Global instance of LoggingQueueListener
- Drop queue_listener from logging.ini
- Generate QueueHandler from LoggingQueueLisnter.get_queue_handler
- Explicitly close QueueListenerHandler and Queue object.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: use verbose console logging for ci

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CLI: drop options to specify logger and logger configuration file

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Make Instance of LoggingQueueListener in Cli class

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Handle QueueListener in Cli.call_installer

- Use mp.Manager().Queue()
- start(), stop() in caller
- Gracefully close QueueHandler in installer

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Drop berkeley.edu from fallbacks of mirror site

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix log format of time digits

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Update settings load

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: catch custom settings from change in master branch

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Show log when loading custom settings

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Improve subprocess logging that use root logger

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* fix logging.ini settings

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix against tests

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Introduce MyQueueListener

- Inherit System QueueListner to override logger name

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* PEP8/Black

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-06-21 15:25:00 +09:00
Hiroshi Miura
942172b274 CI: run from directory other than project root
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-06-11 09:06:39 +09:00
Hiroshi Miura
a7a5a8461f CI: change concurrency and blacklist for actions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-05-22 16:42:28 +09:00
Hiroshi Miura
2c9a50ea31 CI: drop pep517 package (#241)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-05-21 09:12:49 +09:00
Hiroshi Miura
2246e3ddf1 CI: increse timeout for android/ios tests
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-04-08 12:01:44 +09:00
Hiroshi Miura
9f1c83ce77 CI: Chnage test versions combination (#213)
* CI: Change test versions combination

- test with python 3.9 on Github actions
- test with python 3.8 on Azure pipelines
- test against 5.9.9, 5.12.8, 5.13.2, 5.14.2, 5.15.2, and 6.1.0
- run on ubuntu-20.04 for Qt6
- CI: Test mac/ios/Qt6 combination
- CI: Azure: install desktop qtbase when android and ios install
- CI: update example project for Qt6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-02-12 00:01:42 +09:00
Hiroshi Miura
060a1125f3 Handle Qt6/non-desktop installation patching (#210)
* Do not check qmake for android

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Refactoring patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: test android_armv7 in 6.0.1

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Patching qt6 android qmake script

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Patching qt6 android qmake script(wip)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: test android/qt6 on github actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Add combination for Qt6 and update README

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: Fix test cases

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: Fix Qt6 test case

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Fix windows case

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Fix windows case

Add debug print

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix prefix path for patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Improvve log messages for patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Updater: update logging message

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Updater: Fix qmake detection on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run Qt6 qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run Qt6 qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: fix mirror test

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: test Qt6 with Ubuntu 20.04

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-02-11 10:05:13 +09:00
Hiroshi Miura
c41e4f1467 Catch vesion deprecation and change
- Deprecated 5.7 on download.qt.io
- Changed 6.0 to 6.0.0 on download.qt.io

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-11-21 12:02:17 +09:00
Hiroshi Miura
3025a951a0 GHA: exclude 5.15.1/py36
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-10-13 00:27:03 +09:00
Hiroshi Miura
1709c49135 CI: change target versions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-10-06 13:23:29 +09:00
Hiroshi Miura
320c182f1e GHA: add test case with Qt5.7
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-08-01 11:06:57 +09:00
Hiroshi Miura
2af65e7e41 GHA: test with subset archives
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-21 22:02:12 +09:00
Hiroshi Miura
72c4589e7d Patch qmake as finalize process (#130)
* Patch qmake hard coded path with installed prefix(#100)
* AP: Update tests
 - Test android target with 5.14.x
 - Test ios target on mac
* Does not patch mac framework when android, ios and wasm
* Update changelog
* GHA: Update to run qmake to check patch
  - Check qmake works well if patched.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-21 21:56:04 +09:00
Hiroshi Miura
3213a665c4 GHA: do not run remote data test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Hiroshi Miura
f89c6fd06f GHA: update test version combinations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Hiroshi Miura
115270757c GHA: test with 5.14.2, 5.15.0
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Hiroshi Miura
73678ef88f GHA: run pytest
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 12:19:40 +09:00
Mizux Seiha
cc216de0c8 ci: use win64_msvc_64 when testing 2020-05-01 17:47:17 +02:00
Hiroshi Miura
3809211813 CI: reduce test cases
- GH: Remove python 3.7 on github actions test.
- Azure: Only run on master and rel-* branch.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-06 13:32:36 +09:00
Hiroshi Miura
f50bd59f98 GH-a: increse timeout to 240sec
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-06 08:01:13 +09:00
Hiroshi Miura
c78458511f gh-a: add timeout for test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-02-22 14:28:20 +09:00
Hiroshi Miura
bfa7f83560 gh-a: update installation process
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-02-22 10:28:29 +09:00
Hiroshi Miura
8a98af0d91 gh-a: fix run script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-02-22 10:18:36 +09:00