orjson icon indicating copy to clipboard operation
orjson copied to clipboard

3.10.3: pytest fails in 6 units in test/test_datetime.py

Open kloczek opened this issue 1 year ago • 0 comments

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")
Here is pytest output:
List of installed modules in build env:
Package            Version
------------------ -----------
build              1.2.1
exceptiongroup     1.1.3
importlib_metadata 7.1.0
iniconfig          2.0.0
installer          0.7.0
maturin            1.5.1
numpy              1.26.4
packaging          24.0
pendulum           3.0.0
pluggy             1.5.0
psutil             5.9.8
pyproject_hooks    1.0.0
pytest             8.2.1
python-dateutil    2.9.0.post0
pytz               2024.1
setuptools         69.4.0
time-machine       2.14.1
tokenize_rt        5.2.0
tomli              2.0.1
wheel              0.43.0
zipp               3.18.2

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

kloczek avatar May 26 '24 17:05 kloczek