diff --git a/__init__.py b/__init__.py index cc6352250..ee1049a45 100644 --- a/__init__.py +++ b/__init__.py @@ -3,7 +3,7 @@ "name": "Frontier's Cobra Engine Formats", "author": "Harlequinz Ego, HENDRIX et al.", "blender": (4, 0, 0), - "version": (2024, 12, 8), + "version": (2024, 12, 9), "location": "File > Import-Export", "description": "Import-Export models, skeletons and animations", "warning": "", diff --git a/__version__.py b/__version__.py index af8821c70..765603c43 100644 --- a/__version__.py +++ b/__version__.py @@ -1,4 +1,4 @@ # this file is auto-generated by the pre-commit hook increment_version.py -VERSION = "2024.12.08" -COMMIT_HASH = "5fbd4571f" -COMMIT_TIME = "Sun Dec 8 20:05:06 2024 +0100" +VERSION = "2024.12.09" +COMMIT_HASH = "1b5753f1e" +COMMIT_TIME = "Mon Dec 9 14:51:49 2024 +0100" diff --git a/constants/converter.py b/constants/converter.py index f750eeb17..c1de91708 100644 --- a/constants/converter.py +++ b/constants/converter.py @@ -30,7 +30,8 @@ def write_mimes_dict(out_fp, mimes): with open(out_fp, "w") as f: f.write(f"from constants import Mime\n\n") f.write("mimes = {\n") - f.write(",\n".join(f"\t\"{k}\": {v}" for k, v in sorted(mimes.items()))) + # for np 2.0, cast scalars to str manually + f.write(",\n".join(f"\t\"{k}\": {str(v)}" for k, v in sorted(mimes.items()))) f.write("\n}\n") diff --git a/pyproject.toml b/pyproject.toml index 9b21db151..122fa9878 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "cobra-tools" -version = "2024.12.08" +version = "2024.12.09" readme = "README.md" license = { file = "LICENSE" } requires-python = "==3.11.*"