Re: [openstack-dev] [Tempest] Drop python 2.6 support
On 11/25/2013 09:37 PM, Matt Riedemann wrote: On Monday, November 25, 2013 7:35:51 AM, Zhi Kun Liu wrote: Does that mean Tempest could not run on python 2.6 in the future? Well so if you're running a single-node setup of OpenStack on a VM on top of RHEL 6 and running Tempest from there, yeah, this is an inconvenience, but it's a pretty simple fix, right? I just run my OpenStack RHEL 6 VM and have an Ubuntu 12.04 or Fedora 19 or whatever distro-that-supports-py27 I want running Tempest against it. Am I missing something? FWIW, trying to keep up with the changes in Tempest when you're running on python 2.6 is no fun, especially with how tests are skipped (skipException causes a test failure if you don't have a special environment variable set). Plus you don't get parallel execution of the tests. So I agree with the approach even though it's going to hurt me in the short-term. I'd second this, the benefits are worth it! Plus, with RHEL you can use software collections (1) which allow you to install multiple versions of say, python (including 27 and 33), using yum (or scl) so you just have to launch tempest with something like: $ scl enable python27 ./run_tests.sh 1. http://red.ht/1aRdx32 -- Giulio Fidente GPG KEY: 08D733BA | IRC: giulivo ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Tempest] Drop python 2.6 support
Giulio, are you speaking for Red Hat here, or is this just your opinion? And have you actually tried to doing what you propose? Regards, -peter On Tue, Nov 26, 2013 at 11:18 AM, Giulio Fidente gfide...@redhat.com wrote: On 11/25/2013 09:37 PM, Matt Riedemann wrote: On Monday, November 25, 2013 7:35:51 AM, Zhi Kun Liu wrote: Does that mean Tempest could not run on python 2.6 in the future? Well so if you're running a single-node setup of OpenStack on a VM on top of RHEL 6 and running Tempest from there, yeah, this is an inconvenience, but it's a pretty simple fix, right? I just run my OpenStack RHEL 6 VM and have an Ubuntu 12.04 or Fedora 19 or whatever distro-that-supports-py27 I want running Tempest against it. Am I missing something? FWIW, trying to keep up with the changes in Tempest when you're running on python 2.6 is no fun, especially with how tests are skipped (skipException causes a test failure if you don't have a special environment variable set). Plus you don't get parallel execution of the tests. So I agree with the approach even though it's going to hurt me in the short-term. I'd second this, the benefits are worth it! Plus, with RHEL you can use software collections (1) which allow you to install multiple versions of say, python (including 27 and 33), using yum (or scl) so you just have to launch tempest with something like: $ scl enable python27 ./run_tests.sh 1. http://red.ht/1aRdx32 -- Giulio Fidente GPG KEY: 08D733BA | IRC: giulivo ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [Tempest] Drop python 2.6 support
Hi all, I saw that Tempest will drop python 2.6 support in design summit https://etherpad.openstack.org/p/icehouse-summit-qa-parallel. Drop tempest python 2.6 support:Remove all nose hacks in the codeDelete nose, use unittest2 with testr/testtools and everything *should* just work (tm) Does that mean Tempest could not run on python 2.6 in the future? -- Regards, Zhi Kun Liu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Tempest] Drop python 2.6 support
On Monday, November 25, 2013 7:35:51 AM, Zhi Kun Liu wrote: Hi all, I saw that Tempest will drop python 2.6 support in design summit https://etherpad.openstack.org/p/icehouse-summit-qa-parallel. Drop tempest python 2.6 support:Remove all nose hacks in the code Delete nose, use unittest2 with testr/testtools and everything *should* just work (tm) Does that mean Tempest could not run on python 2.6 in the future? -- Regards, Zhi Kun Liu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev Well so if you're running a single-node setup of OpenStack on a VM on top of RHEL 6 and running Tempest from there, yeah, this is an inconvenience, but it's a pretty simple fix, right? I just run my OpenStack RHEL 6 VM and have an Ubuntu 12.04 or Fedora 19 or whatever distro-that-supports-py27 I want running Tempest against it. Am I missing something? FWIW, trying to keep up with the changes in Tempest when you're running on python 2.6 is no fun, especially with how tests are skipped (skipException causes a test failure if you don't have a special environment variable set). Plus you don't get parallel execution of the tests. So I agree with the approach even though it's going to hurt me in the short-term. -- Thanks, Matt Riedemann ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev