-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unit test workflow failed setting up conda environment: "Warning: Pip subprocess error" #111
Comments
Reported previously in the setup-miniconda repo we're using in our workflow. Suggested remedies are:
We're using |
We're already using hklpy/.github/workflows/conda_unit_test.yml Lines 20 to 23 in c77c3cd
python-version in the config:
Comment-out line 35 and give it a try. |
Commit 96f672c did not solve the problem. Plan B is to separate the Need to rewrite If the |
Result (python 3.8.5 is available as which python
which python3
python --version
python3 --version
shell: /usr/bin/bash -l {0}
env:
ENV_NAME: hklpy-test-3.8
PACKAGE: hklpy
/usr/bin/python
/usr/bin/python3
Python 3.8.5
Python 3.8.5 |
The root problem was in the workflow with Replacing that with |
The code passed unit tests locally but the GitHub actions workflow failed while setting up the conda/pip environment using mamba. (Pip could not find the named conda environment for py36 & py38).
Originally posted by @prjemian in #100 (comment)
This is a new failure (since last commit a few months ago) of the workflow. The failure happened before the repo's code was installed, while constructing the conda environment when adding the pip requirements. Pip could not find the environment directory.
The text was updated successfully, but these errors were encountered: