Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
Excerpts from Jeremy Stanley's message of 2018-05-30 13:00:31 +: > On 2018-05-30 14:42:58 +0200 (+0200), Julien Danjou wrote: > [...] > > The question is: why cmd2 0.9.0 does not work and how do we fix that? > > The cmd2 maintainers decided that they no longer want to carry > support for old Python interpreters, so versions starting with 0.9.0 > only work on Python 3.4 and later: > > https://github.com/python-cmd2/cmd2/issues/421 > I expect we're going to see more and more upstream tools dropping python 2 support as we approach the 2020 deadline. It would help the community immensely if we had a few people who could become familiar enough with environment markers and requirements specification to be ready to help folks fix the problems that come up when we have future cases. I'm sure the requirements team would be happy to help find documentation and explain the fix for this specific case if you have questions. Doug __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
On 2018-05-30 16:59:10 +0200 (+0200), Julien Danjou wrote: [...] > I see cliff has already set that requirements in its master branch, but > no new version has been released. Releasing a new cliff version should > fix that issue. Yes, that's in progress today. -- Jeremy Stanley signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
On Wed, May 30 2018, Elõd Illés wrote: > cmd2 says that: > > "Python 2.7 support is EOL > > Support for adding new features to the Python 2.7 release of |cmd2| was > discontinued on April 15, 2018. Bug fixes will be supported for Python 2.7 via > 0.8.x until August 31, 2018. > > Supporting Python 2 was an increasing burden on our limited resources. > Switching to support only Python 3 will allow us to clean up the codebase, > remove some cruft, and focus on developing new features." Erf. :( So the problem is that cmd2 is not a requirements in Ceilometer. It's pulled by cliff. As far as I can see, cliff latest version (2.11.0) announces it supports Python 2.7 (obviously) while also depends on cmd2>=0.6.7. Cliff needs to upper cap cmd2 if it wants to support Python 2. I see cliff has already set that requirements in its master branch, but no new version has been released. Releasing a new cliff version should fix that issue. -- Julien Danjou // Free Software hacker // https://julien.danjou.info signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
On 2018-05-30 14:42:58 +0200 (+0200), Julien Danjou wrote: [...] > The question is: why cmd2 0.9.0 does not work and how do we fix that? The cmd2 maintainers decided that they no longer want to carry support for old Python interpreters, so versions starting with 0.9.0 only work on Python 3.4 and later: https://github.com/python-cmd2/cmd2/issues/421 -- Jeremy Stanley signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
cmd2 says that: "Python 2.7 support is EOL Support for adding new features to the Python 2.7 release of |cmd2| was discontinued on April 15, 2018. Bug fixes will be supported for Python 2.7 via 0.8.x until August 31, 2018. Supporting Python 2 was an increasing burden on our limited resources. Switching to support only Python 3 will allow us to clean up the codebase, remove some cruft, and focus on developing new features." See: https://github.com/python-cmd2/cmd2 Előd On 2018-05-30 14:42, Julien Danjou wrote: On Wed, May 30 2018, Elõd Illés wrote: In the last two days the ceilometer [1] [2] [3] and tooz [4] [5] [6] tox-py27 periodic stable jobs are failing. The root cause is the following: * cmd2 released version 0.9.0, which requires python >=3.4 from now on. These projects have comment in their tox.ini that they do not consume upper-constraints.txt (in which there is an upper constraints for cmd2). My question is: could we use upper-constraints.txt on these projects as well, or is there any reason why it isn't the case? Of course an entry could be added to test-requirements.txt with "cmd2<0.9.0", but wouldn't it be better to use the upper-constraints.txt? The question is: why cmd2 0.9.0 does not work and how do we fix that? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
On Wed, May 30 2018, Elõd Illés wrote: > In the last two days the ceilometer [1] [2] [3] and tooz [4] [5] [6] tox-py27 > periodic stable jobs are failing. The root cause is the following: > * cmd2 released version 0.9.0, which requires python >=3.4 from now on. > These projects have comment in their tox.ini that they do not consume > upper-constraints.txt (in which there is an upper constraints for cmd2). > > My question is: could we use upper-constraints.txt on these projects as well, > or is there any reason why it isn't the case? > Of course an entry could be added to test-requirements.txt with "cmd2<0.9.0", > but wouldn't it be better to use the upper-constraints.txt? The question is: why cmd2 0.9.0 does not work and how do we fix that? -- Julien Danjou ;; Free Software hacker ;; https://julien.danjou.info signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [stable] [tooz] [ceilometer] cmd2 without upper constraints causes errors in tox-py27
Hi, In the last two days the ceilometer [1] [2] [3] and tooz [4] [5] [6] tox-py27 periodic stable jobs are failing. The root cause is the following: * cmd2 released version 0.9.0, which requires python >=3.4 from now on. These projects have comment in their tox.ini that they do not consume upper-constraints.txt (in which there is an upper constraints for cmd2). My question is: could we use upper-constraints.txt on these projects as well, or is there any reason why it isn't the case? Of course an entry could be added to test-requirements.txt with "cmd2<0.9.0", but wouldn't it be better to use the upper-constraints.txt? Thanks in advance, Előd [1] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/ceilometer/stable/queens/openstack-tox-py27/b44c7cd/ [2] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/ceilometer/stable/pike/openstack-tox-py27/6c4fd5d/ [3] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/ceilometer/stable/ocata/openstack-tox-py27/4d2d0b3/ [4] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/tooz/stable/queens/openstack-tox-py27/37bd360/ [5] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/tooz/stable/pike/openstack-tox-py27/8bb8c29/ [6] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/tooz/stable/ocata/openstack-tox-py27/1016d56/ __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev