python-xmlsec: 1.3.12: pytest is failing

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>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

List of modules installed in build env

Package                       Version
----------------------------- -----------------
aiohttp                       3.8.1
aioresponses                  0.7.3
aiosignal                     1.2.0
alabaster                     0.7.12
anyio                         3.6.1
async-timeout                 4.0.2
attrs                         22.1.0
Babel                         2.10.2
Brlapi                        0.8.3
build                         0.8.0
cached-property               1.5.2
certifi                       2021.10.8
charset-normalizer            2.1.0
codespell                     2.1.0
distlib                       0.3.4
distro                        1.7.0
docutils                      0.18.1
execnet                       1.9.0
extras                        1.0.0
filelock                      3.8.0
fixtures                      4.0.0
freezegun                     1.2.1
frozenlist                    1.3.1
gpg                           1.17.1-unknown
h11                           0.13.0
httpcore                      0.15.0
httpx                         0.23.0
hypothesis                    6.41.0
idna                          3.3
imagesize                     1.4.1
importlib-metadata            4.12.0
iniconfig                     1.1.1
isodate                       0.6.1
Jinja2                        3.1.1
libcomps                      0.1.18
louis                         3.22.0
lxml                          4.9.1
MarkupSafe                    2.1.1
mccabe                        0.7.0
mock                          4.0.3
multidict                     6.0.2
packaging                     21.3
path                          16.4.0
pbr                           5.9.0
pep517                        0.12.0
pip                           22.2.1
pkgconfig                     1.5.5
platformdirs                  2.5.2
pluggy                        1.0.0
pretend                       1.0.9
py                            1.11.0
pycodestyle                   2.9.1
pyflakes                      2.5.0
Pygments                      2.12.0
PyGObject                     3.42.2
pyparsing                     3.0.9
pytest                        7.1.2
pytest-asyncio                0.19.0
pytest-httpx                  0.21.0
python-dateutil               2.8.2
pytz                          2022.1
requests                      2.28.1
requests-file                 1.5.1
requests-mock                 1.9.3
requests-toolbelt             0.9.1
rfc3986                       2.0.0
rpm                           4.17.0
setuptools                    64.0.1
setuptools-scm                7.0.5
six                           1.16.0
sniffio                       1.2.0
snowballstemmer               2.2.0
sortedcontainers              2.4.0
Sphinx                        5.1.1
sphinxcontrib-applehelp       1.0.2.dev20220730
sphinxcontrib-devhelp         1.0.2.dev20220730
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20220730
sphinxcontrib-qthelp          1.0.3.dev20220730
sphinxcontrib-serializinghtml 1.1.5
termcolor                     1.1.0
testtools                     2.5.0
toml                          0.10.2
tomli                         2.0.1
typing_extensions             4.2.0
urllib3                       1.26.11
virtualenv                    20.16.2
wheel                         0.37.1
yarl                          1.8.1
zipp                          3.8.1

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Ah, I missed a from __future__ import annotations in the conf.py; wasn’t aware that the docs are built somewhere with older Python versions. Will amend shortly.