diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-27 05:21:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-27 05:21:32 +0000 |
| commit | 96bb52f727d18ec9e0b347417dc51aef978a3215 (patch) | |
| tree | dd5f40030ab80a5c19729444c95d64ef78d7720c | |
| parent | 0e2a82895e161758219e11672e26a697f18cba52 (diff) | |
automatic import of python-sniffioopeneuler24.03_LTS_SP4
| -rw-r--r-- | sniffio.spec | 14 | ||||
| -rw-r--r-- | sources | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sniffio.spec b/sniffio.spec index e834e04..ec6bb06 100644 --- a/sniffio.spec +++ b/sniffio.spec @@ -1,13 +1,16 @@ # 构建方案: pip(pyproject.toml build-backend=setuptools.build_meta,源码无 setup.py,走 PEP 517 pip 路径) # 上游源码: https://github.com/python-trio/sniffio -# 构建工具链: python3=3.11.6, python3-setuptools=68.0.0, python3-setuptools-scm=7.1.0 (openeuler-24.03_LTS_SP4-x86_64) +# 构建工具链: python3=3.11.6, python3-setuptools=68.0.0 (openeuler-24.03_LTS_SP4-x86_64) # 版本来源: sniffio/_version.py 硬编码 __version__="1.3.1"(pyproject dynamic version = attr,非 scm 计算) +# 注: pyproject.toml [build-system].requires 声明了 setuptools_scm>=6.4,但版本走 attr 读取 _version.py, +# setuptools_scm 从未被导入;且构建用 --no-build-isolation 不安装 build-system.requires。 +# chroot 无 python3-setuptools-scm 包,故不声明该 BuildRequires(已验证 check_existing_package=introduce_new)。 # topdir: sniffio-1.3.1 %global pypi_name sniffio Name: python-%{pypi_name} Version: 1.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Sniff out which async library your code is running under License: MIT OR Apache-2.0 URL: https://github.com/python-trio/sniffio @@ -16,8 +19,8 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pip +BuildRequires: python3-wheel BuildRequires: python3-setuptools >= 64 -BuildRequires: python3-setuptools-scm >= 6.4 %description Sniff out which async library your code is running under. This is a tiny @@ -72,5 +75,10 @@ pip3 install --no-build-isolation --no-index \ %changelog +* Tue Oct 27 2026 Python_Bot <Python_Bot@openeuler.org> - 1.3.1-2 +- Drop unneeded BuildRequires on python3-setuptools-scm (version sourced from + hardcoded _version.py attr, not scm; package absent in chroot) +- Add explicit BuildRequires on python3-wheel for pip3 wheel build command + * Tue Oct 27 2026 Python_Bot <Python_Bot@openeuler.org> - 1.3.1-1 - Initial package @@ -1 +1 @@ -662b49b66ade2e078f463909507ca9fc sniffio-1.3.1.tar.gz +1629a85356510df13ff6b9e420a7236b sniffio-1.3.1.tar.gz |
