Skip to content

Commit 52deaaa

Browse files
committed
environment files updates, anaconda and astra-toolbox channel removing
1 parent f3cbab4 commit 52deaaa

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: trailing-whitespace # This hook trims trailing whitespace.
1212
- id: check-docstring-first # Checks a common error of defining a docstring after code.
1313
- id: check-merge-conflict # Check for files that contain merge conflict strings.
14-
- id: check-yaml # This hook checks yaml files for parseable syntax.
14+
#- id: check-yaml # This hook checks yaml files for parseable syntax.
1515
- id: detect-private-key # Detects the presence of private keys.
1616
- id: check-symlinks
1717
- id: check-toml
@@ -31,4 +31,4 @@ repos:
3131
- repo: https://github.com/nbQA-dev/nbQA
3232
rev: 1.7.1
3333
hooks:
34-
- id: nbqa-black
34+
- id: nbqa-black

.scripts/conda_upload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export CONDA_BLD_PATH=~/conda-bld
1111

1212

1313
$CONDA/bin/conda install conda-build
14-
$CONDA/bin/conda install -c anaconda anaconda-client
14+
$CONDA/bin/conda install -c conda-forge anaconda-client
1515

16-
$CONDA/bin/conda build . -c conda-forge -c httomo -c astra-toolbox -c rapidsai --no-test
16+
$CONDA/bin/conda build . -c conda-forge -c httomo -c rapidsai --no-test
1717

1818
# upload packages to conda
1919
find $CONDA_BLD_PATH/$OS -name *.tar.bz2 | while read file

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Install HTTomolibGPU as a pre-built conda Python package
2020
2121
$ conda create --name httomolibgpu # create a fresh conda environment
2222
$ conda activate httomolibgpu # activate the environment
23-
$ conda install -c httomo httomolibgpu -c astra-toolbox -c rapidsai -c conda-forge # for linux users
24-
$ conda install -c httomo httomolibgpu -c astra-toolbox -c jplumail -c conda-forge # for windows users
23+
$ conda install -c httomo httomolibgpu -c rapidsai -c conda-forge # for linux users
24+
$ conda install -c httomo httomolibgpu -c jplumail -c conda-forge # for windows users
2525
2626
2727
Setup the development environment:
@@ -39,5 +39,5 @@ Build HTTomolibGPU as a conda Python package
3939

4040
.. code-block:: console
4141
42-
$ conda build conda/recipe/ -c conda-forge -c httomo -c astra-toolbox -c rapidsai
42+
$ conda build conda/recipe/ -c conda-forge -c httomo -c rapidsai
4343

conda/environment.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: httomolibgpu
22
channels:
33
- conda-forge
4-
- anaconda
5-
- astra-toolbox
64
- httomo
75
- rapidsai
86
dependencies:
97
- conda-forge::cupy=12.3.0
10-
- conda-forge::numpy<=1.24
8+
- conda-forge::numpy<=1.25
119
- conda-forge::nvtx
1210
- conda-forge::scipy
1311
- conda-forge::python
@@ -19,9 +17,9 @@ dependencies:
1917
- conda-forge::pydocstyle
2018
- conda-forge::imageio
2119
- conda-forge::toml
22-
- anaconda::ipython
23-
- anaconda::h5py
24-
- astra-toolbox::astra-toolbox
20+
- conda-forge::ipython
21+
- conda-forge::h5py
22+
- conda-forge::astra-toolbox
2523
- httomo::tomobar
2624
- rapidsai::cucim
27-
- anaconda::scikit-image
25+
- conda-forge::scikit-image

conda/recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ requirements:
2323
run:
2424
- python
2525
- numpy>= 1.20, <= 1.25
26-
- cupy<=12.3.0
26+
- cupy=12.3.0
2727
- cucim
2828
- astra-toolbox
2929
- nvtx

0 commit comments

Comments
 (0)