Skip to content

Commit 38a7288

Browse files
authored
Use static versions everywhere (#840)
1 parent fe66a80 commit 38a7288

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
# |version| and |release|, also used in various other places throughout the
109109
# built documents.
110110
#
111-
__version__ = "1.14.0.dev0"
111+
__version__ = "2.1.0.dev0"
112112
# The short X.Y version.
113113
version_parsed = parse_version(__version__)
114114
version = f"{version_parsed.major}.{version_parsed.minor}"

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "jupyter_server"
7+
version = "2.1.0.dev0"
78
description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications."
89
authors = [{name = "Jupyter Development Team", email = "[email protected]"}]
910
keywords = ["ipython", "jupyter"]
@@ -42,7 +43,6 @@ dependencies = [
4243
"traitlets>=5.1",
4344
"websocket-client",
4445
]
45-
dynamic = ["version"]
4646

4747
[project.readme]
4848
file = "README.md"
@@ -122,6 +122,15 @@ tag_template = "v{new_version}"
122122
src = "jupyter_server/_version.py"
123123
version_template = '({major}, {minor}, {patch}, "{channel}", "{release}")'
124124

125+
[[tool.tbump.file]]
126+
src = "pyproject.toml"
127+
version_template = "{major}.{minor}.{patch}{channel}{release}"
128+
129+
[[tool.tbump.file]]
130+
src = "docs/source/conf.py"
131+
version_template = "{major}.{minor}.{patch}{channel}{release}"
132+
133+
125134
[[tool.tbump.field]]
126135
name = "channel"
127136
default = ""

0 commit comments

Comments
 (0)