On 03/08/2017 06:23 PM, Nathanaël Blanchet wrote: > > > Le 08/03/2017 à 18:17, Juan Hernández a écrit : >> On 03/08/2017 06:15 PM, Barak Korren wrote: >>> On 8 March 2017 at 19:07, Juan Hernández <jhern...@redhat.com> wrote: >>>> The best way to get the latest versions of those packages is to install >>>> the oVirt release RPM: >>>> >>>> dnf install >>>> http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm >>>> >>>> Then install the required packages. The names of the packages are >>>> different for version 3 of the SDK and version 4 of the SDK, so you can >>>> install both simultaneously: >>>> >>>> Version 3: ovirt-engine-sdk-python >>>> Version 4: python-ovirt-engine-sdk4 >>>> >>>> yum -y install ovirt-engine-sdk-python python-ovirt-engine-sdk4 >>>> >>>> Note that version 3 of the API, and version 3 of the SDK, are >>>> deprecated >>>> since version 4 of the engine, and that they will be removed in version >>>> 4.2 of the engine, so prepare to migrate to version 4. >>>> >>> Juan, it seems that we did not build SDK4 for FC25 in 4.1 or older >>> versions: >>> http://jenkins.ovirt.org/search/?q=python-ovirt-engine-sdk4_4.1_build-artifacts >>> >>> >>> So as far as I can tell there is no released SDK4 for FC25 ATM. Only a >>> pre-released one in the master snapshot. >>> >> Sorry, I forgot you are using Fedora 25, and Fedora 25 isn't yet a >> supported platform :-( . >> >> For Fedora 25 you can either build the packages yourself, or else >> install using 'pip': > previously > > sudo dnf install gcc python3-devel libxml2-devel
That is correct, thanks Nathanaël. I have just submitted a patch to document this in the README.adoc file of the SDK: Add installation instructions https://gerrit.ovirt.org/73796 Would be nice if you can review that patch. >> pip install ovirt-engine-sdk >> >> But you can't install version 3 and 4 in this way, as in the PyPI world >> they are the same package. >> >> Another thing you can do is get the latest builds from the master >> branch, which already support Fedora 25: >> >> Version 3: >> >> http://jenkins.ovirt.org/view/All/job/ovirt-engine-sdk_master_build-artifacts-fc25-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/ovirt-engine-sdk-python-3.6.9.2-0.1.20170209.gite99bbd1.fc25.noarch.rpm >> >> >> Version 4: >> >> http://jenkins.ovirt.org/view/All/job/python-ovirt-engine-sdk4_master_build-artifacts-fc25-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/python-ovirt-engine-sdk4-4.2.0-1.a0.20170308git9add66c.fc25.x86_64.rpm >> >> >> That pre-releases are that, pre-releases, but there are no big changes, >> should be very usable. >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users