[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Oct 16 08:49:09 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/d412f59ea351/
Changeset:   d412f59ea351
Branch:      yt
User:        drudd
Date:        2014-10-16 15:04:05+00:00
Summary:     Add version test in setup.py for Python < 2.7. Fixes issue #877
Affected #:  1 file

diff -r 9d022af9c4de627a45b1250f8c5427b9d8562989 -r d412f59ea351ac348d98970a350a206ab677822b setup.py
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,12 @@
 import subprocess
 import shutil
 import glob
+
+if sys.version_info < (2, 7):
+    print("yt currently requires Python version 2.7")
+    print("certain features may fail unexpectedly and silently with older versions.")
+    sys.exit(1)
+
 import setuptools
 from distutils.version import StrictVersion
 if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'):


https://bitbucket.org/yt_analysis/yt/commits/39285f3a563b/
Changeset:   39285f3a563b
Branch:      yt
User:        ChrisMalone
Date:        2014-10-16 15:49:01+00:00
Summary:     Merged in drudd/yt (pull request #1259)

detect python version in setup.py and restrict to 2.7
Affected #:  1 file

diff -r e425e97fcf9f2f499febf16e6f16df3544cabee9 -r 39285f3a563b2d3575f6e3f4c756f4e541bd5871 setup.py
--- a/setup.py
+++ b/setup.py
@@ -6,6 +6,12 @@
 import subprocess
 import shutil
 import glob
+
+if sys.version_info < (2, 7):
+    print("yt currently requires Python version 2.7")
+    print("certain features may fail unexpectedly and silently with older versions.")
+    sys.exit(1)
+
 import setuptools
 from distutils.version import StrictVersion
 if StrictVersion(setuptools.__version__) < StrictVersion('0.7.0'):

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list