<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10122</bug_id>
          
          <creation_ts>2016-08-11 20:19:30 +0000</creation_ts>
          <short_desc>python3-gitdb missing zlib dependency</short_desc>
          <delta_ts>2016-08-22 16:17:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4.5</target_milestone>
          
          <blocked>9757</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alejandro Hernandez">alejandro.hernandez</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65091</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-08-11 20:19:30 +0000</bug_when>
    <thetext>When trying to import the python gitdb module, we get the following error:

&gt;&gt;&gt; import gitdb  
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3.5/site-packages/gitdb/__init__.py&quot;, line 37, in &lt;module&gt;
    from gitdb.base import *
  File &quot;/usr/lib/python3.5/site-packages/gitdb/base.py&quot;, line 8, in &lt;module&gt;
    from gitdb.fun import (
  File &quot;/usr/lib/python3.5/site-packages/gitdb/fun.py&quot;, line 9, in &lt;module&gt;
    import zlib
ImportError: No module named &apos;zlib&apos;


Stating that the hashlib module is missing, the module needs to be added to the python3-gitdb recipe as a runtime dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65092</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-08-11 20:26:45 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; When trying to import the python gitdb module, we get the following error:
&gt; 
&gt; &gt;&gt;&gt; import gitdb  
&gt; Traceback (most recent call last):
&gt;   File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
&gt;   File &quot;/usr/lib/python3.5/site-packages/gitdb/__init__.py&quot;, line 37, in
&gt; &lt;module&gt;
&gt;     from gitdb.base import *
&gt;   File &quot;/usr/lib/python3.5/site-packages/gitdb/base.py&quot;, line 8, in &lt;module&gt;
&gt;     from gitdb.fun import (
&gt;   File &quot;/usr/lib/python3.5/site-packages/gitdb/fun.py&quot;, line 9, in &lt;module&gt;
&gt;     import zlib
&gt; ImportError: No module named &apos;zlib&apos;
&gt; 
&gt; 
&gt; Stating that the hashlib module is missing, the module needs to be added to
&gt; the python3-gitdb recipe as a runtime dependency.

Typo there: &apos;zlib&apos; instead of &apos;hashlib&apos;

The module zlib is not found within the python3 manifest file, so it needs to be added, it  should probably be added to the python3-compression package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65394</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-08-22 16:17:25 +0000</bug_when>
    <thetext>Fixed here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=97ddbc8a52c428a01a3133f8a0e813b62a0e59fc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>