-
-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
bugA crash or error in behavior.A crash or error in behavior.good first issueIs this your first time contributing? This could be a good place to start!Is this your first time contributing? This could be a good place to start!linuxThe issue relates Linux support.The issue relates Linux support.
Description
Describe the bug
On OpenSUSE Tumbleweed, the docker version is returned as Docker version 26.1.0-ce, build c8af8ebe4a89. The expected format does not include -ce.
❯ briefcase run --target ubuntu -vv
>>> Running Command:
>>> docker --version
>>> Working Directory:
>>> /home/user/github/beeware/briefcase/tmp/helloworld
>>> Environment Overrides:
>>> DOCKER_CLI_HINTS=false
>>> Command Output:
>>> Docker version 26.1.0-ce, build c8af8ebe4a89
>>> Return code: 0
*************************************************************************
** WARNING: Unable to determine the version of Docker **
*************************************************************************
Steps to reproduce
Run briefcase build --target ubuntu on OpenSUSE.
Expected behavior
Docker version parsing supports this variation of the version.
The specific issue is packaging.version.Version failing to parse 26.1.1-ce.
>>> from packaging.version import InvalidVersion, Version
>>> Version("26.1.1-ce")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.pyenv/versions/briefcase-3.11/lib/python3.11/site-packages/packaging/version.py", line 200, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '26.1.1-ceScreenshots
No response
Environment
- Operating System: Tumbleweed 20240502
- Python version: 3.11.9
- Software versions:
- Briefcase:
0.3.18.dev283+ga10e3792
- Briefcase:
Logs
briefcase.2024_05_04-11_47_44.build.log
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugA crash or error in behavior.A crash or error in behavior.good first issueIs this your first time contributing? This could be a good place to start!Is this your first time contributing? This could be a good place to start!linuxThe issue relates Linux support.The issue relates Linux support.