Skip to content

Commit

Permalink
Update dependencies and fix test process handling 🛠
Browse files Browse the repository at this point in the history
- Bumped version in python-core/pyproject.toml to "1.0.11"
- Upgraded h3daemon dependency in both TOML files
- Updated deciphon-core dependency in worker TOML file
- Improved test process handling in test_hmmer.py

These updates ensure compatibility with the latest features and fix
potential issues in tests by properly managing asynchronous operations.
  • Loading branch information
horta committed Dec 6, 2024
1 parent 57a6223 commit 5ef8cde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "deciphon-core"
version = "1.0.9"
version = "1.0.11"
description = "Python wrapper around the Deciphon C library"
authors = ["Danilo Horta <[email protected]>"]
license = "MIT"
Expand All @@ -24,7 +24,7 @@ generate-setup-file = false

[tool.poetry.group.dev.dependencies]
pytest = "^8.2"
h3daemon = "^0.16.9"
h3daemon = "^0.16.14"
gitpython = "^3.1.43"

[tool.pytest.ini_options]
Expand Down
4 changes: 2 additions & 2 deletions worker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
h3daemon = "^0.16.11"
deciphon-core = "^1.0.8"
h3daemon = "^0.16.14"
deciphon-core = "^1.0.10"
loguru = "^0.7.2"
tenacity = "^9.0.0"
deciphon-snap = "^1.0.3"
Expand Down
3 changes: 2 additions & 1 deletion worker/tests/test_hmmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_hmmer(tmp_path, files_path: Path):
os.chdir(tmp_path)
shutil.copy(files_path / "minifam.hmm", Path("minifam.hmm"))
hmmfile = HMMFile(path=Path("minifam.hmm"))
hmmer = launch_hmmer(hmmfile).result()
future = launch_hmmer(hmmfile)
hmmer = future.result()
with hmmer:
hmmer.port

0 comments on commit 5ef8cde

Please sign in to comment.