Skip to content

Commit

Permalink
Pinning conda version until 23.7.X issues are resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
costrouc committed Aug 4, 2023
1 parent ab47a41 commit d3ec279
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion conda-store-server/environment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- python ==3.10
# conda builds
- conda
- conda ==23.5.2
- conda-docker >= 0.1.2
- conda-pack
- conda-lock >=1.0.5
Expand Down
2 changes: 1 addition & 1 deletion conda-store-server/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
dependencies:
- python ==3.10
# conda environment builds
- conda
- conda ==23.5.2
- conda-docker >= 0.1.2
- conda-pack
- conda-lock >=1.0.5
Expand Down
14 changes: 4 additions & 10 deletions conda-store-server/tests/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,11 @@ def test_install_lockfile(tmp_path, conda_store, simple_conda_lock):


def test_generate_conda_export(conda_store, current_prefix):
import subprocess

try:
context = action.action_generate_conda_export(
conda_command=conda_store.conda_command, conda_prefix=current_prefix
)
context = action.action_generate_conda_export(
conda_command=conda_store.conda_command, conda_prefix=current_prefix
)

schema.CondaSpecification.parse_obj(context.result)
except subprocess.CalledProcessError as e:
print(e, e.returncode, e.cmd, e.output, e.stdout, e.stderr)
raise e
schema.CondaSpecification.parse_obj(context.result)


def test_generate_conda_pack(tmp_path, current_prefix):
Expand Down

0 comments on commit d3ec279

Please sign in to comment.