Closed SheGe closed 4 months ago
When I temporarily modified the stack storm configuration and removed --system-site-packages
from the virtual environment creation command - the peewee installation was completed.
In the systems where we use newer versions of Python, like 3.8 - the issue does not exist. This test proves the findings in the description are correct and the problem I'm experiencing is related to this pip bug with build isolation: https://github.com/pypa/pip/issues/6264 for which the fix won't released for pip versions that work with Python <= 3.6
Implementing the change I've suggested might help to keep peewee compatible with older versions of Python and different environment setups.
I've gone ahead and tried your fix in a new version, 3.17.4. Hopefully this addresses your issue, however unlikely the circumstances required to produce it.
I hate @pypa so much it's unreal!
Hi,
the installation of peewee specified in the requirements.txt file is failing with this error:
More information about the system:
/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --system-site-packages --verbose --no-download /opt/stackstorm/virtualenvs/MY_PACK
/opt/stackstorm/virtualenvs/MY_PACK/bin/pip install -U -r /opt/stackstorm/packs/MY_PACK/requirements.txt.
system-site-packages
:39.2.0
The problem I'm experiencing could be related to this: https://github.com/pypa/setuptools/issues/1694#issuecomment-466010982
I am confident that the issue I’m currently facing could be resolved by adding
build-backend="setuptools.build_meta"
into thepyproject.toml
file. However, I have concerns about how this modification might affect the compatibility of your project with various Python versions currently supported.