summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2025-07-01 08:04:08 +0200
committerRobert Honz <exislow+github@gmail.com>2025-07-01 08:04:21 +0200
commitd3164f48defcfe93ae04bd02e1b3ab7f4a72e632 (patch)
treeb6c56bd06103c4120ec933cee96ce501598e46ba /Makefile
parente35f5eef78d7e65d240046dfad8fca17f303950b (diff)
downloadtidal-dl-ng-d3164f48defcfe93ae04bd02e1b3ab7f4a72e632.tar.gz
✨ Add Python 3.13 support and update dependencies
Extends Python version support to include 3.13 in CI workflows, tox environments, and documentation. Updates dependencies to ensure compatibility with the new Python version and resolves legacy workarounds for macOS GitHub Actions runners. Upgrades include: - `pyside6` to version 6.9.1 - `click` to version 8.2.1 - Other relevant dependency updates for compatibility. Re-enables `pyupgrade` pre-commit hook targeting Python 3.12+. Fixed binary creation for Intel macOS.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0daa130..d61624b 100644
--- a/Makefile
+++ b/Makefile
@@ -97,4 +97,14 @@ gui-macos-dmg: gui ## Package GUI in a *.dmg file
"$(app_path_dist)/$(APP_NAME).dmg" \
"$(app_path_dist)/$(DMG_NAME)/"
+.PHONY: gui-macos-dmg-intel
+gui-macos-dmg-intel: gui ## Package GUI in a *.dmg file; Workaround for Intel Macs, since Apple Script permissions are not set correctly on GitHub Actiion Runner images
+ @poetry run mkdir -p $(app_path_dist)/dmg
+ @poetry run mv "$(app_path_dist)/$(APP_BUNDLE_NAME).app" "$(app_path_dist)/$(DMG_NAME)/$(APP_NAME).app"
+ @poetry run hdiutil create -volname "$(APP_NAME)" \
+ -srcfolder "$(app_path_dist)/$(DMG_NAME)/" \
+ -ov -format UDZO \
+ -fs APFS \
+ "$(app_path_dist)/$(APP_NAME).dmg"
+
.DEFAULT_GOAL := help