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

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

    <bug>
          <bug_id>35103</bug_id>
          
          <creation_ts>2018-06-29 07:27:31 +0300</creation_ts>
          <short_desc>make the setuptools related part optional</short_desc>
          <delta_ts>2018-06-30 03:35:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-numpy</component>
          <version>unstable</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>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>grenka</cc>
    
    <cc>majioa</cc>
    
    <cc>root</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>172247</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2018-06-29 07:27:31 +0300</bug_when>
    <thetext>python3-module-numpy-1:1.13.3-alt2.1.1.x86_64

setuptools are understood to be tools/commands needed to prepare Python packages/distributions, but numpy depends on it:

[root@localhost .in]# rpm -e python3-module-setuptools
error: Failed dependencies:
	python3(setuptools.command.develop) &lt; 0 is needed by (installed) python3-module-numpy-1:1.13.3-alt2.1.1.x86_64
	python3(setuptools.command.egg_info) &lt; 0 is needed by (installed) python3-module-numpy-1:1.13.3-alt2.1.1.x86_64
[root@localhost .in]# 

Probably, most part of numpy can work without setuptools, it&apos;s not needed at runtime.

Could it be possible to put the setuptools-related part into a separate subpackage, so that the base system where numpy cam be used would be more flexible, i.e., without the need to have setuptools installed?

(setuptools can have other development/packaging deps not really needed at runtime; that&apos;s why they are undesirable as a dependency.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172251</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-06-29 09:34:51 +0300</bug_when>
    <thetext>python3(setuptools.command.develop) порождается %python3_sitelibdir/numpy/distutils/command/develop.py
python3(setuptools.command.egg_info) порождается %python3_sitelibdir/numpy/distutils/command/egg_info.py

Наверное, можно выделить субпакет python3-module-numpy-distutils с %python3_sitelibdir/numpy/distutils или же просто исключить зависимости на python3(setuptools.command.develop) и python3(setuptools.command.egg_info). В других дистрах зависимости на setuptools нет, и они как-то работают.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172327</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-06-30 03:35:06 +0300</bug_when>
    <thetext>python-module-numpy-1:1.13.3-alt2.2 -&gt; sisyphus:

Fri Jun 29 2018 Anton Midyukov &lt;antohami@altlinux&gt; 1:1.13.3-alt2.2
- Skip requires from python3-module numpy (Closes:35103) to:
  - python3(setuptools.command.develop)
  - python3(setuptools.command.egg_info)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>