-
Notifications
You must be signed in to change notification settings - Fork 4
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
0publish returns error on xmlsign #5
Comments
Could you post your Linux distribution and/or Python version? |
void linux,
|
0install uses PackageKit to detect a distribution's native packages for things like Python. I think there's no PackageKit support for XBPS yet, so 0install can't automatically find things like Python 3 and just falls back to using @talex5 Is this correct? Is there some way to get 0install to use |
How does it works on unknown linux distros then, i.e. on Linux from scratch, etc. ? Why it does not checks |
0install is intended to be platform-independent, working across Linux distributions and also macOS and Windows. To achieve this, in the best case all dependencies would be provided as 0install feeds themselves, not relying on anything being already installed on a machine. In practice it's not (yet) realistic to find up-to-date feeds for everything. Also, downloading things as 0install implementations that users already have installed using other package managers is wasteful. To help with this, 0install feeds can specify that specific native packages are "equivalent" (see the documentation for details). Without a supported package manager 0install doesn't have any way to know the versions of installed software. However, since Python is such a common dependency, there is built-in special handling for the feed https://apps.0install.net/python/python.xml, using Here's the code that does this (including detecting the exact version number): Not sure yet, what exactly went wrong in your situation. |
It probably is using python3; looks like another API break:
I've been using |
I encountered this problem also. The now-missing Pull request #7 includes the fix but it unfortunately is combined with a new feature. Would a pull request for this single-line fix be accepted? |
0publish -x myapp-1.0.0.xml
The text was updated successfully, but these errors were encountered: