-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
MNT: rerender #349
Closed
conda-forge-admin
wants to merge
7
commits into
conda-forge:main
from
conda-forge-admin:conda_forge_admin_348
Closed
MNT: rerender #349
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
26bb241
dummy commit for rerendering
conda-forge-webservices[bot] cb5f89f
Use `conda-build` version `24.7`
jakirkham 98fd6aa
Consolidate license file handling
jakirkham 63c540b
Try again to fix license file handling
jakirkham 7c73959
Use C compiler when cross-compiling with Python
jakirkham 5ba9b28
Use `recipe-scripts-license.txt` for `LICENSE.txt`
jakirkham 43ea176
Use `cross-python` for CUDA case only
jakirkham File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we mount the recipe directory and the feedstock directory next to each other...
conda-forge-ci-setup-feedstock/.scripts/run_docker_build.sh
Lines 87 to 88 in 2523297
...
pushd {{ RECIPE_DIR }}/..
would resolve to/home/conda
(not mention not work on Windows)To avoid that behavior, we
pushd
to{{ RECIPE_DIR }}
. Once in{{ RECIPE_DIR }}
, we are within the feedstock directory'srecipe
directory. Sopushd ..
resolves to the feedstock directory (instead of/home/conda
as it would have in the other case)Once we are in the feedstock directory, we can copy the feedstock license file and
popd
back to where we wereThis all works around the issue we saw where
FEEDSTOCK_ROOT
didn't resolve during re-renderingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah using
.get
works fine too. No preference on which we use but I am very confused as to why this fails now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed it is weird this fails
Though ideally there would be a simple solution so we are not doing different thing for macOS, Linux & Windows
Maybe we can just use
recipe-scripts-license.txt