Skip to content

Commit

Permalink
more classy
Browse files Browse the repository at this point in the history
  • Loading branch information
damonge committed Nov 8, 2024
1 parent 81a5925 commit 113574a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- fftw
- swig
- pyyaml
- numpy
- numpy<2
# The below is only because the currnt version of fast-pt uses deprecated scipy functions.
# We should remove the <1.14 flag as soon as this is fixed.
- scipy<1.14
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,21 @@ jobs:
- name: Install classy
run: |
#pip install 'setuptools' 'wheel' 'numpy>=1.19.0' 'Cython>=0.29.21,<3' # for classy
#pip install --no-build-isolation classy==2.9.4
echo "Deps"
pip install 'setuptools' 'wheel' 'numpy>=1.19.0' 'Cython' # for classy
echo "Purge"
pip cache purge
echo "dwl"
pip download --no-deps --no-build-isolation classy==2.9.4
echo "untar"
tar -zxvf classy-2.9.4.0.tar.gz
cd classy-2.9.4.0/
echo "sed"
sed -i 's/np\.int_t/np.int64_t/g' python/classy.pyx
echo "install"
pip install .
pip install 'setuptools' 'wheel' 'numpy>=1.19.0' 'Cython>=0.29.21,<3' # for classy
pip install --no-build-isolation classy==2.9.4
#echo "Deps"
#pip install 'setuptools' 'wheel' 'numpy>=1.19.0' 'Cython' # for classy
#echo "Purge"
#pip cache purge
#echo "dwl"
#pip download --no-deps --no-build-isolation classy==2.9.4
#echo "untar"
#tar -zxvf classy-2.9.4.0.tar.gz
#cd classy-2.9.4.0/
#echo "sed"
#sed -i 's/np\.int_t/np.int64_t/g' python/classy.pyx
#echo "install"
#pip install .
- name: Install CCL
run: pip install --no-use-pep517 -v -e .
Expand Down

0 comments on commit 113574a

Please sign in to comment.