Skip to content

3.5.0: pytest fails because missing tests/test_pylama_linter.py and PytestDeprecationWarning warnings #499

Closed
@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
----------------------------- -----------
aiohappyeyeballs              2.4.3
aiohttp                       3.10.10
aiosignal                     1.3.1
alabaster                     0.7.16
anyio                         4.4.0
async-timeout                 4.0.3
attrs                         24.2.0
babel                         2.16.0
backoff                       2.2.1
build                         1.2.2.post1
certifi                       2024.8.30
charset-normalizer            3.4.0
defusedxml                    0.7.1
distro                        1.9.0
docutils                      0.21.2
exceptiongroup                1.1.3
frozenlist                    1.4.1
graphql-core                  3.2.5
h11                           0.14.0
httpcore                      1.0.6
httpx                         0.27.2
imagesize                     1.4.1
importlib_metadata            8.5.0
iniconfig                     2.0.0
installer                     0.7.0
Jinja2                        3.1.4
MarkupSafe                    3.0.2
multidict                     6.1.0
packaging                     24.0
parse                         1.20.2
pluggy                        1.5.0
Pygments                      2.18.0
pyproject_hooks               1.2.0
pytest                        8.2.2
pytest-asyncio                0.23.8
python-dateutil               2.9.0.post0
requests                      2.32.3
requests-toolbelt             1.0.0
setuptools                    75.1.0
sniffio                       1.3.0
snowballstemmer               2.2.0
Sphinx                        8.1.3
sphinx-argparse               0.4.0
sphinx_rtd_theme              2.0.0
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         1.0.6
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jquery          4.1
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0
tokenize_rt                   6.1.0
tomli                         2.0.1
typing_extensions             4.12.2
urllib3                       2.2.2
websockets                    13.1
wheel                         0.44.0
yarl                          1.12.1
zipp                          3.20.2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: choreChanges to the build process or auxiliary tools and libraries such as documentation generation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions