Skip to content

Commit

Permalink
Merge pull request #1979 from rmartin16/bump-other-guis
Browse files Browse the repository at this point in the history
Bump min version for miscellaneous dependencies
  • Loading branch information
freakboy3742 committed Aug 30, 2024
2 parents 4b165e2 + 14aca30 commit 2a2da7c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions changes/1979.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The minimum version for misc dependencies for new projects were bumped to their latest version.
4 changes: 2 additions & 2 deletions src/briefcase/bootstraps/pygame.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def main():
def pyproject_table_briefcase_app_extra_content(self):
return """
requires = [
"pygame~=2.2",
"pygame~=2.6",
]
test_requires = [
{% if cookiecutter.test_framework == "pytest" %}
Expand All @@ -68,7 +68,7 @@ def pyproject_table_macOS(self):
return """\
universal_build = true
requires = [
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
"""

Expand Down
8 changes: 4 additions & 4 deletions src/briefcase/bootstraps/pyside6.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def main():
def pyproject_table_briefcase_app_extra_content(self):
return """
requires = [
"PySide6-Essentials~=6.5",
# "PySide6-Addons~=6.5",
"PySide6-Essentials~=6.7",
# "PySide6-Addons~=6.7",
]
test_requires = [
{% if cookiecutter.test_framework == "pytest" %}
Expand All @@ -61,7 +61,7 @@ def pyproject_table_macOS(self):
return """\
universal_build = true
requires = [
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
"""

Expand Down Expand Up @@ -146,7 +146,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """\
flatpak_runtime = "org.kde.Platform"
flatpak_runtime_version = "6.6"
flatpak_runtime_version = "6.7"
flatpak_sdk = "org.kde.Sdk"
"""

Expand Down
6 changes: 3 additions & 3 deletions src/briefcase/bootstraps/toga.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def pyproject_table_macOS(self):
universal_build = true
requires = [
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
"""

Expand Down Expand Up @@ -181,7 +181,7 @@ def pyproject_table_linux_appimage(self):
def pyproject_table_linux_flatpak(self):
return """\
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_runtime_version = "46"
flatpak_sdk = "org.gnome.Sdk"
"""

Expand All @@ -196,7 +196,7 @@ def pyproject_table_iOS(self):
return """\
requires = [
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
"""

Expand Down
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 @@ -99,7 +99,7 @@ def main():
universal_build = true
requires = [
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_linux="""\
Expand Down Expand Up @@ -214,7 +214,7 @@ def main():
""",
pyproject_table_linux_flatpak="""\
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_runtime_version = "46"
flatpak_sdk = "org.gnome.Sdk"
""",
pyproject_table_windows="""\
Expand All @@ -225,7 +225,7 @@ def main():
pyproject_table_iOS="""\
requires = [
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_android="""\
Expand Down Expand Up @@ -450,8 +450,8 @@ def main():
""",
pyproject_table_briefcase_app_extra_content="""
requires = [
"PySide6-Essentials~=6.5",
# "PySide6-Addons~=6.5",
"PySide6-Essentials~=6.7",
# "PySide6-Addons~=6.7",
]
test_requires = [
{% if cookiecutter.test_framework == "pytest" %}
Expand All @@ -462,7 +462,7 @@ def main():
pyproject_table_macOS="""\
universal_build = true
requires = [
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_linux="""\
Expand Down Expand Up @@ -533,7 +533,7 @@ def main():
""",
pyproject_table_linux_flatpak="""\
flatpak_runtime = "org.kde.Platform"
flatpak_runtime_version = "6.6"
flatpak_runtime_version = "6.7"
flatpak_sdk = "org.kde.Sdk"
""",
pyproject_table_windows="""\
Expand Down Expand Up @@ -635,7 +635,7 @@ def main():
""",
pyproject_table_briefcase_app_extra_content="""
requires = [
"pygame~=2.2",
"pygame~=2.6",
]
test_requires = [
{% if cookiecutter.test_framework == "pytest" %}
Expand All @@ -646,7 +646,7 @@ def main():
pyproject_table_macOS="""\
universal_build = true
requires = [
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_linux="""\
Expand Down Expand Up @@ -996,7 +996,7 @@ def main():
universal_build = true
requires = [
"toga-cocoa~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_linux="""\
Expand Down Expand Up @@ -1111,7 +1111,7 @@ def main():
""",
pyproject_table_linux_flatpak="""\
flatpak_runtime = "org.gnome.Platform"
flatpak_runtime_version = "45"
flatpak_runtime_version = "46"
flatpak_sdk = "org.gnome.Sdk"
""",
pyproject_table_windows="""\
Expand All @@ -1122,7 +1122,7 @@ def main():
pyproject_table_iOS="""\
requires = [
"toga-iOS~=0.4.6",
"std-nslog~=1.0.0",
"std-nslog~=1.0.3",
]
""",
pyproject_table_android="""\
Expand Down
4 changes: 2 additions & 2 deletions tests/config/test_parse_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def test_pep621_defaults():
[tool.briefcase.app.awesome.macOS]
requires = [
"toga-cocoa~=0.3.1",
"std-nslog~=1.0.0"
"std-nslog~=1.0.3"
]
"""
)
Expand All @@ -691,7 +691,7 @@ def test_pep621_defaults():
"author_email": "kim@example.com",
"url": "https://example.com/awesome",
"description": "awesome project",
"requires": ["numpy", "toga-cocoa~=0.3.1", "std-nslog~=1.0.0"],
"requires": ["numpy", "toga-cocoa~=0.3.1", "std-nslog~=1.0.3"],
"test_requires": ["pytest"],
"app_name": "awesome",
"sources": ["src"],
Expand Down

0 comments on commit 2a2da7c

Please sign in to comment.