fix build error
#1
by Bvicii - opened
Problem
The Space build was failing during wheel build:
error: subprocess-exited-with-error
Getting requirements to build wheel did not run successfully.
KeyError: '__version__'
pillow==9.5.0 uses a legacy setup.py that is incompatible with the Python 3.13 base image's setuptools. The __version__ key was removed in newer Python/setuptools versions, causing the build to fail.
Changes
requirements.txt
pillow==9.5.0โpillow>=10.0.0- Pillow 10+ uses modern build tooling compatible with Python 3.13
README.md
- Added
python_version: "3.10"to Space config for explicit version pinning
Bvicii changed pull request status to open
gggdddfff changed pull request status to merged