Skip to content

8.5.0: pytest fails in 20 units with FileNotFoundError #509

Open
@kloczek

Description

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
----------------------------- -----------
alabaster                     0.7.16
autocommand                   2.2.2
babel                         2.16.0
build                         1.2.2.post1
cffi                          1.16.0
charset-normalizer            3.4.0
cryptography                  42.0.8
defusedxml                    0.7.1
distro                        1.9.0
docutils                      0.21.2
domdf_python_tools            3.8.0.post2
exceptiongroup                1.1.3
imagesize                     1.4.1
importlib_metadata            8.0.0
inflect                       7.4.0
iniconfig                     2.0.0
installer                     0.7.0
jaraco.classes                3.4.0
jaraco.collections            5.1.0
jaraco.context                6.0.1
jaraco.env                    1.0.0
jaraco.functools              4.1.0
jaraco.packaging              10.2.0
jaraco.test                   5.4.0
jaraco.text                   3.12.1
jaraco.tidelift               1.5.1
jaraco.vcs                    2.2.0
jaraco.versioning             1.1.0
jeepney                       0.8.0
Jinja2                        3.1.4
keyring                       25.2.1
MarkupSafe                    3.0.1
more-itertools                10.5.0
natsort                       8.4.0
packaging                     24.0
path                          17.0.0
platformdirs                  4.3.6
pluggy                        1.5.0
ply                           3.11
pycparser                     2.22
pyfakefs                      5.6.0
Pygments                      2.18.0
pyproject_hooks               1.2.0
pytest                        8.2.2
pytest-perf                   0.15.0
python-dateutil               2.9.0.post0
pytz                          2024.2
requests                      2.32.3
requests-toolbelt             1.0.0
rst                           0.1
rst.linker                    2.6.0
SecretStorage                 3.3.3
setuptools                    75.1.0
setuptools-scm                8.1.0
snowballstemmer               2.2.0
Sphinx                        8.0.2
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         1.0.6
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0
tempora                       5.5.1
tokenize_rt                   6.0.0
tomli                         2.0.1
typeguard                     4.3.0
typing_extensions             4.12.2
urllib3                       2.2.2
wheel                         0.44.0
zipp                          3.19.2

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions