seeing this error pop up in logs, not sure what the effect is
Unable to build package file mapping, please report this to https://github.com/DataDog/dd-trace-py/issues
Traceback (most recent call last):
File "<path-to-venv>/lib64/python3.8/site-packages/ddtrace/internal/utils/cache.py", line 124, in _
retval, exc = f.__callonce_result__ # type: ignore[attr-defined]
AttributeError: 'function' object has no attribute '__callonce_result__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<path-to-venv>/lib64/python3.8/site-packages/ddtrace/internal/packages.py", line 154, in _package_for_root_module_mapping
if is_namespace(f):
File "<path-to-venv>/lib64/python3.8/site-packages/ddtrace/internal/packages.py", line 136, in is_namespace
parent = located_f.parents[len(f.parts) - 2]
AttributeError: 'Path' object has no attribute 'parents'
Summary of problem
seeing this error pop up in logs, not sure what the effect is
Which version of dd-trace-py are you using?
2.8.5
Which version of pip are you using?
pip 24.0 (python 3.8)
Which libraries and their versions are you using?
How can we reproduce your problem?
What is the result that you get?
What is the result that you expected?