Closed TheChymera closed 9 months ago
never saw it and I do not see circularity here since there is no types
in the stack (besides dandischema/types
). @jwodder did you see anything like that?
@TheChymera What were the current directory and value of sys.path
when you ran the tests? It looks like the dandischema/
source directory (rather than the directory containing it) was on sys.path
, leading to dandischema/types.py
overriding Python's builtin types
module.
@jwodder you're right, I was running the tests from the wrong directory. The types thing really confused me, probably because the circular import suggestion sent me down the wrong path. Thank you in any case. Any interest perhaps in renaming it, or is it standard for package types to be called types
as opposed to package_types
or builtin_types
?
@TheChymera There's no need to rename it, as it's only a problem if the wrong directory is in sys.path
.
ok, then the issue is resolved. Thanks.
Full build/test log here → https://ppb.chymera.eu/0e8952.html
Any idea what could be causing this? I don't think there's any circular import, at least none I could find.
Full traceback (also included in the above log):