Closed
Description
Checklist
- I added a descriptive title
- I searched open reports and couldn't find a duplicate
What happened?
I have an environment.yaml
:
name: base
platforms:
- linux-64
channels:
- conda-forge
pip-repositories:
- https://aws:$CODEARTIFACT_PASSWORD@sanitized-example.d.codeartifact.us-west-2.amazonaws.com/pypi/sanitized/simple/
dependencies:
- python=3.9
- pip
- pip:
- privatepackage==1.2.3
and I run:
conda-lock lock -f environment.yaml
The resulting conda-lock.yml
contains the expanded value of the $CODEARTIFACT_PASSWORD
environmental variable. I expected this environment variable would not be expanded in the conda-lock.yml/
Conda Info
I don't have conda or mamba installed. Only micromamba.
micromamba info
libmamba version : 1.5.3
micromamba version : 1.5.3
curl version : libcurl/8.4.0 SecureTransport (OpenSSL/3.1.4) zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
envs directories : /Users/willholtz/micromamba/envs
package cache : /Users/willholtz/micromamba/pkgs
/Users/willholtz/.mamba/pkgs
environment : None (not found)
env location : -
user config files : /Users/willholtz/.mambarc
populated config files :
virtual packages : __unix=0=0
__osx=14.2.1=0
__archspec=1=arm64
channels :
base environment : /Users/willholtz/micromamba
platform : osx-arm64
Conda Config
micromamba config sources
Configuration files (by precedence order):
Conda list
micromamba list
List of packages in environment: ""
Additional Context
I also tried supplying the the environmental variable inside {}
:
- https://aws:${CODEARTIFACT_PASSWORD}@sanitized-example.d.codeartifact.us-west-2.amazonaws.com/pypi/sanitized/simple/
but there was no change in observed behavior.
Metadata
Metadata
Assignees
Labels
No labels