File python-WSME.spec of Package failed_python-WSME

```
Name:           python-WSME
Version:        0.12.1
Release:        1.1
Summary:        Web Services Made Easy - A simple way to expose Python functions over HTTP
License:        MIT
URL:            https://github.com/stackforge/wsme
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-pbr
BuildRequires:  python3-pecan
BuildRequires:  python3-pytest
BuildRequires:  python3-importlib-metadata

Requires:       python3-importlib-metadata

%description
Web Services Made Easy (WSME) simplifies the creation of web services by providing a consistent API for various web frameworks.

%prep
%setup -q

%build
%py3_build

%install
%py3_install

%check
PYTHONPATH=%{buildroot}/usr/lib/python3.11/site-packages pytest-3.11 --ignore=_build.python311 --ignore=_build.python312 --ignore=_build.python313 -v tests/pecantest

%files
%license LICENSE
%doc README.rst
%{python3_sitelib}/wsme/
%{python3_sitelib}/WSME-*.egg-info/

%changelog
* Fri Aug 08 2025 Your Name <your.email@example.com> - 0.12.1-1.1
- Add python3-importlib-metadata as a BuildRequires and Requires dependency
- Fix missing dependency issue during %check phase
```

### Explanation of Changes:
1. **Added `BuildRequires: python3-importlib-metadata`:** Ensures that the `importlib_metadata` module is available during the build process.
2. **Added `Requires: python3-importlib-metadata`:** Ensures that the `importlib_metadata` module is installed as a runtime dependency for the package.
3. No other changes were necessary, as the rest of the build process appears to be functioning correctly.

This modification ensures that the `importlib_metadata` module is available both during the build and at runtime, resolving the `ModuleNotFoundError` errors seen in the `%check` phase.
openSUSE Build Service is sponsored by