Commit Graph

178 Commits

Author SHA1 Message Date
dependabot[bot]
e336bbe9cd Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-24 15:49:25 +02:00
Philipp Wolfer
118f5f7b66 Build macOS and Windows packages with libdiscid 0.6.4 2023-09-22 14:49:21 +02:00
Philipp Wolfer
05d605d1d5 PICARD-2760: Use SignTool for all Windows code signing
This tool is more flexible then the than the Powershell commandlet and
unifies code signing between .exe and .appx packages.
2023-09-21 10:56:12 +02:00
Philipp Wolfer
bf2fb6832f Mark github releases as pre-release automatically 2023-09-13 08:48:08 +02:00
Philipp Wolfer
f3b565a46c macOS: Build with Python 3.11.5 2023-09-11 15:52:38 +02:00
Philipp Wolfer
f89288f16b Build with PyInstaller 5.13.2 2023-09-11 12:39:37 +02:00
Philipp Wolfer
1912420bb9 Run CI tests with Python 3.12.0-rc.1 2023-09-09 12:49:20 +02:00
Philipp Wolfer
9009771776 Restrict default permissions of Github Actions 2023-09-08 07:34:02 +02:00
Philipp Wolfer
6f46ebc367 PICARD-2746: Validate XDG desktop file in CI 2023-09-06 08:29:05 +02:00
Philipp Wolfer
1a83269872 CI: Ensure clean repository when building sdist packages 2023-09-06 00:12:42 +02:00
Philipp Wolfer
9971f0848e Build with official mutagen 1.47.0 release
Remove workaround of installing patched mutagen.
2023-09-03 18:48:46 +02:00
Philipp Wolfer
d752421b11 CI: Fixed check for Windows codesigning 2023-08-15 11:26:07 +02:00
Philipp Wolfer
3b20cb2f2d Run PyPI deployment only if password is given 2023-08-15 00:11:57 +02:00
Philipp Wolfer
80831bbf19 PICARD-2691: Provide signed source files in Github release 2023-08-15 00:11:57 +02:00
Philipp Wolfer
877a69200b Avoid github actions validation warnings 2023-08-14 21:58:42 +02:00
Philipp Wolfer
e073a5b785 CI: Consistent naming of codesign environment variables
Use P12 instead of PFX in variable names
2023-07-25 15:59:45 +02:00
Philipp Wolfer
9ca6cf9364 CI: Remove openssl install for macOS PyPI packaging
No longer needed since the code signing got removed.
This solves build issues on latest Github Actions images.
2023-07-20 08:09:37 +02:00
Philipp Wolfer
e41b0d5338 Revert validating with appstream-util again
The appstreamcli currently available on Gitlab CI ubuntu-latest does not
support recommends > internet.
2023-06-16 10:35:36 +02:00
Philipp Wolfer
d22bf0d445 Fix appstream XML and use appstreamcli for validation 2023-06-16 10:35:36 +02:00
Philipp Wolfer
7ee078852a Use notarytool for macOS notarization
Notarization with the altool has been deprecated, see
https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool
2023-06-14 23:33:15 +02:00
Philipp Wolfer
580617b5e7 Build with PyInstaller 5.12 2023-06-11 17:44:27 +02:00
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