Skip to content

Commit af8f935

Browse files
DEKHTIARJonathanluomai
authored andcommitted
[release] 1.8.5rc0 - Deprecation Warnings added + Github Templates + Test Suite Refactored (#497)
1 parent e215879 commit af8f935

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import os, sys
2121
sys.path.insert(0, os.path.abspath("../")) # Important
2222

23+
from tensorlayer import __shortversion__
24+
from tensorlayer import __version__
2325

2426
# -- General configuration ------------------------------------------------
2527

@@ -67,9 +69,9 @@
6769
# built documents.
6870
#
6971
# The short X.Y version.
70-
version = '1.8.4'
72+
version = __shortversion__
7173
# The full version, including alpha/beta/rc tags.
72-
release = '1.8.4'
74+
release = __version__
7375

7476
# The language for content autogenerated by Sphinx. Refer to documentation
7577
# for a list of supported languages.

tensorlayer/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
vis = visualize
2828

2929
# Use the following formating: (major, minor, patch, prerelease)
30-
VERSION = (1, 8, 4, '')
30+
VERSION = (1, 8, 5, 'rc0')
31+
__shortversion__ = '.'.join(map(str, VERSION[:3]))
3132
__version__ = '.'.join(map(str, VERSION[:3])) + "".join(VERSION[3:])
3233

3334
__package_name__ = 'tensorlayer'

0 commit comments

Comments
 (0)