Skip to content

Commit 8294bb0

Browse files
committed
Slicer version should be same version as Cubes
Original intention was to have separate server, therefore it had its own versioning. Now there is no reason for separate version, moreover it can introduce confusion.
1 parent 3b1fb7d commit 8294bb0

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

cubes/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""OLAP Cubes"""
22

3+
__version__ = "0.8.1"
4+
35
from browser import *
46
from model import *
57

@@ -12,7 +14,8 @@
1214
common._configure_logger()
1315

1416
__all__ = [
15-
"logger_name"
17+
"logger_name",
18+
"__version__"
1619
]
1720

1821
__all__ += browser.__all__

cubes/server/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
from slicer import Slicer, run_server
2-
from common import VERSION, API_VERSION
2+
from common import API_VERSION
33

44
__all__ = (
55
"Slicer",
66
"run_server",
7-
"VERSION",
87
"API_VERSION"
98
)

cubes/server/controllers/application_controller.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ def index(self):
9292

9393
def server_info(self):
9494
info = {
95-
"server_version": common.VERSION,
95+
"version": cubes.__version__,
96+
# Backward compatibility key
97+
"server_version": cubes.__version__,
9698
"api_version": common.API_VERSION
9799
}
98100
return info

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name = "cubes",
10-
version = '0.8.0',
10+
version = '0.8.1',
1111

1212
# Project uses reStructuredText, so ensure that the docutils get
1313
# installed or upgraded on the target machine

0 commit comments

Comments
 (0)