-
Notifications
You must be signed in to change notification settings - Fork 251
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
pybuilder fails on osx m1 #774
Comments
If I monkey patch python_env.py:426 to the following and set the flag it works. This seems to follow best practices on python 3+ to use venv over virtualenv but I am also just pawing at this so not familiar with any subtly to that discussion ` if os.environ.get("use_venv",False):
|
Hi, thanks for the report. Are you using stock Python or a Homebrew one? |
I am running pybuilder out of a virtual env (created through IntelliJ / PyCharm ) off of ../../Library/Frameworks/Python3.framework/Versions/3.8/bin/python3 |
Interesting. I had the reverse reported - stock python working and homebrew not working on OSX. Bizarre. |
But this is the same problem I'm observing on Windows as well, which I'm still trying to fix. |
Not sure if you are interested in the venv route but it cleared up the issue for me - there are a couple of options (setup tools etc) that would take a bit more effort than my trivial example but not too much ... I'll create a pull request it'll just take me a bit to figure out how to pipe it through the CLI properly |
I've had the venv route, but because I have to support all the platforms there was an issue with venv route as well, hence there was a back migration to VirtualEnv. |
Could you please try the latest |
@rspitler ping? |
I will try to find some time this afternoon to verify - thanks!
…On Tue, Sep 07, 2021 at 3:22 PM, Arcadiy Ivanov < ***@***.*** > wrote:
@ rspitler ( https://github.com/rspitler ) ping?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#774 (comment) )
, or unsubscribe (
https://github.com/notifications/unsubscribe-auth/ADU3QFC2UBR4GUCICN26KIDUAZ7A3ANCNFSM46IOO55A
).
Triage notifications on the go with GitHub Mobile for iOS (
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
) or Android (
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
).
|
Sorry something else is going on now - see below % pyb
PyBuilder version 0.13.0.dev20210908053645
Build started at 2021-09-08 15:34:49
------------------------------------------------------------
------------------------------------------------------------
BUILD FAILED - StopIteration: (virtualenv/run/plugin/discovery.py:22)
------------------------------------------------------------
Build finished at 2021-09-08 15:34:49
Build took 0 seconds (54 ms)
% which python3
/opt/homebrew/bin/python3 |
Ah, looks like you're in the same place right now as #771 |
In fact it's probably the same exact issue but I'll hold off declaring it so until I gather more evidence. |
I can't seem to reproduce this issue with BigSur and Homebrew on GitHub Actions. Could you please see these logs and tell me whether anything jumps at you as different from your system configuration? |
The only major delta is that I was running python 3.9. |
Your original filing says 3.8.2:
|
@rspitler Have you by any chance installed PyB into |
@rspitler Please test with the latest |
Vendorize latest virtualenv with cleanup fixes fixes pybuilder#795, pybuilder#777, pybuilder#774, pybuilder#771
Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes pybuilder#795, pybuilder#777, pybuilder#774, pybuilder#771
Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes pybuilder#795, pybuilder#777, pybuilder#774, pybuilder#771
Vendorize latest virtualenv with cleanup fixes Bump version to 0.13.0 fixes pybuilder#795, pybuilder#777, pybuilder#774, pybuilder#771
I am seeing this failure if I run without --no-venvs
The text was updated successfully, but these errors were encountered: