Commit Graph

225 Commits

Author SHA1 Message Date
Laurent Monin
4da5c29027 Python 3.9 isn't available anymore with macos-latest, stick to macos-12 2024-04-24 10:34:17 +02:00
Laurent Monin
14bee98104 Uncheck Update Picard documentation by default 2024-04-18 16:02:48 +02:00
Bob Swift
c39f6044cd Add documentation note to PR template as reminder 2024-04-17 09:49:54 -06:00
dependabot[bot]
0faaca2e16 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 18:07:27 +02:00
Philipp Wolfer
a769561dd8 CI: Install gettext for Windows
Before that the gettext command shipping with git for Windows were used.
Since git 2.44.0 these are no longer bundled.
2024-02-29 15:49:15 +01:00
Philipp Wolfer
4ac5dd48d5 CI: Use Powershell Add-Content instead of Write-Output to append to files 2024-02-29 12:24:13 +01:00
Philipp Wolfer
e381279086 Drop support for Python 3.8
By the time Picard 3 will be released official support for Python 3.8
will be already or nearly at its end.
2024-02-12 12:15:27 +01:00
Philipp Wolfer
743d972902 CI: Fixed newline in Github release message 2024-01-28 22:32:03 +01:00
Philipp Wolfer
28939ed88e Merge branch '2.x' 2024-01-11 11:25:17 +01:00
dependabot[bot]
aba1ecfc66 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 11:19:00 +01:00
Philipp Wolfer
b6ea65df63 Bump versions for Github actions upload-artifact, download-artifact and setup-python 2024-01-11 11:18:45 +01:00
Philipp Wolfer
29e120afb1 Disabled PyPI publishing "skip-existing" option again
It is recommended to have this disabled and in a normal workflow run
it is not needed.
2024-01-11 10:58:51 +01:00
Philipp Wolfer
1b22bba439 Fix PyPI publishing 2024-01-11 10:47:05 +01:00
Philipp Wolfer
874d671e9c Merge branch '2.x'
# Conflicts:
#	.github/workflows/package-pypi.yml
#	.github/workflows/package.yml
#	.github/workflows/run-tests.yml
#	picard/__init__.py
#	picard/acoustid/recordings.py
#	picard/config_upgrade.py
#	picard/ui/ui_options.py
#	po/appstream/lt.po
#	po/appstream/nl.po
#	po/ar.po
#	po/ast.po
#	po/bg.po
#	po/ca.po
#	po/constants/ca.po
#	po/constants/lt.po
#	po/cs.po
#	po/cy.po
#	po/da.po
#	po/de.po
#	po/el.po
#	po/en_AU.po
#	po/en_CA.po
#	po/en_GB.po
#	po/eo.po
#	po/es.po
#	po/es_419.po
#	po/et.po
#	po/fa.po
#	po/fi.po
#	po/fo.po
#	po/fr.po
#	po/fr_CA.po
#	po/fy.po
#	po/gl.po
#	po/he.po
#	po/hi.po
#	po/hr.po
#	po/hu.po
#	po/id.po
#	po/is.po
#	po/it.po
#	po/ja.po
#	po/kn.po
#	po/ko.po
#	po/lt.po
#	po/mr.po
#	po/ms_MY.po
#	po/nb.po
#	po/ne.po
#	po/nl.po
#	po/oc.po
#	po/picard.pot
#	po/pl.po
#	po/pt.po
#	po/pt_BR.po
#	po/ro.po
#	po/ru.po
#	po/sco.po
#	po/sk.po
#	po/sl.po
#	po/sq.po
#	po/sr.po
#	po/sv.po
#	po/te.po
#	po/tr.po
#	po/uk.po
#	po/vi.po
#	po/zh_CN.po
#	po/zh_TW.po
#	requirements-macos-10.14.txt
#	requirements-win.txt
#	test/test_metadata.py
2024-01-11 07:16:55 +01:00
Philipp Wolfer
bc67f437a4 Do PyPI deployment with Trusted Publisher Management
This eliminates the need to provide permanent access tokens for PyPI in
the CI and instead uses temporary tokens issued by OpenID Connect (OIDC).

