-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi @nextgenusfs !
Hope you're having a good time using PyHMMER 😄 I just released PyHMMER 0.12.0 and among other things it does break some of the code by changing some attributes, properties and function returns to str instead of bytes (bye bye decode/encode). Since you didn't pin the maximum version of PyHMMER your code will break with fresh installs. You could either:
- Pin the maximum supported version in pyproject.toml, e.g.:
dependencies = [ # ... "pyhmmer>=0.10.15,<0.12.0", ]
- Update the code to remove explicit
decodeandencodesuch aswhich would become:funannotate2/funannotate2/search.py
Line 74 in 20b0286
"id": hit.name.decode(), since now"id": hit.name,
hit.nameis astrand not abytesanymore, and then update the mimum supported version:dependencies = [ # ... "pyhmmer>=0.12.0", ]
Cheers!
nextgenusfs
Metadata
Metadata
Assignees
Labels
No labels