fakeredis
fakeredis copied to clipboard
2.23.2: pytest fails in multiple units with `unknown command 'eval'` error messge
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
------------------ -----------
async-timeout 4.0.3
attrs 23.2.0
build 1.2.1
exceptiongroup 1.1.3
fastjsonschema 2.19.1
hypothesis 6.100.0
importlib_metadata 7.1.0
iniconfig 2.0.0
installer 0.7.0
invoke 2.2.0
lark 1.1.9
lupa 2.1
packaging 24.0
pluggy 1.4.0
poetry-core 1.9.0
pyproject_hooks 1.0.0
pytest 8.1.1
pytest-asyncio 0.23.6
pytest-mock 3.14.0
python-dateutil 2.9.0.post0
redis 5.0.4
sortedcontainers 2.4.0
tokenize_rt 5.2.0
tomli 2.0.1
typing_extensions 4.11.0
wheel 0.43.0
zipp 3.18.2
Please let me know if you need more details or want me to perform some diagnostics.