Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Flatpak runtime versions for new projects #1545

Merged
merged 2 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/1545.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Flatpak runtimes for new projects were updated. ``org.freedesktop.Platform`` will now default to 23.08; ``org.gnome.Platform`` will now default to 45; and ``org.kde.Platform`` will now default to 6.6.
2 changes: 1 addition & 1 deletion src/briefcase/bootstraps/pursuedpybear.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """
flatpak_runtime = "org.freedesktop.Platform"
flatpak_runtime_version = "22.08"
flatpak_runtime_version = "23.08"
flatpak_sdk = "org.freedesktop.Sdk"
"""

Expand Down
2 changes: 1 addition & 1 deletion src/briefcase/bootstraps/pygame.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """
flatpak_runtime = "org.freedesktop.Platform"
flatpak_runtime_version = "22.08"
flatpak_runtime_version = "23.08"
flatpak_sdk = "org.freedesktop.Sdk"
"""

Expand Down
2 changes: 1 addition & 1 deletion src/briefcase/bootstraps/pyside6.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """
flatpak_runtime = "org.kde.Platform"
flatpak_runtime_version = "6.4"
flatpak_runtime_version = "6.6"
flatpak_sdk = "org.kde.Sdk"
"""

Expand Down
2 changes: 1 addition & 1 deletion src/briefcase/bootstraps/toga.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "44"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
"""

Expand Down
10 changes: 5 additions & 5 deletions tests/commands/new/test_build_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def main():
""",
pyproject_table_linux_flatpak="""
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "44"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
""",
pyproject_table_windows="""
Expand Down Expand Up @@ -420,7 +420,7 @@ def main():
""",
pyproject_table_linux_flatpak="""
flatpak_runtime = "org.kde.Platform"
flatpak_runtime_version = "6.4"
flatpak_runtime_version = "6.6"
flatpak_sdk = "org.kde.Sdk"
""",
pyproject_table_windows="""
Expand Down Expand Up @@ -589,7 +589,7 @@ def main():
""",
pyproject_table_linux_flatpak="""
flatpak_runtime = "org.freedesktop.Platform"
flatpak_runtime_version = "22.08"
flatpak_runtime_version = "23.08"
flatpak_sdk = "org.freedesktop.Sdk"
""",
pyproject_table_windows="""
Expand Down Expand Up @@ -758,7 +758,7 @@ def main():
""",
pyproject_table_linux_flatpak="""
flatpak_runtime = "org.freedesktop.Platform"
flatpak_runtime_version = "22.08"
flatpak_runtime_version = "23.08"
flatpak_sdk = "org.freedesktop.Sdk"
""",
pyproject_table_windows="""
Expand Down Expand Up @@ -1200,7 +1200,7 @@ def main():
""",
pyproject_table_linux_flatpak="""
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "44"
flatpak_runtime_version = "45"
flatpak_sdk = "org.gnome.Sdk"
""",
pyproject_table_windows="""
Expand Down