Skip to content

0.24: pytest fails in 4 units #2006

@kloczek

Description

@kloczek

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
appdirs                       1.4.4
asttokens                     2.4.1
attrs                         23.2.0
Babel                         2.15.0
build                         1.2.1
charset-normalizer            3.3.2
comm                          0.2.2
contourpy                     1.2.1
cycler                        0.12.1
debugpy                       1.8.1
decorator                     5.1.1
defusedxml                    0.7.1
docutils                      0.20.1
exceptiongroup                1.1.3
executing                     2.0.1
flexcache                     0.3
flexparser                    0.3.1
fonttools                     4.53.0
idna                          3.7
imagesize                     1.4.1
importlib_metadata            7.1.0
iniconfig                     2.0.0
installer                     0.7.0
ipykernel                     6.29.4
ipython                       8.18.1
jedi                          0.19.1
Jinja2                        3.1.4
jupyter_client                8.6.1
jupyter_core                  5.7.2
kiwisolver                    1.4.5
MarkupSafe                    2.1.5
matplotlib                    3.9.0
matplotlib-inline             0.1.7
nest_asyncio                  1.6.0
numpy                         1.26.4
olefile                       0.47
packaging                     24.0
parso                         0.8.4
pexpect                       4.9.0
pillow                        10.3.0
platformdirs                  4.2.2
pluggy                        1.5.0
prompt_toolkit                3.0.46
psutil                        6.0.0
ptyprocess                    0.7.0
pure_eval                     0.2.2
py-cpuinfo                    9.0.0
Pygments                      2.18.0
pyparsing                     3.1.2
pyproject_hooks               1.0.0
pytest                        8.2.2
pytest-benchmark              4.0.0
pytest-mpl                    0.17.0
pytest-subtests               0.12.1
python-dateutil               2.9.0.post0
pyzmq                         26.0.3
requests                      2.32.3
setuptools                    69.4.0
setuptools-scm                8.1.0
snowballstemmer               2.2.0
Sphinx                        7.3.7
sphinxcontrib-applehelp       1.0.8
sphinxcontrib-devhelp         1.0.6
sphinxcontrib-htmlhelp        2.0.5
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          1.0.7
sphinxcontrib-serializinghtml 1.1.10
stack_data                    0.6.3
tokenize_rt                   5.2.0
tomli                         2.0.1
tornado                       6.4.1
traitlets                     5.14.3
typing_extensions             4.12.2
urllib3                       2.2.1
wcwidth                       0.2.13
wheel                         0.43.0
zipp                          3.19.2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions