Permalink
Browse files

We are phasing out support for Python 2.5

  • Loading branch information...
1 parent 132f8d7 commit 3f17f75b320fb6624d332809ef07314bab97477c @peterjc peterjc committed Jan 7, 2013
Showing with 15 additions and 3 deletions.
  1. +4 −0 DEPRECATED
  2. +6 −0 NEWS
  3. +5 −3 setup.py
View
@@ -12,6 +12,10 @@ Python 2.4
No longer supported as of Release 1.59, having triggered a warning since
Release 1.55, with advance notice in the release notes for Release 1.54.
+Python 2.5
+==========
+Still supported, but has triggered a warning since Release 1.61.
+
Bio.SeqIO.Interfaces
====================
Unused class InterlacedSequenceIterator was deprecated in Release 1.61.
View
@@ -58,6 +58,12 @@ are familiar with BioPerl its purpose isn't immediately clear.
Additionally there have been other minor bug fixes and more unit tests.
+Finally, we are phasing out support for Python 2.5. We will continue support
+for at least one further release (Biopython 1.62). This could be extended
+given feedback from our users (or if the Jython 2.7 release is delayed, since
+the current stable release Jython 2.5 implemented Python 2.5 only). Focusing
+on Python 2.6 and 2.7 only will make writing Python 3 compatible code easier.
+
Many thanks to the Biopython developers and community for making this release
possible, especially the following contributors:
View
@@ -63,11 +63,13 @@ def get_yes_or_no(question, default):
print ("Please answer y or n.")
return response[0] == 'y'
-# Make sure I have the right Python version.
+# Make sure we have the right Python version.
if sys.version_info[:2] < (2, 5):
- print ("Biopython requires Python 2.5 or better (but not Python 3 "
- + "yet). Python %d.%d detected" % sys.version_info[:2])
+ print("Biopython requires Python 2.5 or better (but not Python 3 "
+ "yet). Python %d.%d detected" % sys.version_info[:2])
sys.exit(-1)
+elif sys.version_info[:2] == (2, 5):
+ print("WARNING - Biopython is phasing out support for Python 2.5")
elif sys.version_info[0] == 3:
print("WARNING - Biopython does not yet officially support Python 3")
import do2to3

0 comments on commit 3f17f75

Please sign in to comment.