提交 e499751f authored 作者: abergeron's avatar abergeron 提交者: GitHub

Merge pull request #5955 from nouiz/version_error

Make version as dev version and better error.
...@@ -52,9 +52,9 @@ AUTHOR = "LISA laboratory, University of Montreal" ...@@ -52,9 +52,9 @@ AUTHOR = "LISA laboratory, University of Montreal"
AUTHOR_EMAIL = "theano-dev@googlegroups.com" AUTHOR_EMAIL = "theano-dev@googlegroups.com"
PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"] PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"]
MAJOR = 0 MAJOR = 0
MINOR = 9 MINOR = 10
MICRO = 0 MICRO = 0
SUFFIX = "" # Should be blank except for rc's, betas, etc. SUFFIX = "dev1" # Should be blank except for rc's, betas, etc.
ISRELEASED = False ISRELEASED = False
VERSION = '%d.%d.%d%s' % (MAJOR, MINOR, MICRO, SUFFIX) VERSION = '%d.%d.%d%s' % (MAJOR, MINOR, MICRO, SUFFIX)
......
from nose.plugins.skip import SkipTest
raise SkipTest(
"You are importing theano.sandbox.cuda. This is the old GPU back-end and "
"is removed from Theano. Use Theano 0.9 to use it. Even better, "
"transition to the new GPU back-end! See "
"https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29")
...@@ -73,6 +73,7 @@ whitelist_flake8 = [ ...@@ -73,6 +73,7 @@ whitelist_flake8 = [
"scalar/__init__.py", "scalar/__init__.py",
"scalar/tests/__init__.py", "scalar/tests/__init__.py",
"sandbox/__init__.py", "sandbox/__init__.py",
"sandbox/cuda/__init__.py",
"sandbox/tests/__init__.py", "sandbox/tests/__init__.py",
"sandbox/gpuarray/__init__.py", "sandbox/gpuarray/__init__.py",
"sandbox/linalg/__init__.py", "sandbox/linalg/__init__.py",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论