-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support multiple venvs in Makefile #36
Conversation
Handle creation of multiple venvs with Makefile and `setup.sh`. Related to question pawamoy/pdm-multirun#10: pawamoy/pdm-multirun#10
Adding section on using the `PDM_MULTIRUN_USE_VENVS` variable in the Makefile.
Having some new issues with the 'default' use. Investigating. |
Ok, found the culprit in my code/installation.
On the other hand, CI is failing due to unkonwn reasons and I do not want to investigate. 🤐 But saw your last commit was failing as well, so I guess s.th. unrelated? |
Thanks! So, I tested locally, and it does seem to require setting That got me thinking. Maybe we could have an automated mode in the setup script: if the user config says I'll push a commit to your branch with my changes so you can see and test 🙂 |
Hi! There is an odd thing indeed:
This could be a result from that issue, getting this new typing error now. From my point of view we could continue with this version. |
Should be better now. Previously, only the setup action would handle both venvs/pypackages. Now all actions do. Windows failures are unrelated. |
OK, LGTM, merging, thanks a lot for your contribution! |
In the future it would probably be better to implement this in PDM Multirun directly 🙂 |
Reference: pawamoy/pdm-multirun#10
Adding the handling of
PDM_MULTIRUN_USE_VENVS
inscript/setup.ph
and giving the option for theMakefile
.setup.ph
to check for the environment variable and if set to1
creating named venvs (e.g. 3.11, exactly as the version specifier. One could change this if another behavoir is preferred, no strong opinion here)mkdocs
callouts
didn't worked for me.Not sure on the documentation, not too experienced there. Please check and change to your likeing.