Commit 01f4bd1f authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'bf/test_env' into 'master'

BF: Why are so many tools so precious about file extensions? Conda rejects

See merge request fsl/conda/manifest-rules!45
parents 3f03bb21 0948ca7a
#!/usr/bin/env python
__version__ = '0.7.7'
__version__ = '0.7.8'
......@@ -94,7 +94,7 @@ def full_test(envfile, release_info, skip_pkgs):
skipped = []
basepkgs = {}
with open(envfile, 'rt') as f, open(envfile + '.copy', 'wt') as outf:
with open(envfile, 'rt') as f, open('copy.' + envfile, 'wt') as outf:
for line in f:
# get base package versions
for pkg in base_packages:
......@@ -123,7 +123,7 @@ def full_test(envfile, release_info, skip_pkgs):
env_out = sprun(f'./fsl/bin/conda install -y -n base {basepkgs}',
env_out += sprun(f'./fsl/bin/conda env update -n base -f {envfile}.copy',
env_out += sprun(f'./fsl/bin/conda env update -n base -f copy.{envfile}',
# Add an output line for each skipped package,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment