Bug 57197

Summary: поддержка и документация сборки с Limited API для setuptools-rust
Product: Sisyphus Reporter: Stanislav Levin <slev>
Component: rpm-build-pyprojectAssignee: Stanislav Levin <slev>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P5 CC: slev
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Stanislav Levin 2025-12-10 18:10:09 MSK
Согласно документации:
https://setuptools-rust.readthedocs.io/en/latest/building_wheels.html#building-for-abi3

> setuptools-rust will automatically configure for the limited API when this is set in the [bdist_wheel] configuration section of setup.cfg:
> [bdist_wheel]
> py_limited_api=cp37  # replace with desired minimum Python version
> 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.)
> It is also possible to pass this setting via the command line, e.g.
> python -m build --config-settings=--build-option=--py-limited-api=cp37

Необходимо добавить поддержку упрощенной конфигурации сборки c setuptools-rust и Limited API.
Comment 1 Repository Robot 2025-12-11 13:04:08 MSK
rpm-build-pyproject-0.2.2-alt1 -> sisyphus:

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