Skip to content
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

clarify docs about solver <-> specs interaction #738

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions CONSTRUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ by an exact URL; e.g.,
`https://repo.anaconda.com/pkgs/main/osx-64/openssl-1.0.2o-h26aff7b_0.tar.bz2`.
This key can also take a `str` pointing to a requirements file with the same syntax.

The specs will be solved with the solver configured for your `base` conda installation,
if any. Starting with conda 22.11, this behavior can be overriden with the
`CONDA_SOLVER` environment variable.
Note: `constructor` relies on `conda`'s Python API to solve the passed
specifications. You can still set the `CONDA_SOLVER` environment variable
to override system-wide settings for `constructor`. If you are using
`constructor` from a non-`base` environment, make sure the
configured solver plugin is also installed in that environment.

### `user_requested_specs`

Expand Down
8 changes: 5 additions & 3 deletions constructor/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@
`https://repo.anaconda.com/pkgs/main/osx-64/openssl-1.0.2o-h26aff7b_0.tar.bz2`.
This key can also take a `str` pointing to a requirements file with the same syntax.

The specs will be solved with the solver configured for your `base` conda installation,
if any. Starting with conda 22.11, this behavior can be overriden with the
`CONDA_SOLVER` environment variable.
Note: `constructor` relies on `conda`'s Python API to solve the passed
specifications. You can still set the `CONDA_SOLVER` environment variable
to override system-wide settings for `constructor`. If you are using
`constructor` from a non-`base` environment, make sure the
configured solver plugin is also installed in that environment.
'''),

('user_requested_specs', False, (list, str), '''
Expand Down
8 changes: 5 additions & 3 deletions docs/source/construct-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ by an exact URL; e.g.,
`https://repo.anaconda.com/pkgs/main/osx-64/openssl-1.0.2o-h26aff7b_0.tar.bz2`.
This key can also take a `str` pointing to a requirements file with the same syntax.

The specs will be solved with the solver configured for your `base` conda installation,
if any. Starting with conda 22.11, this behavior can be overriden with the
`CONDA_SOLVER` environment variable.
Note: `constructor` relies on `conda`'s Python API to solve the passed
specifications. You can still set the `CONDA_SOLVER` environment variable
to override system-wide settings for `constructor`. If you are using
`constructor` from a non-`base` environment, make sure the
configured solver plugin is also installed in that environment.

### `user_requested_specs`

Expand Down
Loading