Repository: DHI/mikepluspy (language: python)

Issue:
No records insert to m_ScenarioManagementUpdatedFields when it is needed.
if the alternative scenario (the new created with new altid) record's attribute value is changed in the MIKE+ GUI, a new record of the format "Pipe_muid; Pipe_altid; Pipe_attribute" gets inserted into the "m_ScenarioManagementUpdatedFields" table in the sqlite database representing the current model.
I didn't see this happen if I modified the new pipe record's attribute value using the data_access.set_values() method via mikepluspy module.
 
Scenario update bug
There two bugs have been fixed.
1) change the assembly version to work with MIKE+ 2025
2) Fix the scenario data update issue.


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1730fb6..e39f268 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,11 @@
 
 ## [Unreleased]
 
+## [2025.0.0] - 2025-11-28
+
+### Added
+- Support for MIKE+ 2025.
+
 ## [2024.1.1] - 2024-11-28
 
 ### Added
diff --git a/README.md b/README.md
index 1531b92..746c3aa 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ The version of MIKE+Py you install must match the version of MIKE+ installed on
 
 | MIKE+ Version | Install command|
 |:--------------|:---------------|
+| MIKE+ 2025 | `pip install mikeplus==2025` |
 | MIKE+ 2024 Update 1 | `pip install mikeplus==2024.1` |
 | MIKE+ 2024 | `pip install mikeplus==2024.0` |
 
diff --git a/mikeplus/__init__.py b/mikeplus/__init__.py
index 16656e4..ddfb604 100644
--- a/mikeplus/__init__.py
+++ b/mikeplus/__init__.py
@@ -1,13 +1,13 @@
 import clr
 
-__version__ = "2024.1.1"
+__version__ = "2025.0.0"
 
 clr.AddReference(
     "DHI.Mike.Install, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c513450b5d0bf0bf"
 )
 from DHI.Mike.Install import MikeImport, MikeProducts  # noqa: E402
 
-MikeImport.Setup(22, MikeProducts.MikePlus)
+MikeImport.Setup(23, MikeProducts.MikePlus)
 
 clr.AddReference("System")
 clr.AddReference("System.Runtime")
diff --git a/mikeplus/engines/engine1d.py b/mikeplus/engines/engine1d.py
index 4bcb154..7e8d6a1 100644
--- a/mikeplus/engines/engine1d.py
+++ b/mikeplus/engines/engine1d.py
@@ -7,7 +7,7 @@ class Engine1D:
     """The Engine1D class can run MIKE1D simulation, print log file, and get the result file path."""
 
     def __init__(self, dataTables):
-        MikeImport.Setup(22, MikeProducts.MikePlus)
+        MikeImport.Setup(23, MikeProducts.MikePlus)
         self._dataTables = dataTables
         self._result_file = None
 
diff --git a/pyproject.toml b/pyproject.toml
index 8ae1512..f68c2c5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ exclude = ["notebooks", "tests"]
 
 [project]
 name = "mikeplus"
-version = "2024.1.1"
+version = "2025.0.0"
 dependencies = [
     "numpy",
     'pythonnet>=3.0',
@@ -15,6 +15,7 @@ dependencies = [
 ]
 
 authors = [
+  { name="Ryan Walter Murray", email="rywm@dhigroup.com" },
   { name="Wen Wu", email="WUW@dhigroup.com" },
 ]
 description = "A python script package to manipulate MIKE+ database, run simulation by using MIKE+ data, run tools based on MIKE+ data"


Test patch:
diff --git a/.github/workflows/full_test_2024_1.yml b/.github/workflows/full_test.yml
similarity index 88%
rename from .github/workflows/full_test_2024_1.yml
rename to .github/workflows/full_test.yml
index 5fb5437..b849da0 100644
--- a/.github/workflows/full_test_2024_1.yml
+++ b/.github/workflows/full_test.yml
@@ -1,4 +1,4 @@
-name: Full test MIKE+ 2024 Update 1
+name: Full test MIKE+ 2025
 
 on:
   workflow_dispatch:
@@ -27,11 +27,11 @@ jobs:
 
       - name: Unzip MIKE+ dependency
         run: |
-          7z x "2024_1.7z" -p${{ secrets.MIKE_2024_0_7Z }}
+          7z x "2025_0.7z" -p${{ secrets.MIKE_2024_0_7Z }} # Use secrets.MIKE_2024_0_7Z regardless of version
 
       - name: Install MIKE+ dependency
         run: |
-            ./install.ps1 2024
+            ./install.ps1 2025
 
       - name: Checkout code
         uses: actions/checkout@v3