Skip to content

Commit f6e911c

Browse files
awniangeloskath
andauthored
version bump (#490)
* version bump * Fix the dev version string --------- Co-authored-by: Angelos Katharopoulos <[email protected]>
1 parent 3d99a8d commit f6e911c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ option(MLX_BUILD_METAL "Build metal backend" ON)
1818
option(BUILD_SHARED_LIBS "Build mlx as a shared library" OFF)
1919

2020
if(NOT MLX_VERSION)
21-
set(MLX_VERSION 0.0.9)
21+
set(MLX_VERSION 0.0.10)
2222
endif()
2323

2424
# --------------------- Processor tests -------------------------

docs/src/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
import os
66
import subprocess
77

8+
import mlx.core as mx
9+
810
# -- Project information -----------------------------------------------------
911

1012
project = "MLX"
1113
copyright = "2023, MLX Contributors"
1214
author = "MLX Contributors"
13-
version = "0.0.9"
14-
release = "0.0.9"
15+
version = ".".join(mx.__version__.split()[:-1])
16+
release = version
1517

1618
# -- General configuration ---------------------------------------------------
1719

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
def get_version(version):
1616
if "PYPI_RELEASE" not in os.environ:
1717
today = datetime.date.today()
18-
version = f"{version}.dev{today.year}{today.month}{today.day}"
18+
version = f"{version}.dev{today.year}{today.month:02d}{today.day:02d}"
1919

2020
if "DEV_RELEASE" not in os.environ:
2121
git_hash = (
@@ -152,7 +152,7 @@ def run(self) -> None:
152152

153153
setup(
154154
name="mlx",
155-
version=get_version("0.0.9"),
155+
version=get_version("0.0.10"),
156156
author="MLX Contributors",
157157
author_email="[email protected]",
158158
description="A framework for machine learning on Apple silicon.",

0 commit comments

Comments
 (0)