Bug 1075594
Summary: | RFE: python-libguestfs should be available on pypi | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | NEW --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | don, fzatlouk, mkletzan, pombredanne, ptoscano |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard W.M. Jones
2014-03-12 12:47:11 UTC
Added: https://github.com/libguestfs/libguestfs/commit/fcbfc4775fa2a44020974073594a745ca420d614 Currently we are blocked on a licensing problem with the PyPi website. In the fairly near future you should be able to install python-libguestfs in a virtualenv using pip, using: pip install http://libguestfs.org/download/python/guestfs-1.XX.YY.tar.gz Hi, Wondering if there are news on this? Other than not being able to require guestfs in a setup_requires(as it must be declared as a dependency_link, and pip disables 'process_dependencies_links' by default), there are two other problems: 1. You must pin down the version in your requirements.txt, so you can't use any version comparison operators. This might be resolved by making http://libguestfs.org/download/python compatible as PyPI index, then one could install guestfs with: pip install -e http://libguestfs.org/download/python guestfs and use the version operators if needed, (i.e. guestfs == 1.36.1 etc) 2. There is no https, and pip warns about it(for now..) Still waiting for PyPi to change their license. As you note we are making python packages available, but TBH there's no real reason to use them over using the ordinary distro packages. I just went and checked https://pypi.python.org/tos and it seems better than I remember - has it been updated sufficiently to get libguestfs uploaded now? Hi, Actually, python binding is broken for Python3 according to #1627964 . GObject Introspection works fine and is available on PyPI. Just `pip install pygobject` and open the right .typelib file and you're good to go. Regards, Étienne BERSAC (In reply to Richard W.M. Jones from comment #4) It is actually useful if using virtual environments. It also makes it easier to integrate with existing solutions (testing etc.) when developing. The terms of service are now just short terms of use which you might reconsider: https://pypi.org/policy/terms-of-use/ Would it be possible to consider this for libnbd as well in case you reconsider it for guestfs? As discussed on IRC the new terms are acceptable. Is there something else to do? do you need help to make this happen? It is otherwise rather involved to mix system-installed packages with isolated virtualenv Just needs someone to step up and maintain the package now. I have no time to do it myself. |