Skip to content

Commit

Permalink
Fixing build workflow (#1212)
Browse files Browse the repository at this point in the history
* improve pip and local installation. Remove statement about outdated fast-pt
  • Loading branch information
damonge authored Nov 15, 2024
1 parent 4b9cb93 commit 44f7390
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ dependencies:
- swig
- pyyaml
- numpy<2
# The below is only because the current version of fast-pt uses deprecated scipy functions.
# DarkEmulator also uses an old scipy.
# The below is only because the current version of DarkEmulator uses deprecated scipy functions.
# We should remove the <1.14 flag as soon as this is fixed.
- scipy<1.14
- camb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
pip install --no-build-isolation classy==2.9.4
- name: Install CCL
run: pip install --no-use-pep517 -v -e .
run: pip install -v -e .

- name: Unit tests
run: |
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "cmake", "swig"]
requires = ["setuptools>=64", "setuptools_scm>=8", "cmake", "swig", "numpy"]
build-backend = "setuptools.build_meta"

[project]
name = "pyccl"
Expand Down

0 comments on commit 44f7390

Please sign in to comment.