Skip to content

Commit

Permalink
fix msgpack dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Jul 11, 2024
1 parent e4c2bdb commit 4130a41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions extra_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ rdkit>=2020.09.5
mdtraj
pdb2pqr>=3.5.2+18
propka
openbabel>=3.1.1
msgpack-python
openbabel>=3.1.1
5 changes: 5 additions & 0 deletions package/moleculekit/insert_placeholder_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
pyproject = toml.load("pyproject.toml")
deps = pyproject["project"]["dependencies"]

# Fix msgpack pypi package which exists as msgpack-python in conda
for i in range(len(deps)):
if deps[i].startswith("msgpack"):
deps[i] = "msgpack-python"

# Fix conda meta.yaml
with open("package/moleculekit/meta.yaml", "r") as f:
text = f.read()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
]
dependencies = ["numpy>=1.18.5", "pandas>=1.1.2", "networkx", "tqdm"]
dependencies = ["numpy>=1.18.5", "pandas>=1.1.2", "networkx", "tqdm", "msgpack"]

[project.urls]
"Homepage" = "https://github.com/Acellera/moleculekit"
Expand Down

0 comments on commit 4130a41

Please sign in to comment.