Skip to content

Commit

Permalink
Merge pull request #1978 from rmartin16/toga-bootstrap
Browse files Browse the repository at this point in the history
Bump Toga to 0.4.6 in bootstrap
  • Loading branch information
freakboy3742 authored Aug 29, 2024
2 parents 8938880 + b6a07d5 commit 4b165e2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions changes/1978.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Toga bootstrap now specifies v0.4.6 as the minimum version to use.
12 changes: 6 additions & 6 deletions src/briefcase/bootstraps/toga.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ def pyproject_table_macOS(self):
return """\
universal_build = true
requires = [
"toga-cocoa~=0.4.5",
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
]
"""

def pyproject_table_linux(self):
return """\
requires = [
"toga-gtk~=0.4.5",
"toga-gtk~=0.4.6",
]
"""

Expand Down Expand Up @@ -188,22 +188,22 @@ def pyproject_table_linux_flatpak(self):
def pyproject_table_windows(self):
return """\
requires = [
"toga-winforms~=0.4.5",
"toga-winforms~=0.4.6",
]
"""

def pyproject_table_iOS(self):
return """\
requires = [
"toga-iOS~=0.4.5",
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
]
"""

def pyproject_table_android(self):
return """\
requires = [
"toga-android~=0.4.5",
"toga-android~=0.4.6",
]
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
Expand All @@ -220,7 +220,7 @@ def pyproject_table_android(self):
def pyproject_table_web(self):
return """\
requires = [
"toga-web~=0.4.5",
"toga-web~=0.4.6",
]
style_framework = "Shoelace v2.3"
"""
24 changes: 12 additions & 12 deletions tests/commands/new/test_build_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ def main():
pyproject_table_macOS="""\
universal_build = true
requires = [
"toga-cocoa~=0.4.5",
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
]
""",
pyproject_table_linux="""\
requires = [
"toga-gtk~=0.4.5",
"toga-gtk~=0.4.6",
]
""",
pyproject_table_linux_system_debian="""\
Expand Down Expand Up @@ -219,18 +219,18 @@ def main():
""",
pyproject_table_windows="""\
requires = [
"toga-winforms~=0.4.5",
"toga-winforms~=0.4.6",
]
""",
pyproject_table_iOS="""\
requires = [
"toga-iOS~=0.4.5",
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
]
""",
pyproject_table_android="""\
requires = [
"toga-android~=0.4.5",
"toga-android~=0.4.6",
]
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
Expand All @@ -245,7 +245,7 @@ def main():
""",
pyproject_table_web="""\
requires = [
"toga-web~=0.4.5",
"toga-web~=0.4.6",
]
style_framework = "Shoelace v2.3"
""",
Expand Down Expand Up @@ -995,13 +995,13 @@ def main():
pyproject_table_macOS="""\
universal_build = true
requires = [
"toga-cocoa~=0.4.5",
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
]
""",
pyproject_table_linux="""\
requires = [
"toga-gtk~=0.4.5",
"toga-gtk~=0.4.6",
]
""",
pyproject_table_linux_system_debian="""\
Expand Down Expand Up @@ -1116,18 +1116,18 @@ def main():
""",
pyproject_table_windows="""\
requires = [
"toga-winforms~=0.4.5",
"toga-winforms~=0.4.6",
]
""",
pyproject_table_iOS="""\
requires = [
"toga-iOS~=0.4.5",
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
]
""",
pyproject_table_android="""\
requires = [
"toga-android~=0.4.5",
"toga-android~=0.4.6",
]
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
Expand All @@ -1142,7 +1142,7 @@ def main():
""",
pyproject_table_web="""\
requires = [
"toga-web~=0.4.5",
"toga-web~=0.4.6",
]
style_framework = "Shoelace v2.3"
""",
Expand Down

0 comments on commit 4b165e2

Please sign in to comment.