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

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

    <bug>
          <bug_id>56201</bug_id>
          
          <creation_ts>2025-09-29 15:23:39 +0300</creation_ts>
          <short_desc>генерация зависимости на stable ABI</short_desc>
          <delta_ts>2025-11-06 13:39:19 +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>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>ancieg</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>slev</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>273475</commentid>
    <comment_count>0</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2025-09-29 15:23:39 +0300</bug_when>
    <thetext>По мотивам:
https://bugzilla.altlinux.org/show_bug.cgi?id=55340#c5

Согласно документации:
https://docs.python.org/3/c-api/stable.html#stable-abi

&gt; Python provides a Stable ABI: a set of symbols that will remain ABI-compatible across Python 3.x versions.

&gt; On some platforms, Python will look for and load shared library files named with the abi3 tag (e.g. mymodule.abi3.so). It does not check if such extensions conform to a Stable ABI. The user (or their packaging tools) need to ensure that, for example, extensions built with the 3.10+ Limited API are not installed for lower versions of Python.

Внешний распознаваемый признак - это ABI tag в имени файла
https://peps.python.org/pep-3149/#pep-384

Например,
foo.cpython-XY.so - ABI совместимо c cpython XY
foo.abi3.so - ABI совместимо с python3

В сизифе:
- 398 src пакетов, из которых собираются только Python специфичные ABI модули
- 38 src пакетов, из которых собираются только Python3 Stable ABI модули

Предлагается *не* генерировать альт-специфичную зависимость %python3_ABI_dep для модулей, собираемых в Python3 Stable ABI. Это позволит не пересобирать эти модули при обновлении минорной версии CPython.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276221</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-11-06 13:39:19 +0300</bug_when>
    <thetext>rpm-build-pyproject-0.2.0-alt1 -&gt; sisyphus:

Tue Oct 21 2025 Stanislav Levin &lt;slev@altlinux&gt; 0.2.0-alt1
- Added support for Python Stable ABI (closes: #56201).
- Fixed support for extensions having multiple init functions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>