Skip to content

Commit be04881

Browse files
authored
Merge pull request #144 from openkim/devel
Fix installing ptemcee
2 parents ae06ce0 + 68cfa16 commit be04881

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

.github/workflows/testing.yml

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
run: |
5454
python -m pip install --upgrade pip
5555
python -m pip install .[test]
56+
# TODO, here, we install ptemcee from Yonatan's fork. See setup.py for details.
57+
python -m pip install git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0
5658
5759
- name: Run tests
5860
shell: bash -el {0}

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## v0.4.2 (2023/12/17)
4+
5+
- Fix installing ptemcee
6+
37
## v0.4.2 (2023/12/16)
48

59
### Enhancements 🛠

devtool/update_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def update_version(version, path, key, in_quotes=False, extra_space=False):
3131
if __name__ == "__main__":
3232
major = 0
3333
minor = 4
34-
patch = 2
34+
patch = 3
3535

3636
mmp = f"{major}.{minor}.{patch}"
3737
mm = f"{major}.{minor}"

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# The short X.Y version
4141
version = "0.4"
4242
# The full version, including alpha/beta/rc tags
43-
release = "0.4.2"
43+
release = "0.4.3"
4444

4545

4646
# -- General configuration ---------------------------------------------------

kliff/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.4.2"
1+
__version__ = "0.4.3"
22

33
import warnings
44

setup.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,13 @@ def get_readme():
106106
"pytest",
107107
"kimpy",
108108
"emcee",
109-
"ptemcee @ git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0",
109+
"ptemcee",
110+
# TODO: ptemcee is too old to be compatible with latest numpy, so Yonatan
111+
# forked it and fixed it (in the below link). However, the forked version
112+
# is not on PyPI, can PyPI does not accept use non PyPI package as
113+
# dependency.
114+
# Solution: create a new PyPI package for ptemcee.
115+
# "ptemcee @ git+https://github.com/yonatank93/ptemcee.git@enhance_v1.0.0",
110116
"torch",
111117
"numpy",
112118
],

0 commit comments

Comments
 (0)