-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Invalid version: '1.19.7ubuntu3' #280
Comments
This is breaking all our builds using appimage-builder. @serghov can you explain how you applied that patch to get it working again? |
@ianconsolata it broke my CI pipeline, that is why I posted the patch here.
In case your appimagebuilder is installed globally, the file might in a different place. Note: This is a very very very hacky way of doing things, please don't use this solution long term. |
Hi,
I follow the patch from @serghov (Thank you for the idea), but the purpose here is to better replace "ubuntu" by "+ubuntu" so the version parsing doesn't fail and this won't corrupt the version is a number is behind the "ubuntu" string. This is what I understood after reading the launchpad issue. The script also find the right path to the "package.py" file installed via pip so you can use the script out-of-the-box in a GH Actions workflow. Here is my resulting commit which fixes our GH Actions building workflow: 0818da1 Thank again @serghov for the quick, even if temporary, fix. |
+1 here |
Closed by #281 |
appimage-builder seems to fail with some apt dependencies with versions that are incompatible with PEP 440.
This happens because appiamge-builder uses python packaging module to parse versions of apt packages.
There are several similar issues in other projects;
https://github.com/python-poetry/poetry/issues/6013
https://github.com/python-poetry/poetry/issues/2167#issuecomment-748436046
https://bugs.launchpad.net/ubuntu/+source/python-debian/+bug/1926870
As a quick and dirty workaround I made the following .patch
This will work for this particular case where there is "ubuntu" in the version name, however should be a more robust solution for this.
The text was updated successfully, but these errors were encountered: