diff --git a/README.md b/README.md index 73666c78..c08a481f 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,15 @@ The library and CLI are separate distributions: Install just the library and SDK: ```bash -pip install morphir==0.0.1 -# or: uv add morphir==0.0.1 +pip install morphir==0.0.2 +# or: uv add morphir==0.0.2 ``` Install the CLI, which also installs the library: ```bash -pip install morphir-python==0.0.2 -# or: uv add morphir-python==0.0.2 +pip install morphir-python==0.0.3 +# or: uv add morphir-python==0.0.3 ``` Python 3.14 or later is required. The CLI inspects and converts IR, compiles a @@ -51,10 +51,10 @@ existing virtual environment: ```bash python -m pip uninstall -y morphir-python morphir -python -m pip install morphir-python==0.0.2 +python -m pip install morphir-python==0.0.3 ``` -Library-only consumers can install `morphir==0.0.1` instead. Imports remain +Library-only consumers can install `morphir==0.0.2` instead. Imports remain `morphir` and `morphir_tools`; the command remains `morphir-python`. The release checks exercise the uninstall/reinstall migration from the published old bundle. diff --git a/packages/morphir-tools/README.md b/packages/morphir-tools/README.md index 041b8425..2abe34e8 100644 --- a/packages/morphir-tools/README.md +++ b/packages/morphir-tools/README.md @@ -59,7 +59,7 @@ format-version rules and the draft v4 status. ## Requirements - Python 3.14+ -- `morphir>=0.0.1` (installed as a dependency) +- `morphir>=0.0.2` and `morphir-python-native==0.1.0` (installed as dependencies) ## License diff --git a/packages/morphir-tools/pyproject.toml b/packages/morphir-tools/pyproject.toml index fabc12bd..0a894cd8 100644 --- a/packages/morphir-tools/pyproject.toml +++ b/packages/morphir-tools/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "morphir-python" -version = "0.0.2" +version = "0.0.3" description = "CLI tools and extensions for Morphir Python" readme = "README.md" license = "Apache-2.0" @@ -22,7 +22,7 @@ authors = [ { name = "FINOS", email = "morphir@finos.org" } ] dependencies = [ - "morphir>=0.0.1", + "morphir>=0.0.2", # Exact qualified native compiler; checked again when the compiler first loads. "morphir-python-native==0.1.0", "typer>=0.15", diff --git a/packages/morphir-tools/src/morphir_tools/__init__.py b/packages/morphir-tools/src/morphir_tools/__init__.py index 67c5d38b..993831fc 100644 --- a/packages/morphir-tools/src/morphir_tools/__init__.py +++ b/packages/morphir-tools/src/morphir_tools/__init__.py @@ -6,8 +6,8 @@ Example: >>> import morphir_tools >>> morphir_tools.__version__ - '0.0.2' + '0.0.3' """ -__version__ = "0.0.2" +__version__ = "0.0.3" __all__ = ["__version__"] diff --git a/packages/morphir/pyproject.toml b/packages/morphir/pyproject.toml index 81dfeb96..11b120be 100644 --- a/packages/morphir/pyproject.toml +++ b/packages/morphir/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "morphir" -version = "0.0.1" +version = "0.0.2" description = "Python port of Morphir - functional domain modeling for the enterprise" readme = "README.md" license = "Apache-2.0" diff --git a/packages/morphir/src/morphir/__init__.py b/packages/morphir/src/morphir/__init__.py index 13cc505d..9f166001 100644 --- a/packages/morphir/src/morphir/__init__.py +++ b/packages/morphir/src/morphir/__init__.py @@ -7,8 +7,8 @@ Example: >>> import morphir >>> morphir.__version__ - '0.0.1' + '0.0.2' """ -__version__ = "0.0.1" +__version__ = "0.0.2" __all__ = ["__version__"] diff --git a/tests/conftest.py b/tests/conftest.py index fcb5de7e..0ac7ca8b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,4 +6,4 @@ @pytest.fixture def sample_version() -> str: """Provide the expected version string for tests.""" - return "0.0.1" + return "0.0.2" diff --git a/tests/tools/test_tools.py b/tests/tools/test_tools.py index bf035840..19dcf3bd 100644 --- a/tests/tools/test_tools.py +++ b/tests/tools/test_tools.py @@ -14,7 +14,7 @@ def test_version_is_defined(self) -> None: def test_version_matches_expected(self) -> None: """The version should match the expected value.""" - assert morphir_tools.__version__ == "0.0.2" + assert morphir_tools.__version__ == "0.0.3" def test_installed_distribution_name(self) -> None: """The tools import belongs to the morphir-python distribution.""" @@ -32,7 +32,7 @@ def test_installed_console_command(self) -> None: def test_cli_requires_separate_core(self) -> None: """The CLI must install the independent library and SDK distribution.""" requirements = distribution("morphir-python").requires or [] - assert "morphir>=0.0.1" in requirements + assert "morphir>=0.0.2" in requirements def test_version_is_string(self) -> None: """The version should be a string.""" diff --git a/uv.lock b/uv.lock index d5981cfa..ac82decb 100644 --- a/uv.lock +++ b/uv.lock @@ -196,12 +196,12 @@ wheels = [ [[package]] name = "morphir" -version = "0.0.1" +version = "0.0.2" source = { editable = "packages/morphir" } [[package]] name = "morphir-python" -version = "0.0.2" +version = "0.0.3" source = { editable = "packages/morphir-tools" } dependencies = [ { name = "morphir" },