Open
Description
I'm trying to package your module as rpm packag. So I'm using typical in such case build, install and test cycle used on building package from non-root account:
- "setup.py build"
- "setup.py install --root </install/prefix>"
- "pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
May I ask for help because few units are failing:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-GitPython-3.1.20-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-GitPython-3.1.20-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --force-sugar
inifile: /home/tkloczko/rpmbuild/BUILD/GitPython-3.1.20/pyproject.toml
rootdir: /home/tkloczko/rpmbuild/BUILD/GitPython-3.1.20
Metadata
Metadata
Assignees
Labels
No labels