← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1886298] Re: Few of the lower constraints are not compatible with python3.8

 

** Description changed:

- Markupsafe 1.0 fail the lower-constraints job with
+ lower constraint are being tested with python.6 till now and jobs
+ running fine. With the migration of testing to ubuntu focal where
+ python3.8 is default, lower-constraints job started failing due to
+ multiple issues.
  
- ImportError: cannot import name 'Feature' from 'setuptools'
+ For example,
  
- -
- https://zuul.opendev.org/t/openstack/build/df8ddce0a9c84397bfe3976cf955fcbb/log
- /job-output.txt
- 
- Issue is fixed in Markupsafe 1.1.1
+ Markupsafe 1.o not compatible with new setuptools:
  - https://github.com/pallets/markupsafe/issues/116
  
- We need to bump the lower-constraint for Markupsafe to 1.1.1 to make it
- work with latest setuptools.
+ paramiko 2.7.1 fixed the compatiblity for python3.7 onwards:
+ https://github.com/paramiko/paramiko/issues/1108
+ 
+ greenlet 0.4.15 added wheels for python 3.8:
+ https://github.com/python-greenlet/greenlet/issues/151
+ 
+ numpy 1.19.1 added python 3.8 support and testing:
+ https://github.com/numpy/numpy/pull/14775
+ 
+ paramiko 2.7.1 fixed the compatibility for python3.7 onwards:
+ https://github.com/paramiko/paramiko/commit/4753881223e0ff5e3b3be35bb687a18dfec4f672
+ 
+ Similarly there are many dependencies which added the python3.8 support
+ in their later version. So we need to bump their lower constraints to
+ compatible version.
+ 
+ Approach to identify the required bump is by running lower-constraint job on Focal and star bumping for the failed things. I started with nova repos
+ and found below version bump:
+ 
+ For Nova:
+ Markupsafe==1.1.1
+ cffi==1.14.0
+ greenlet==0.4.15
+ PyYAML==3.13
+ lxml==4.5.0
+ numpy==1.19.0
+ psycopg2==2.8
+ paramiko==2.7.1
+ 
+ For python-novaclient:
+ Markupsafe==1.1.1
+ cffi==1.14.0
+ greenlet==0.4.15
+ PyYAML==3.13
+ 
+ For os-vif:
+ Markupsafe==1.1.1
+ cffi==1.14.0

** Description changed:

  lower constraint are being tested with python.6 till now and jobs
  running fine. With the migration of testing to ubuntu focal where
  python3.8 is default, lower-constraints job started failing due to
  multiple issues.
  
  For example,
  
- Markupsafe 1.o not compatible with new setuptools:
+ Markupsafe 1.0 not compatible with new setuptools:
  - https://github.com/pallets/markupsafe/issues/116
  
  paramiko 2.7.1 fixed the compatiblity for python3.7 onwards:
  https://github.com/paramiko/paramiko/issues/1108
  
  greenlet 0.4.15 added wheels for python 3.8:
  https://github.com/python-greenlet/greenlet/issues/151
  
  numpy 1.19.1 added python 3.8 support and testing:
  https://github.com/numpy/numpy/pull/14775
  
  paramiko 2.7.1 fixed the compatibility for python3.7 onwards:
  https://github.com/paramiko/paramiko/commit/4753881223e0ff5e3b3be35bb687a18dfec4f672
  
  Similarly there are many dependencies which added the python3.8 support
  in their later version. So we need to bump their lower constraints to
  compatible version.
  
  Approach to identify the required bump is by running lower-constraint job on Focal and star bumping for the failed things. I started with nova repos
  and found below version bump:
  
  For Nova:
  Markupsafe==1.1.1
  cffi==1.14.0
  greenlet==0.4.15
  PyYAML==3.13
  lxml==4.5.0
  numpy==1.19.0
  psycopg2==2.8
  paramiko==2.7.1
  
  For python-novaclient:
  Markupsafe==1.1.1
  cffi==1.14.0
  greenlet==0.4.15
  PyYAML==3.13
  
  For os-vif:
  Markupsafe==1.1.1
  cffi==1.14.0

** Also affects: python-novaclient
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1886298

Title:
  Few of the lower constraints are not compatible with python3.8

Status in OpenStack Compute (nova):
  In Progress
Status in python-novaclient:
  In Progress

Bug description:
  lower constraint are being tested with python.6 till now and jobs
  running fine. With the migration of testing to ubuntu focal where
  python3.8 is default, lower-constraints job started failing due to
  multiple issues.

  For example,

  Markupsafe 1.0 not compatible with new setuptools:
  - https://github.com/pallets/markupsafe/issues/116

  paramiko 2.7.1 fixed the compatiblity for python3.7 onwards:
  https://github.com/paramiko/paramiko/issues/1108

  greenlet 0.4.15 added wheels for python 3.8:
  https://github.com/python-greenlet/greenlet/issues/151

  numpy 1.19.1 added python 3.8 support and testing:
  https://github.com/numpy/numpy/pull/14775

  paramiko 2.7.1 fixed the compatibility for python3.7 onwards:
  https://github.com/paramiko/paramiko/commit/4753881223e0ff5e3b3be35bb687a18dfec4f672

  Similarly there are many dependencies which added the python3.8
  support in their later version. So we need to bump their lower
  constraints to compatible version.

  Approach to identify the required bump is by running lower-constraint job on Focal and star bumping for the failed things. I started with nova repos
  and found below version bump:

  For Nova:
  Markupsafe==1.1.1
  cffi==1.14.0
  greenlet==0.4.15
  PyYAML==3.13
  lxml==4.5.0
  numpy==1.19.0
  psycopg2==2.8
  paramiko==2.7.1

  For python-novaclient:
  Markupsafe==1.1.1
  cffi==1.14.0
  greenlet==0.4.15
  PyYAML==3.13

  For os-vif:
  Markupsafe==1.1.1
  cffi==1.14.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1886298/+subscriptions


References