Commit 0948ca7a authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

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

file named ....yml.copy
parent 3f03bb21
#!/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=env)
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}',
env=env)
# 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