Skip to content

Commit

Permalink
Deprecate Python 3.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Feb 27, 2019
1 parent b13faf4 commit 6543091
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions DEPRECATED.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Python 3.3
No longer supported as of Release 1.70, having triggered a warning with
release 1.67 onwards.

Python 3.4
==========
Deprecated as of release 1.74.

Jython
======
Biopython is mostly working under Jython 2.7.0, but support for Jython
Expand Down
3 changes: 2 additions & 1 deletion NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ The latest news is at the top of this file.
(In progress, not yet released): Biopython 1.74
===============================================

This release of Biopython supports Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This release of Biopython supports Python 2.7, 3.4, 3.5, 3.6 and 3.7. However,
it will be the last release to support Python 3.4 which is now at end-of-life.
It has also been tested on PyPy2.7 v6.0.0 and PyPy3.5 v6.0.0.

As in recent releases, more of our code is now explicitly available under
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def is_ironpython():
sys.stderr.write("Biopython requires Python 3.4 or later (or Python 2.7). "
"Python %d.%d detected.\n" % sys.version_info[:2])
sys.exit(1)
if sys.version_info[:2] == (3, 4):
print("WARNING: Biopython support for Python 3.4 is now deprecated.")

if is_jython():
sys.stderr.write("WARNING: Biopython support for Jython is now deprecated.\n")
Expand Down

0 comments on commit 6543091

Please sign in to comment.