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

Use relative import #3118

Open
LecrisUT opened this issue Jul 29, 2024 · 0 comments
Open

Use relative import #3118

LecrisUT opened this issue Jul 29, 2024 · 0 comments

Comments

@LecrisUT
Copy link
Contributor

I just realized the cause of the failure of https://github.com/teemtee/tmt/actions/runs/9726385087/job/26844764885?pr=3062

Basically because the project does not use src-layout and absolute import paths are used, it is very easy to be out-of-sync, e.g. in that PR the dependencies and entry_point come from the pre-commit, but the source for tmt module comes from the current directory instead. #3117 intends to fix part of that issue, but if other users have a tmt module in their top-level, than things will get wacky again.

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