Skip to content

Updated to version 1.7.3#13

Merged
michaelselby-signaloid merged 1 commit into
mainfrom
version-update
Mar 13, 2026
Merged

Updated to version 1.7.3#13
michaelselby-signaloid merged 1 commit into
mainfrom
version-update

Conversation

@michaelselby-signaloid
Copy link
Copy Markdown
Contributor

This pull request introduces several improvements to the Python package build and test workflow, enhances compatibility and reliability, and updates some core logic and documentation. The most significant changes are grouped below by theme.

Build and CI improvements:

  • The GitHub Actions workflow (.github/workflows/signaloid-python.yaml) now tests against Python 3.10, 3.11, and 3.13, and uses a matrix build for broader compatibility. Artifacts and wheels are now tagged with the Python version, and wheels/releases are only uploaded for Python 3.11 on Ubuntu. The workflow also fetches all tags and history for proper versioning. [1] [2] [3] [4] [5] [6]

  • Poetry is upgraded to version 1.8.0, and the poetry-dynamic-versioning plugin is added and configured to set the package version from Git tags, enabling dynamic versioning in pyproject.toml. The static version is set to 0.0.0 as a placeholder. [1] [2]

Dependency and compatibility updates:

  • The minimum Python version is bumped to 3.10 (from 3.9) across the project, including in pyproject.toml and mypy configuration. The Pillow dependency is added. [1] [2]

Code and logic improvements:

  • In DistributionalValue, mean calculation now sets the mean to np.nan if the total mass is zero, improving robustness. The mean_relative_diff method now returns math.nan if the denominator is zero. [1] [2]
  • The PlotData._create_binning method is renamed to create_binning and made public, with all calls updated accordingly. The plot data construction logic now gracefully handles binning errors by falling back to a default binning scheme. [1] [2] [3] [4] [5]

Documentation and copyright:

  • Copyright years are updated to 2026 across all relevant source and test files. [1] [2] [3] [4] [5] [6] [7] [8]
  • Minor docstring and comment corrections for clarity. [1] [2]

These changes collectively improve build reliability, support for multiple Python versions, and code robustness, while keeping documentation and dependencies up to date.

@michaelselby-signaloid michaelselby-signaloid merged commit 6d7aee8 into main Mar 13, 2026
6 checks passed
@tfotakis-signaloid tfotakis-signaloid deleted the version-update branch March 16, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants