-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Make Linux (de)activate scripts standalone like on Windows #91
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
…nda-forge-pinning 2022.07.22.15.28.03
Appreciate the effort here Leo, but am not sure this is going to work. We rely on having some of these environment variables getting replaced while leaving others to be determined at runtime. If we go this route, it may require some patching of the scripts, using If we find something that works here, would be good to do a fair bit of testing to make sure everything is still behaving as expected. |
Hmmm I thought I did that, but maybe there're a few other variables that I missed. Please check the Windows scripts. The structure is identical now, so if we can do the variable injection on Windows, we should be able to do that on Linux too. That said, I cannot continue today for some urgent tasks. Let me mark this as draft. |
Gotcha. Yeah can take a look later No worries. Thanks for the effort here. Agree this would be more readable/maintainable with this change |
Hi @jakirkham it appears to me that we only need to worry about |
@conda-forge-admin, please restart ci |
@conda-forge-admin, please re-render |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/nvcc-feedstock/actions/runs/2737010599. |
@conda-forge-admin, please re-render |
…nda-forge-pinning 2022.07.25.22.44.11
@galipremsagar @vyasr, could you please help test this when you have a chance? Prebuilt Conda binaries can be found on CI (relevant docs). More context can also be found in issue ( conda-forge/conda-forge.github.io#1424 ). |
Verified locally with the artifacts and works on my machine 👍 |
@leofang Do you think it's worth it to use |
Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
I'd like to leave this question to @jakirkham @galipremsagar. In #87 and other PRs we tried to make the (de)activation script work outside of conda-build. My only concern is if the (de)activation script fails conda may be left in an invalid state. I seem to remember seeing a similar issue in the past but can't recall where. |
Another note is we currently have both |
Co-authored-by: jakirkham <jakirkham@gmail.com>
@jakirkham @leofang @galipremsagar I was also able to verify that this worked for me locally. |
@jaimergp, could you please take another look when you have a chance? 🙂 |
@conda-forge-admin, please re-render |
…nda-forge-pinning 2022.08.01.12.11.42
Let's get this merged. Thanks everyone for reviewing & testing! |
Supersede #68. Close #68.
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)