Bug 57197 - поддержка и документация сборки с Limited API для setuptools-rust
Summary: поддержка и документация сборки с Limited API для setuptools-rust
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build-pyproject (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 enhancement
Assignee: Stanislav Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-10 18:10 MSK by Stanislav Levin
Modified: 2025-12-11 13:04 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).