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

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

    <bug>
          <bug_id>57197</bug_id>
          
          <creation_ts>2025-12-10 18:10:09 +0300</creation_ts>
          <short_desc>поддержка и документация сборки с Limited API для setuptools-rust</short_desc>
          <delta_ts>2025-12-11 13:04:08 +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>rpm-build-pyproject</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>enhancement</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>278843</commentid>
    <comment_count>0</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2025-12-10 18:10:09 +0300</bug_when>
    <thetext>Согласно документации:
https://setuptools-rust.readthedocs.io/en/latest/building_wheels.html#building-for-abi3

&gt; setuptools-rust will automatically configure for the limited API when this is set in the [bdist_wheel] configuration section of setup.cfg:
&gt; [bdist_wheel]
&gt; py_limited_api=cp37  # replace with desired minimum Python version
&gt; If using a pyproject.toml-based build, then save the above in a file and use the DIST_EXTRA_CONFIG environment variable to instruct setuptools to pick up this extra configuration. (DIST_EXTRA_CONFIG is documented on this page of the setuptools docs.)
&gt; It is also possible to pass this setting via the command line, e.g.
&gt; python -m build --config-settings=--build-option=--py-limited-api=cp37

Необходимо добавить поддержку упрощенной конфигурации сборки c setuptools-rust и Limited API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278885</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-12-11 13:04:08 +0300</bug_when>
    <thetext>rpm-build-pyproject-0.2.2-alt1 -&gt; sisyphus:

Wed Dec 10 2025 Stanislav Levin &lt;slev@altlinux&gt; 0.2.2-alt1
- Added support for configuration of setuptools-rust (closes: #57197).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>