-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Set and clear XML_CATALOG_FILES on activation and deactivation, respectively #82
Conversation
…nda-forge-pinning 2023.01.07.12.45.19
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 ( |
@hattne not that we will probably need to reset after merging this. See https://conda-forge.org/status/ and conda-forge/status#137 on how to do this, if you have the extra time. |
#!/bin/bash | ||
|
||
export xml_catalog_files_libxslt="${XML_CATALOG_FILES}" | ||
export XML_CATALOG_FILES="${CONDA_PREFIX}/etc/xml/catalog" |
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.
This should also add the system location separated by a space.
Set and clear XML_CATALOG_FILES on activation and deactivation, respectively
This changes are causing an issue on Windows OS: the Anaconda Prompt (cmd) started behaving not as expected when lauching and after using conda commands. To fix it: |
@hattne, yes, adding the |
Just an FYI, this change causes issues in environments that have unset variable checking (i.e.
|
@hattne , I had noticed that in Windows OS there is no folder
|
@hattne this breaks my org's workflow with the error @acaprez pointed out. Could we please check for the existence of the variable before access? Something like export xml_catalog_files_libxslt="${XML_CATALOG_FILES:-}" might be what you want. Edit: Same may be needed in |
Note: These packages have been marked broken ( conda-forge/admin-requests#649 ) |
I think yes, because it provides the path to where other packages will read or write catalog information. |
Our scheduled build runs in this problem on linux and MacOS /home/runner/Miniforge/envs/mssenv/etc/conda/deactivate.d/libxml2_deactivate.sh: line 3: xml_catalog_files_libxml2: unbound variable https://github.com/Open-MSS/mss-install/actions/runs/10035304064/job/27731093204#step:3:1200 |
The unbound-variable issue in It seems your build is pulling in |
Please open a new bug issue on the feedstock with all the info requested if you are still seeing issues |
Checklist
conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)From conda-forge/libxslt-feedstock#36.