Skip to content

Commit

Permalink
Merge pull request #15 from databricks/local-identifier
Browse files Browse the repository at this point in the history
Brought back version plus local version identifier
  • Loading branch information
andrewnester authored Dec 1, 2023
2 parents d9058da + 93ccadf commit dc7b2e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion default_python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@

setup(
name="default_python",
version=datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S"),
# We use timestamp as Local version identifier (https://peps.python.org/pep-0440/#local-version-identifiers.)
# to ensure that changes to wheel package are picked up when used on all-purpose clusters
version=default_python.__version__ + "+" + datetime.datetime.utcnow().strftime("%Y%m%d.%H%M%S"),
url="https://databricks.com",
author="[email protected]",
description="wheel file based on default_python/src",
Expand Down
2 changes: 1 addition & 1 deletion default_python/src/default_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@

__version__ = "0.0.1"

0 comments on commit dc7b2e6

Please sign in to comment.