Skip to content

fix: fix conftest problem#1388

Merged
lkstrp merged 1 commit intov1-docsfrom
v1-docs-fix-sp
Oct 9, 2025
Merged

fix: fix conftest problem#1388
lkstrp merged 1 commit intov1-docsfrom
v1-docs-fix-sp

Conversation

@Irieo
Copy link
Copy Markdown
Contributor

@Irieo Irieo commented Oct 9, 2025

This PR fixes a problem with failing tests in stochastic optimization test suite.

The problem was introduced in 15eeffc ("clustering user guide") where the commit removes the local annuity(lifetime, r) helper function and replaced it with pypsa.community.annuity() but does not swap the argument order. The local function signature was (lifetime, rate) but the pypsa.common.annuity has (rate, lifetime).

this wasn't easy to find where this problem in v1-docs history I must admit 🧙‍♂️

  • I consent to the release of this PR's code under the MIT license.

@lkstrp lkstrp merged commit 4a8e8a5 into v1-docs Oct 9, 2025
19 of 23 checks passed
@lkstrp lkstrp deleted the v1-docs-fix-sp branch October 9, 2025 20:12
lkstrp pushed a commit that referenced this pull request Oct 13, 2025
lkstrp pushed a commit that referenced this pull request Oct 13, 2025
lkstrp pushed a commit that referenced this pull request Oct 14, 2025
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