Skip to content

Add ability to import through directories - #99

Merged
Ahajha merged 1 commit into
mainfrom
trotta/add-ability-to-import-through-directories
Jul 20, 2026
Merged

Add ability to import through directories#99
Ahajha merged 1 commit into
mainfrom
trotta/add-ability-to-import-through-directories

Conversation

@Ahajha

@Ahajha Ahajha commented Jul 20, 2026

Copy link
Copy Markdown
Member

modular/modular@abc342f adds this functionality, plumbing it through here. Now we can set import_path, similar to rules_python's imports, but restricting it to only one possible way to import a package. (There's no hard reason for this restriction, but for now it generally makes sense that there should only be one.)

Also bumps the default Mojo version (to pull this change) and fixes a warning.

modular/modular@abc342f adds this functionality, plumbing it through here. Now we can set `import_path`, similar to rules_python's `imports`, but restricting it to only one possible way to import a package. (There's no hard reason for this restriction, but for now it generally makes sense that there should only be one.)

Also bumps the default Mojo version (to pull this change) and fixes a warning.
@Ahajha
Ahajha merged commit ea45d4c into main Jul 20, 2026
13 checks passed
@Ahajha
Ahajha deleted the trotta/add-ability-to-import-through-directories branch July 20, 2026 23:19
@Ahajha

Ahajha commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

I seem to have broken path mapping, I'll put up a fix tomorrow.

Ahajha added a commit that referenced this pull request Jul 21, 2026
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

Successfully merging this pull request may close these issues.

1 participant