Skip to content

Commit

Permalink
Package version fixes for 2.5.1 (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc authored Aug 21, 2023
2 parents 0c20e83 + 8aad8b1 commit 9f870c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
path: /usr/share/miniconda3/envs/mantidimaging-dev.cache
key:
${{runner.os}}-condaenv-${{env.CACHE_NUMBER}}-${{steps.get-date.outputs.date}}-${{hashFiles('environment-dev.yml','conda/meta.yaml')}}
${{runner.os}}-condaenv-${{env.CACHE_NUMBER}}-${{steps.get-date.outputs.date}}-${{hashFiles('environment-dev.yml','conda/meta.yaml', 'setup.py')}}

- name: Setup Mambaforge
uses: conda-incubator/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ requirements:
- astropy=5.0.*
- scipy=1.7.*
- scikit-image=0.19.*
- tifffile=2023.8.12
- imagecodecs=2023.8.12
- tifffile=2023.7.18
- imagecodecs=2023.1.23
- numpy=1.20.*
- numexpr=2.8.*
- algotom=1.0.*
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def make_environment_file(self, extra_deps):
output_env_file = tempfile.NamedTemporaryFile("wt", delete=False, suffix=".yaml")
with dev_env_file.open() as dev_env_file_fh:
for line in dev_env_file_fh:
if line.strip() == "- mantidimaging":
if line.strip().startswith("- mantidimaging"):
for extra_dep in extra_deps:
output_env_file.write(f" - {extra_dep}\n")
else:
Expand Down

0 comments on commit 9f870c6

Please sign in to comment.