Skip to content

Commit

Permalink
Merge pull request #1152 from nextstrain/pin-biopython
Browse files Browse the repository at this point in the history
fix: Pin Biopython to <=1.80
  • Loading branch information
huddlej authored Feb 17, 2023
2 parents 53fed2d + a89cccb commit eef2a05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## __NEXT__

### Bug fixes

* Constrain Biopython version to <=1.80 so that `augur translate` is not broken by a deprecation of `UnknownSeq` in 1.81. When running `augur translate` with Biopython 1.81, the user will receive an error starting with `ERROR: Package BCBio.GFF not found!` and ending with `TypeError: object of type 'NoneType' has no len()`. [#1152][] (@corneliusroemer)

[#1152]: https://github.com/nextstrain/augur/pull/1152

## 21.0.0 (7 February 2023)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
python_requires = '>={}'.format('.'.join(str(n) for n in py_min_version)),
install_requires = [
"bcbio-gff >=0.6.0, ==0.6.*",
"biopython >=1.67, !=1.77, !=1.78",
"biopython >=1.67, !=1.77, !=1.78, <=1.80",
"cvxopt >=1.1.9, ==1.*",
"isodate ==0.6.*",
"jsonschema >=3.0.0, ==3.*",
Expand Down

0 comments on commit eef2a05

Please sign in to comment.