-
Notifications
You must be signed in to change notification settings - Fork 104
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
ModuleNotFoundError: No module named 'build' with no command line options #676
Comments
Thanks so much @wholtz for your vigilance on this! I confirm that On an unrelated note, @wholtz, is there any particular reason you haven't migrated everything to pixi? I'd really like to understand any remaining use cases of conda-lock as per #615. |
I haven't looked at pixi in a while. The last time I looked it still seemed alpha level. But it sounds like I should take another look. |
Is it just the (in the meantime, you can just manually install build in your enviornment and you should be good to go) |
@romain-intel I think it goes a lot deeper than this unfortunately. As noted above, note that we forgot to revendor |
@maresb -- looking at the commit when I ran
In short, it seems to work. |
Maybe I'm mistaken, apologies if that's the case @romain-intel. I will take a closer look. |
No worries -- I feel stupid enough for not having checked the new dependencies. Am working on a PR now for it. |
I was simply confused @romain-intel, sorry about that!!! 🙈 (I must have been working in an older branch when I last checked.) Indeed, as far as we know this was just a simple dependency mistake. I would still like to review my original vendor stuff before releasing to ensure there's nothing else we overlooked. Looking forward to your PR! |
Added a PR. Sorry about that miss. I went through the dependencies again. There is one we don't have which is https://github.com/python-poetry/poetry-plugin-export but I don't think we use it. Can always add if needed though. |
@romain-intel, @wholtz, I'm getting very close to a major release of conda-lock. I would be very interested to know the results if you could try |
Awesome. Yes, I saw a lot of activity :). I can run through some of the test cases we have here over the week-end. If you are interested, I may also have one small PR coming your way to add support for "path" dependencies and "subdirectory" (for the already supported "git" dependency). I haven't finished but I think it may just be a few lines (since poetry already supports it). |
On python 3.12 (installed via macports), I get an error that
|
Using python 3.10 to run
|
Amazing, thanks so much @wholtz for your always invaluable help. I'm relieved that your nasty test case works. I'm disappointed that my new integration test didn't catch the |
I've been playing around with it a little bit and things look good. I ran it against a few scenarios that I have including private GIT repo, GIT urls, extra repositories, etc. One nice thing I noticed:
would initially not resolve at all because it would try finding wrong packages on that second repo and get 403s. This now works but with warnings like so:
(so it works so that's a big plus :) -- mentioning since we changed stuff around the auth) Ooh, and I did get it to work with local directories too :). I'll submit a PR for that shortly (need to clean up a few things and see if I can improve it a bit). |
@romain-intel, very glad to see you trying this out!!! Please see #708 for the first draft of my guide. There is a lot of low-hanging fruit regarding easy PRs for Git and path deps. I haven't thought about private pip repositories; that may or may not be easy. I'm very eager to get your feedback and contributions! Also @wholtz I partially had you in mind as my audience while drafting #708. My hope is that can efficiently get you up-to-speed with exactly what you need to know to start using pixi. |
Checklist
What happened?
I expected to get the the brief help output, not a stack trace.
Additional Context
This was on a Apple M2 CPU (osx 14.6.1). I installed
conda-lock
via:(Note I am installing the main branch, not a published release. I am having a solving issue with the current release that I hoped was fixed.)
The above stack trace is from using the system python (3.9.6)
I also tried using a macport installed version of python (3.10.11) and got the same error (minus the OpenSSL warning).
The text was updated successfully, but these errors were encountered: