[Bug 1781554] Re: Broken in bionic for python 3.7

Hans Joachim Desserud 1781554 at bugs.launchpad.net
Wed Jul 18 14:42:50 UTC 2018


** Tags added: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lxml in Ubuntu.
https://bugs.launchpad.net/bugs/1781554

Title:
  Broken in bionic for python 3.7

Status in lxml package in Ubuntu:
  New

Bug description:
  python3-lxml in bionic (4.2.1-1) is broken for python3.7.  It works fine with python3.6.  The version from cosmic (4.2.1-1build1) works fine with python 3.7.                                                                                   
                                                                                                                          
                                                                                                                          
  ╰─▶ dpkg -l python3-lxml | awk '/^ii/ { print $2" "$3 }'                                                                
  python3-lxml:amd64 4.2.1-1                                                                                              
                                                                                                                          
  ╰─▶ python3.6 -c 'import lxml.html; print("ok")'                                                                        
  ok                                                                                                                      
                                                                                                                          
  ╰─▶ python3.7 -c 'import lxml.html; print("ok")'                                                                        
  Traceback (most recent call last):                                                                                      
    File "<string>", line 1, in <module>                                                                                  
    File "/usr/lib/python3/dist-packages/lxml/html/__init__.py", line 54, in <module>                                     
      from .. import etree                                                                                                
  ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)                   
                                                                                                                          
                                                                                                                          
                                                                                                                          
  ╰─▶ dpkg -l python3-lxml | awk '/^ii/ { print $2" "$3 }'                                                                
  python3-lxml:amd64 4.2.1-1build1                                                                                        
                                                                                                                          
  ╰─▶ python3.7 -c 'import lxml.html; print("ok")'                                                                        
  ok                                                                                                                      
                                                                                                                          
  ╰─▶ python3.6 -c 'import lxml.html; print("ok")'                                                                        
  ok

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxml/+bug/1781554/+subscriptions



More information about the foundations-bugs mailing list