Closed allamiro closed 6 days ago
Thanks for the report... but I'm not sure I understand what you're reporting/requesting here.
Briefcase doesn't have a dependency on python-apt; and the error you're describing here is an error being raised by an invocation of pip
, not Briefcase. python-apt
is a Python package... technically... but not one that any actual project would actually be relying on.
If a version number of 2.4.0-ubuntu3-zorin1
is being passed to pip
, then that isn't a PEP 440 compliant version number.
Everything I'm seeing here suggests this is a bug in Zorin, not an issue with Briefcase. This error isn't raised on Ubuntu (or any other Linux distro I've tested).
Can you elaborate further on what is going on here? As it stands, it's not clear to me that there is anything Briefcase could do in this situation.
I ran it again in a virtual environment, and this time it worked.
Closing following details from original reporter.
What is the problem or limitation you are having?
While attempting to install the BeeWare briefcase package, a warning is triggered related to the python-apt package, which has an invalid version string (2.4.0-ubuntu3-zorin1). This issue could cause confusion or potential conflicts, especially for users on certain Linux distributions (e.g., Zorin OS).
Describe the solution you'd like
It would be helpful if briefcase could either handle or ignore invalid version strings in dependencies like python-apt, or if a warning message could be provided that clearly indicates the issue is not directly related to briefcase but rather to the system's package management. Additionally, adding this scenario to the installation documentation could preemptively address user concerns.
Describe alternatives you've considered
Allow briefcase to install while suppressing or filtering out warnings related to unrelated system packages. Add a note in the installation documentation or a troubleshooting section, advising users on how to interpret and handle such warnings.
Additional context
Below is the output during the briefcase installation, highlighting the warning: