Commit Graph

157 Commits

Author SHA1 Message Date
Philipp Wolfer
866ef71dce Skip locale test if locales are not built, build locales in CI tests 2023-06-09 09:19:07 +02:00
Philipp Wolfer
b0a6cbf352 Remove PGP code signing for PyPI release
PyPI stopped supporting PGP code signing, see
https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-05-31 14:48:23 +02:00
Philipp Wolfer
0d3365627d PICARD-2624: Use mutagen 1.46 with IFF file patch for macOS / Windows packages
Fixes writing IFF files with truncated trailing null bytes.
2023-05-31 09:21:24 +02:00
Philipp Wolfer
047255c7c0 Build with PyInstaller 5.11 2023-05-14 11:25:38 +02:00
Philipp Wolfer
55c1b2c200 Upgrade to PyInstaller 5.10.1 2023-04-18 09:27:05 +02:00
Philipp Wolfer
db3ff8969a Use binary builds of libdiscid for macOS 2023-02-28 22:05:10 +01:00
Philipp Wolfer
c4c66df644 Package libdiscid 0.6.3 for Windows and macOS builds 2023-02-28 22:05:10 +01:00
Philipp Wolfer
4996c9ee1b CI validate-appstream: Properly set Python version to use 2023-01-06 08:12:45 +01:00
Philipp Wolfer
051d26facc CI: Use actions/setup-python@v4 2023-01-06 08:08:20 +01:00
Philipp Wolfer
bb1014bc19 Use different Python versions for different macOS builds 2022-12-21 10:20:54 +01:00
Philipp Wolfer
0a9b259e43 Build macOS packages with latest Python 3.11 2022-12-20 21:49:21 +01:00
Philipp Wolfer
49b05370ac Fixed macOS Python checksum 2022-12-20 21:45:35 +01:00
Philipp Wolfer
84705b0305 macOS build with Python 3.9.13 2022-12-20 21:44:16 +01:00
Philipp Wolfer
1233d45336 PICARD-2192: Build macOS packages with fpcalc universal
Allows native ARM support for fpcalc. Partially addresses PICARD-2192
2022-12-16 18:31:14 +01:00
Philipp Wolfer
130bb9005f CI: Run validate-appstream when NEWS.md changes 2022-12-06 07:56:41 +01:00
Philipp Wolfer
96546a9a53 CI: Validate AppStream metadata on Linux 2022-12-05 22:33:49 +01:00
Philipp Wolfer
6818cab7ac Build with PyInstaller 5.7 2022-12-05 18:40:50 +01:00
Philipp Wolfer
3d37215ef4 Removed exclusion of Python 3.10 on macOS for PyPI builds
pyobjc has become available
2022-11-29 18:58:19 +01:00
Philipp Wolfer
623ca24e3c Github Actions: Replaced deprectaed set-output 2022-11-28 10:16:50 +01:00
Philipp Wolfer
05ec3d5f5f Make setting the publisher based on certificate subject part of APPX build script 2022-10-31 16:28:24 +01:00
Philipp Wolfer
2a1d2a95c9 Windows code signing: Set publisher from certificate subject for signed APPX package 2022-10-31 16:04:28 +01:00
Philipp Wolfer
e46419fb43 Upgrade to isort 5 (#2164)
* Upgrade to isort 5

isort 5 now can also handle imports not at top, hence some new locations now get sorted automatically.

* Move isort config from .isort.cfg to pyproject.toml

* isort: remove exclusion of some source files

isort now only ignores auto-generated files. The other files had been excluded because old isort could not handle imports not placed on the top.

* isort: use skip_glob to ignore resources.py

This should fix issues with the `skip` parameter on Windows.
2022-10-29 15:44:12 +02:00
Philipp Wolfer
0bca13bad4 CI: Upgrade setuptools before pypi builds 2022-10-28 08:07:40 +02:00
Philipp Wolfer
b633a458a9 Upgrade setuptools for CI tests and packaging 2022-10-27 21:27:08 +02:00
Philipp Wolfer
cf4bbe6012 CI: Build and test with Python 3.11 2022-10-27 08:43:29 +02:00
Philipp Wolfer
4aff0310ca PICARD-2331: Python 3.7 is now the minimum supported version
PyQt6 is not available for older Python versions
2022-10-10 12:08:10 +02:00
Philipp Wolfer
04db83182e Build with PyInstaller 5.5 2022-10-09 12:42:38 +02:00
Philipp Wolfer
41d204c17d Use PyInstaller 5.3 for mac and windows builds 2022-07-31 13:34:43 +02:00
Philipp Wolfer
35bdb23cae Use setup.py to install PyInstaller on macOS
Fixes issues with pip not being able to find the package to install
2022-07-22 10:06:52 +02:00
Philipp Wolfer
2d9d1c5335 Use latest PyInstaller 5.2 for macOS builds 2022-07-22 09:53:43 +02:00
Philipp Wolfer
66c9ced2a9 Github has deprecated the macOS-10.15 image, use macos-11 instead 2022-07-22 09:39:31 +02:00
Kamil
f3d3b2647d unified timeouts 2022-06-29 14:19:17 +00:00
Kamil
4896e30dbe timeout added 2022-06-28 23:36:52 +00:00
Kamil
20869e31b1 timeouts added 2022-06-28 23:34:48 +00:00
Kamil
965f675243 added timeout to *verify sdist package*
Should have a bit more time preallocated than just run-tests but it also can get stuck (runs tests too), so timeout 40min should be okay.
2022-06-28 23:30:19 +00:00
Kamil
9c0e373314 timeout added to pytest (#2122)
timeout added to pytest
2022-06-26 14:14:35 +02:00
Frazer Smith
401102d2ef Update GitHub Actions 2022-06-18 22:58:43 +02:00
Philipp Wolfer
5ef1a4825e Re-enable macOS tests with Python 3.10 2022-06-08 23:56:31 +02:00
Philipp Wolfer
bdf37aef7a Use Python 3.9.12 for macOS packaging 2022-04-02 13:33:56 +02:00
Philipp Wolfer
fb2c89a94f PyInstaller: Apply workaround to fix PyInstaller install issues on macOS
See https://github.com/pyinstaller/pyinstaller/pull/6701
2022-03-28 17:02:19 +02:00
Philipp Wolfer
a19f54a00a Build with PyInstaller 4.10 2022-03-28 17:02:19 +02:00
Philipp Wolfer
5e3fa405af PICARD-2422: Removed packaging of AB streaming extractor 2022-02-16 11:46:21 +01:00
Philipp Wolfer
d34df0049c CI: Run tests on windows-2019 explicitly
Ensures that Python 3.6 is available
2022-02-11 14:59:08 +01:00
Philipp Wolfer
bbf7c725ed Update to latest Python 3.9.x for macOS builds 2022-01-20 13:01:20 +01:00
Philipp Wolfer
486d0fd2dc The minimum supported Qt5 version is now 5.11 2022-01-14 18:28:01 +01:00
Philipp Wolfer
2323fa9e21 PICARD-2380: Package fpcalc 1.5.1 on macOS and Windows 2022-01-14 08:16:25 +01:00
Philipp Wolfer
197efffec1 packaging: Verify SHA256 hashes of downloaded Windows dependencies 2021-12-25 17:37:54 +01:00
Philipp Wolfer
471065964c packaging: verify checksums for macOS downloaded dependencies 2021-12-24 12:30:06 +01:00
Philipp Wolfer
3dbc748382 pypi: no Python 3.10 for macOS yet 2021-12-16 08:10:20 +01:00
Philipp Wolfer
cb638b9a7d pypi: fixed definition of Python versions 2021-12-16 08:02:26 +01:00