Skip to content

Update main to v0.8.0 - #71

Merged
martinvonk merged 212 commits into
mainfrom
dev
Jul 26, 2025
Merged

Update main to v0.8.0#71
martinvonk merged 212 commits into
mainfrom
dev

Conversation

@martinvonk

@martinvonk martinvonk commented Jul 24, 2025

Copy link
Copy Markdown
Owner

Most changes after JOSS review from @xinlan-technology and @1JunGu

  • GitHub pages documentation site
  • Add contributing.md
  • Improved clarity in docstrings, warnings and code
  • Updated heatmap

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates the SPEI package to version 0.8.0, introducing significant improvements including a new packaging version parser, comprehensive documentation overhaul, new dependency management, and multiple bug fixes and enhancements.

Key Changes:

  • Modernizes pandas version parsing using packaging library for better compatibility
  • Adds extensive Sphinx-based documentation with 8 new example notebooks
  • Introduces new build dependencies and development tools including tox configuration modernization

Reviewed Changes

Copilot reviewed 25 out of 38 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/spei/utils.py Updates pandas version parsing to use packaging.version.parse
src/spei/si.py Removes outdated reference citations and improves type hints
src/spei/plot.py Enhances plotting functionality with better warnings and improved heatmap implementation
tests/test_si.py Fixes test function names and adds missing distribution parameters
tests/test_validate.py Updates test to expect both ValueError and UserWarning
tests/conftest.py Fixes variable assignment bug and adds timestamp filtering
pyproject.toml Modernizes configuration with new dependencies and tox setup
docs/ Adds comprehensive documentation structure with example notebooks

Comment thread tests/conftest.py Outdated
Comment thread docs/examples/index.md Outdated
Comment thread src/spei/dist.py Outdated
Comment thread src/spei/plot.py Outdated
Comment thread docs/examples/example07_knmi.ipynb Outdated
Comment thread src/spei/utils.py
Comment thread src/spei/plot.py
martinvonk and others added 7 commits July 24, 2025 19:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@martinvonk
martinvonk merged commit e41b5f2 into main Jul 26, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants