File python-tiktoken.spec of Package failed_python-tiktoken

```
Name:           python-tiktoken
Version:        0.7.0
Release:        1.1
Summary:        TikToken library for Python
License:        MIT
URL:            https://github.com/openai/tiktoken
Source0:        tiktoken-0.7.0.tar.zst
Source1:        vendor.tar.zst

BuildRequires:  python311-devel
BuildRequires:  python312-devel
BuildRequires:  python313-devel
BuildRequires:  rust >= 1.88
BuildRequires:  cargo >= 1.88
BuildRequires:  gcc
BuildRequires:  make

%description
TikToken is a fast tokenizer for Python, used in OpenAI projects.

%prep
%setup -q -n tiktoken-0.7.0
tar -xf %{SOURCE1} --strip-components=1

%build
export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
for python_flavor in python311 python312 python313; do
    rm -rf build
    /usr/bin/${python_flavor} -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
done

%install
mkdir -p %{buildroot}/usr/lib/python3.11/site-packages
mkdir -p %{buildroot}/usr/lib/python3.12/site-packages
mkdir -p %{buildroot}/usr/lib/python3.13/site-packages

cp -r _build.python311/* %{buildroot}/usr/lib/python3.11/site-packages/
cp -r _build.python312/* %{buildroot}/usr/lib/python3.12/site-packages/
cp -r _build.python313/* %{buildroot}/usr/lib/python3.13/site-packages/

%files
/usr/lib/python3.11/site-packages/*
/usr/lib/python3.12/site-packages/*
/usr/lib/python3.13/site-packages/*

%changelog
* Sun Aug 10 2025 Your Name <your.email@example.com> - 0.7.0-1.1
- Initial package
```

### Explanation of Changes:
1. **Environment Variable**: Added `export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1` in the `%build` section to suppress the Python version check and allow building with Python 3.13.
2. **No Other Changes**: The rest of the file remains untouched, as the issue is specific to the Python version compatibility with `pyo3`.

This change ensures that the build process can proceed without failing due to the unsupported Python version. If future versions of `pyo3` add support for Python 3.13, the environment variable can be removed.
openSUSE Build Service is sponsored by