Re: [ovirt-users] Python sdk 4 for Fedora 25 where?
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ándezwrote: 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
Re: [ovirt-users] Python sdk 4 for Fedora 25 where?
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ándezwrote: 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 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 -- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanc...@abes.fr ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Python sdk 4 for Fedora 25 where?
On 03/08/2017 06:15 PM, Barak Korren wrote: > On 8 March 2017 at 19:07, Juan Hernándezwrote: >> >> 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': 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
Re: [ovirt-users] Python sdk 4 for Fedora 25 where?
On 8 March 2017 at 19:07, Juan Hernándezwrote: > > 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. -- Barak Korren bkor...@redhat.com RHCE, RHCi, RHV-DevOps Team https://ifireball.wordpress.com/ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Python sdk 4 for Fedora 25 where?
On 03/08/2017 05:58 PM, Gianluca Cecchi wrote: > Hello, > it seems that on my Fedora 25 I'm able to find > only ovirt-engine-sdk-python that is 3.6.9.1 > What should I execute to get sdk 4 on Fedora 25? > Can I have both the sdk 3 and 4 for test an a single machine? > > Thanks in advance, > Gianluca > 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. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Python sdk 4 for Fedora 25 where?
Hello, it seems that on my Fedora 25 I'm able to find only ovirt-engine-sdk-python that is 3.6.9.1 What should I execute to get sdk 4 on Fedora 25? Can I have both the sdk 3 and 4 for test an a single machine? Thanks in advance, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users