Skip to content
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

Maco is modifying relative extractor imports #55

Open
seb-acsc opened this issue Nov 13, 2024 · 0 comments
Open

Maco is modifying relative extractor imports #55

seb-acsc opened this issue Nov 13, 2024 · 0 comments

Comments

@seb-acsc
Copy link
Contributor

With the 1.2.0 release, it seems that when maco runs, it may modify extractors in place to adjust imports.
I'd assume this is uv doing some optimisation under the hood. This isn't necessarily bad, just unexpected. It also affects the supplied demo extractors in this project.

To reproduce, run tox for this package and observe the imports in demo_extractors/complex/complex.py:

from . import complex_utils changes to from complex import complex_utils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant