File python-autopage.changes of Package failed_python-autopage
python-autopage (0.5.2-0) unstable; urgency=low * Initial package in this repo. Repair summary (auto-generated): Root cause: - During %check pytest raised multiple "import file mismatch" errors because pytest discovered modules from an installed autopage package in site-packages rather than the local source tree. The module __file__ attribute pointed to an installed location which didn't match the test file path collected by pytest. Change applied: - Modified python-autopage.spec: in the %check section exported PYTHONPATH=$PWD before invoking pytest so the test runner picks up the local source tree first. Notes: - This is a minimal change limited to the %check test environment. If further test failures are reported, please include the pytest output; a follow-up may clean up stray __pycache__ or .pyc files under the build directory before running tests.