This unifies Picard 2.x deployments with current master branch
2024-01-09 18:52:31 +01:00
Philipp Wolfer
c861f3adbc Skip entire package-pypi task unless running on a tag 2024-01-09 18:35:48 +01:00
Philipp Wolfer
acdc36d8da Run a single PyPI deployment task, uploading all artifacts 2024-01-09 18:25:46 +01:00
Philipp Wolfer
b4f34435ec Do PyPI deployment with Trusted Publisher Management
This eliminates the need to provide permanent access tokens for PyPI in
the CI and instead uses temporary tokens issued by OpenID Connect (OIDC)
2024-01-09 18:03:05 +01:00
Philipp Wolfer
f3cab00f74 Bump actions/upload-artifact from 3 to 4 2024-01-04 08:54:42 +01:00
dependabot[bot]
52f5a3bba5 Bump actions/download-artifact from 3 to 4
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 12:45:56 +01:00
Laurent Monin
82b745836b Merge pull request #2354 from metabrainz/dependabot/github_actions/github/codeql-action-3
Bump github/codeql-action from 2 to 3
2024-01-02 12:30:06 +01:00
dependabot[bot]
540525d73d Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 18:36:36 +00:00
dependabot[bot]
b705ba1a04 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 18:36:32 +00:00
Philipp Wolfer
bc3c942de2 Build Windows and macOS packages with Python 3.12 2023-12-20 08:52:41 +01:00
Philipp Wolfer
5fa229ff34 CI: Run codacy without SARIF upload
Prevents issues with SARIF limit on codeql,
see https://github.com/github/codeql-action/issues/1488
2023-12-19 21:44:38 +01:00
Philipp Wolfer
a262565bbb CI: Run codacy without SARIF upload
Prevents issues with SARIF limit on codeql,
see https://github.com/github/codeql-action/issues/1488
2023-12-19 21:41:56 +01:00
Philipp Wolfer
dd2f4b17ff Add a note about official download locations to Github releases 2023-12-19 10:40:03 +01:00
Philipp Wolfer
c3f160b106 Exclude signed MSIX package from Github release
See also discussion at PICARD-2678
2023-12-19 07:06:27 +01:00
Philipp Wolfer
754029a413 Build with Python 3.12 stable version 2023-12-14 10:03:08 +01:00
Philipp Wolfer
d3492701e3 Split CI package tasks into separate files 2023-10-31 10:18:53 +01:00
Philipp Wolfer
5e47d907b8 Update to PyInstaller 6.1 2023-10-31 10:11:41 +01:00
Philipp Wolfer
ba0d6acc1e Use Python 3.12 for non-version critical build steps 2023-10-31 09:28:59 +01:00
Philipp Wolfer
89d53c599b Minimum supported Python version is now 3.8 2023-10-31 09:28:59 +01:00
Philipp Wolfer
e3aae2f4b7 Exclude signed MSIX package from Github release
See also discussion at PICARD-2678
2023-10-30 08:17:25 +01:00
Philipp Wolfer
3845de8a64 Merge pull request #2154 from phw/PICARD-2331-pyqt6
PICARD-2331: Port to PyQt6
2023-10-30 07:40:04 +01:00
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
Laurent Monin
be5001cb67 Check monthly instead of weekly 2023-10-24 13:07:21 +02:00
Laurent Monin
8b888bb592 Create dependabot.yml and check github actions versions 2023-10-24 11:30:34 +02:00
Philipp Wolfer
be5b36aeb6 Use Python 3.11 for Windows builds
Minimum supported Windows version for Qt6 is Windows 10. That means we no
longer need to stick with older Python versions for backward compatibility.
2023-10-13 07:16:13 +02:00
Philipp Wolfer
a1ad409340 PICARD-2331: Update to Qt 6.5.2
This brings a huge update to QtMultimedia, fixing issues with
audio playback aborting on seek and volume changes.
2023-10-13 07:16:13 +02:00
Philipp Wolfer
c63a4c15ab PICARD-2331: CI: Install libegl1 to fix running tests
Required by PyQt6
2023-10-13 07:13:28 +02:00
Philipp Wolfer
20271dd4cb PICARD-2331: Removed macOS 10.12+ builds
Minimum supported version is now macOS 10.14.
2023-10-13 07:13:26 +02:00
Philipp Wolfer
7d55ae5e5d PICARD-2331: Upgrade to PyQt6 2023-10-13 07:10:06 +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