Skip to content

Commit

Permalink
Fix installing ptemcee
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Dec 17, 2023
1 parent ae06ce0 commit 7e08bea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
# TODO, here, we install ptemcee from Yonatan's fork. See setup.py for details.
python -m pip install git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0
- name: Run tests
shell: bash -el {0}
Expand Down
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ def get_readme():
"pytest",
"kimpy",
"emcee",
"ptemcee @ git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0",
"ptemcee",
# TODO: ptemcee is too old to be compatible with latest numpy, so Yonatan
# forked it and fixed it (in the below link). However, the forked version
# is not on PyPI, can PyPI does not accept use non PyPI package as
# dependency.
# Solution: create a new PyPI package for ptemcee.
# "ptemcee @ git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0",
"torch",
"numpy",
],
Expand Down

0 comments on commit 7e08bea

Please sign in to comment.