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

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

    <bug>
          <bug_id>50996</bug_id>
          
          <creation_ts>2024-07-29 15:32:15 +0300</creation_ts>
          <short_desc>deprecated `setup.py test` command</short_desc>
          <delta_ts>2024-10-28 13:04:15 +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-setuptools</component>
          <version>unstable</version>
          <rep_platform>x86_64</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="Stanislav Levin">slev</reporter>
          <assigned_to name="Stanislav Levin">slev</assigned_to>
          <cc>slev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>249416</commentid>
    <comment_count>0</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-07-29 15:32:15 +0300</bug_when>
    <thetext>setuptools 72.0.0 removed support for deprecated `setup.py test` command:

https://setuptools.pypa.io/en/stable/history.html#v72-0-0

&gt; The test command has been removed. Users relying on ‘setup.py test’ will need to migrate to another test runner or pin setuptools before this version. (#931)

See also:
https://github.com/pypa/setuptools/issues/931

Rough estimate of affected packages in sisyphus:
$ git grep &apos;setup.py test&apos; | wc -l
280</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252502</commentid>
    <comment_count>1</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-03 19:25:10 +0300</bug_when>
    <thetext>To make it clear.
`test` is deprecated since setuptools 41.5.0 (27 Oct 2019):                           
https://setuptools.pypa.io/en/latest/history.html#v41-5-0

Upstreams had enough time to migrate from it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252503</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-03 19:27:34 +0300</bug_when>
    <thetext>updated stats:
- `python3 setup.py test` is invoked by 151 packages during build
- 110 of them do nothing (ran 0 tests)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252504</commentid>
    <comment_count>3</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2024-10-03 19:42:22 +0300</bug_when>
    <thetext>Огласите весь список, пжалуста?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252505</commentid>
    <comment_count>4</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-03 19:45:35 +0300</bug_when>
    <thetext>https://git.altlinux.org/tasks/358761/ removes 91 packages (run zero tests + unmaintained/orphaned + no runtime/buildtime deps)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252517</commentid>
    <comment_count>5</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-04 12:20:06 +0300</bug_when>
    <thetext>https://git.altlinux.org/tasks/archive/done/_350/358943/ removes 12 packages (run nonzero tests + unmaintained/orphaned + no runtime/buildtime deps)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>252518</commentid>
    <comment_count>6</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-04 12:21:28 +0300</bug_when>
    <thetext>The list of affected packages is maintained here:
https://git.altlinux.org/people/slev/public/?p=alt_50996.git;a=tree;h=refs/heads/main;hb=main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>253526</commentid>
    <comment_count>7</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2024-10-28 13:03:36 +0300</bug_when>
    <thetext>python3-module-setuptools 75.1.0-alt1 was shippep to Sisyphus:
https://git.altlinux.org/tasks/archive/done/_350/358755/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>