From 323aa2ef3d5c112d94e5930ed54b11f3b3a0be7a Mon Sep 17 00:00:00 2001
From: Paulo Meira <10246101+PMeira@users.noreply.github.com>
Date: Wed, 13 Mar 2024 11:44:05 -0300
Subject: [PATCH] Prepare for 0.15.4
---
docs/changelog.md | 18 ++++++++++++------
docs/index.md | 2 +-
pyproject.toml | 14 +++++++-------
3 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/docs/changelog.md b/docs/changelog.md
index 525a730..d972096 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -5,11 +5,17 @@ relevant. See [DSS C-API's repository](https://github.com/dss-extensions/dss_cap
## 0.15.x
+### 0.15.4
+
+Released on 2024-03-13.
+
+- Upgrade the backend to [**AltDSS/DSS C-API 0.14.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.3). There are few fixes that affect DSS-Python.
+
### 0.15.3
Released on 2024-02-26.
-- Upgrade the backend to [**DSS C-API 0.14.2**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.2). There are a couple of minor fixes, including for `Lines.Parent`.
+- Upgrade the backend to [**AltDSS/DSS C-API 0.14.2**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.2). There are a couple of minor fixes, including for `Lines.Parent`.
- `patch_dss_com`: Allow the DSS instance to be callable for better compatibility with our DSS engine. Note that this won't have performance benefits nor handles complex scripts.
- Fix Bus callback integration with AltDSS-Python. The relevant code should be moved there later.
@@ -17,7 +23,7 @@ Released on 2024-02-26.
Released on 2024-02-16.
-- Upgrade the backend to [**DSS C-API 0.14.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.1). Mostly for AltDSS-Python as it shouldn't affect the DSS-Python or OpenDSSDirect.py's classic API.
+- Upgrade the backend to [**AltDSS/DSS C-API 0.14.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.1). Mostly for AltDSS-Python as it shouldn't affect the DSS-Python or OpenDSSDirect.py's classic API.
### 0.15.1
@@ -29,7 +35,7 @@ Released on 2024-02-12.
Released on 2024-02-09.
-- Upgrade the backend to [**DSS C-API 0.14.0**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.0). **A lot** of changes there, please check the changelog. Includes many small bugfixes, improvements, and ports of a few changes from the official OpenDSS codebase, matching OpenDSS v9.8.0.1.
+- Upgrade the backend to [**AltDSS/DSS C-API 0.14.0**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.0). **A lot** of changes there, please check the changelog. Includes many small bugfixes, improvements, and ports of a few changes from the official OpenDSS codebase, matching OpenDSS v9.8.0.1.
- Enums:
- Move to DSS-Python-Backend to allow easier sharing among all Python packages from DSS-Extensions.
@@ -57,7 +63,7 @@ Released on 2024-02-09.
Released on 2023-06-27.
-- Upgrade the backend to [**DSS C-API 0.13.4**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.4). Includes a bugfix to CapControl, some more error handling, DSSEvents backend functions. This matches the changes in OpenDSS v9.6.1.3, plus our custom changes as usual.
+- Upgrade the backend to [**AltDSS/DSS C-API 0.13.4**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.4). Includes a bugfix to CapControl, some more error handling, DSSEvents backend functions. This matches the changes in OpenDSS v9.6.1.3, plus our custom changes as usual.
- Use better DSSContext pointer to IDSS mapping.
- Plotting: handle empty monitors better, ignore invalid channels.
- Documentation updated.
@@ -67,7 +73,7 @@ Released on 2023-06-27.
Released on 2023-06-12.
-- Upgrade the backend to [**DSS C-API 0.13.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.3). Includes important fixes to some OpenDSS components affected by bugs for several years. This matches the changes in OpenDSS v9.6.1.2, plus our custom changes as usual.
+- Upgrade the backend to [**AltDSS/DSS C-API 0.13.3**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.3). Includes important fixes to some OpenDSS components affected by bugs for several years. This matches the changes in OpenDSS v9.6.1.2, plus our custom changes as usual.
- Add `DSS.Error.UseExceptions` to allow disabling the automatic mapping of error numbers to Python exceptions. When disabling, users take full responsibility to actually check for errors through the `DSS.Error` interface.
- Add `DSSCompatFlags.SaveCalcVoltageBases`.
- Transformers: add a warning in the docstrings of `WdgCurrents`, `WdgVoltages` (these don't work well when the transformer has open terminals).
@@ -106,7 +112,7 @@ We introduced the new package `dss_python_backend` that will contain all native
Released on 2023-04-02.
-- Engine updated to [**DSS C-API 0.13.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.1). Contains tiny changes to address potential issues with a few PVSystem properties (which passed undetected by our tests).
+- Engine updated to [**AltDSS/DSS C-API 0.13.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.13.1). Contains tiny changes to address potential issues with a few PVSystem properties (which passed undetected by our tests).
- `DSS.AdvancedTypes`: fix `Lines.Yprim` and `PDElements.AllCurrentsMagAng` when `AdvancedTypes` is enabled.
### 0.13.0
diff --git a/docs/index.md b/docs/index.md
index 0135920..a5a0e03 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,6 +1,6 @@
# DSS-Python
-[![PyPI](https://img.shields.io/pypi/v/dss_python)](https://pypi.org/project/dss-python/) [![PyPI Download stats](https://img.shields.io/pypi/dw/dss-python)](https://pypi.org/project/dss-python/)
+[![PyPI](https://img.shields.io/pypi/v/dss_python)](https://pypi.org/project/dss-python/) [![PyPI Download stats](https://static.pepy.tech/badge/dss-python/month)](https://pepy.tech/project/dss-python)
DSS-Python uses CFFI and NumPy to expose the OpenDSS engine, as implemented in our alternative engine (AltDSS) through the [AltDSS/DSS C-API](https://github.com/dss-extensions/dss_capi) library. OpenDSS is an open-source electric power distribution system simulator [distributed by EPRI](https://sourceforge.net/p/electricdss/).
diff --git a/pyproject.toml b/pyproject.toml
index a3b1631..843a38e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,7 +24,7 @@ packages = ["dss"]
name = "dss-python"
dynamic = ["version"]
dependencies = [
- "dss_python_backend==0.14.2",
+ "dss_python_backend==0.14.3",
"numpy>=1.21.0",
"typing_extensions>=4.5,<5",
]
@@ -36,7 +36,7 @@ authors = [
maintainers = [
{name = "Paulo Meira", email = "pmeira@ieee.org"},
]
-description = "Python bindings and tools based on the DSS C-API project, the alternative OpenDSS implementation from DSS-Extensions.org. API-compatible with the COM version of OpenDSS."
+description = "Python interface (bindings and tools) for OpenDSS. Based on the AltDSS/DSS C-API project, the alternative OpenDSS implementation from DSS-Extensions.org. Multiplatform, API-compatible/drop-in replacement for the COM version of OpenDSS."
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["opendss", "altdss", "electric power systems", "opendssdirect", "powerflow", "short-circuit", ]
@@ -57,11 +57,11 @@ classifiers = [
]
[project.urls]
-Homepage = "https://github.com/dss-extensions/dss_python"
-Documentation = "https://dss-extensions.org/dss_python"
-Repository = "https://github.com/dss-extensions/dss_python.git"
-"Bug Tracker" = "https://github.com/dss-extensions/dss_python/issues"
-Changelog = "https://github.com/dss-extensions/dss_python/blob/main/docs/changelog.md"
+Homepage = "https://github.com/dss-extensions/DSS-Python"
+Documentation = "https://dss-extensions.org/DSS-Python"
+Repository = "https://github.com/dss-extensions/DSS-Python.git"
+"Bug Tracker" = "https://github.com/dss-extensions/DSS-Python/issues"
+Changelog = "https://github.com/dss-extensions/DSS-Python/blob/main/docs/changelog.md"
[project.optional-dependencies]
test = [