version bump (#490)

* version bump

* Fix the dev version string

---------

Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com>
This commit is contained in:
Awni Hannun
2024-01-18 12:00:24 -08:00
committed by GitHub
parent 3d99a8d31d
commit f6e911ced0
3 changed files with 7 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ from setuptools.command.build_ext import build_ext
def get_version(version):
if "PYPI_RELEASE" not in os.environ:
today = datetime.date.today()
version = f"{version}.dev{today.year}{today.month}{today.day}"
version = f"{version}.dev{today.year}{today.month:02d}{today.day:02d}"
if "DEV_RELEASE" not in os.environ:
git_hash = (
@@ -152,7 +152,7 @@ if __name__ == "__main__":
setup(
name="mlx",
version=get_version("0.0.9"),
version=get_version("0.0.10"),
author="MLX Contributors",
author_email="mlx@group.apple.com",
description="A framework for machine learning on Apple silicon.",