Skip to content

Commit dc7b2e6

Browse files
authored
Merge pull request #15 from databricks/local-identifier
Brought back version plus local version identifier
2 parents d9058da + 93ccadf commit dc7b2e6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

default_python/setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
setup(
1717
name="default_python",
18-
version=datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S"),
18+
# We use timestamp as Local version identifier (https://peps.python.org/pep-0440/#local-version-identifiers.)
19+
# to ensure that changes to wheel package are picked up when used on all-purpose clusters
20+
version=default_python.__version__ + "+" + datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S"),
1921
url="https://databricks.com",
2022
2123
description="wheel file based on default_python/src",
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1+
__version__ = "0.0.1"

0 commit comments

Comments
 (0)