<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37898</bug_id>
          
          <creation_ts>2020-01-22 14:54:34 +0300</creation_ts>
          <short_desc>Ошибка импорта модуля</short_desc>
          <delta_ts>2020-03-27 18:33:31 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p9</product>
          <component>python3-module-cherrypy</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="qa-team@altlinux.org">qa-team</assigned_to>
          <cc>shaba</cc>
          
          <qa_contact name="qa-p9@altlinux.org">qa-p9</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>187150</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-01-22 14:54:34 +0300</bug_when>
    <thetext>Версия: python3-module-cherrypy-14.2.0-alt1

При импортировании модуля получаю следующую ошибку:

workstation-9-x86-64 ~ # python3
Python 3.7.4 (default, Oct 19 2019, 00:00:21) 
[GCC 8.3.1 20190311 (ALT Sisyphus 8.3.1-alt3)] on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import cherrypy
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python3/site-packages/cherrypy/__init__.py&quot;, line 215, in &lt;module&gt;
    class _ThreadLocalProxy(object):
  File &quot;/usr/lib/python3/site-packages/cherrypy/__init__.py&quot;, line 268, in _ThreadLocalProxy
    __bool__ = __nonzero__
NameError: name &apos;__nonzero__&apos; is not defined
&gt;&gt;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187197</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2020-01-23 16:33:49 +0300</bug_when>
    <thetext>Из-за того, что python-module-cherrypy в сизифе собран только для python3(без переименования srpm в python3-module-cherrypy) просто скопировать его в p9 не получится.
Прошу:
- собрать python3-module-cherrypy-18.5.0 из python3-module-cherrypy (и скопировать в p9)
- собрать python-module-cherrypy-17.4.2 из python-module-cherrypy (и скопировать в p9, или только в p9 собрать)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188891</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2020-03-27 18:33:31 +0300</bug_when>
    <thetext>python-module-cherrypy-1:17.4.2-alt1 -&gt; sisyphus:

 * Thu Mar 26 2020 Andrey Cherepanov &lt;cas@altlinux&gt; 1:17.4.2-alt1
 - Build last version supported Python2 as separate package (ALT #37898).
 - Build without docs and pickles.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>