pixelmatch-py icon indicating copy to clipboard operation
pixelmatch-py copied to clipboard

0.3.0: pytest fails in all units with `cannot identify image file`

Open kloczek opened this issue 1 year ago • 2 comments

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix> using 'installer` module
  • run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
  • build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")
List of installed modules in build env:
Package            Version
------------------ -------
build              1.0.3
cppclean           0.13
distro             1.9.0
dnf                4.18.2
exceptiongroup     1.1.3
gpg                1.23.2
importlib_metadata 7.0.1
iniconfig          2.0.0
installer          0.7.0
libdnf             0.72.0
olefile            0.47
packaging          23.2
pillow             10.2.0
pluggy             1.3.0
poetry-core        1.9.0
py-cpuinfo         9.0.0
pyproject_hooks    1.0.0
pytest             8.0.0
pytest-benchmark   4.0.0
python-dateutil    2.8.2
six                1.16.0
tomli              2.0.1
wheel              0.42.0
zipp               3.17.0

Please let me know if you need more details or want me to perform some diagnostics.

kloczek avatar Feb 06 '24 22:02 kloczek