New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failed on Arch Linux against Python 3.12 #430
Comments
Please follow https://github.com/gaogaotiantian/viztracer/blob/master/.github/CONTRIBUTING.md for build and test. There are a couple of things I can notice from the log:
Also, the project support is to make sure the library itself works on all platforms, not the tests. |
Sorry so late for reply. # Avoid exceeding maximum recursion depth.
sed -i "s|call_self(1000)|call_self(888)|g" tests/test_vcompressor.py
# Disable external processor testing because we don't have it.
sed -i "s|use_external_processor=True|use_external_processor=False|g" tests/test_viewer.py
# Attach is not working, this is some black magic and is OS-dependent.
rm tests/test_remote.py For the first one, on my machine, the maximum recursion depth is exceeded when exceeding 996. The full packaging script is here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-viztracer |
Free free to pick out the tests that do not suit you. For the tests you found issues:
Anyway, I probably won't change the tests except for the first one, but you can just do what you need to package it. |
I noticed that there are still two test errors about |
I can take a look this weekend probably. |
好 |
Error Log: test-error.log
Note:
python-orjson
,python-rich
are pre-installed on my machine.The text was updated successfully, but these errors were encountered: