Skip to content

python3Packages.fints: 4.2.4 -> 5.0.0#478074

Merged
dotlambda merged 3 commits intoNixOS:masterfrom
devurandom:ds/python3Packages.fints-5.0.0
Feb 28, 2026
Merged

python3Packages.fints: 4.2.4 -> 5.0.0#478074
dotlambda merged 3 commits intoNixOS:masterfrom
devurandom:ds/python3Packages.fints-5.0.0

Conversation

@devurandom
Copy link
Contributor

@devurandom devurandom commented Jan 8, 2026

As far as I could tell there is no change log. Breaking changes are listed in https://github.com/raphaelm/python-fints/blob/v5.0.0/docs/upgrading_4_5.rst

Also: Pin pretix-banktool and saldo to fints v4.

Closes: #466577

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot requested a review from dotlambda January 8, 2026 14:05
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Jan 8, 2026
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 13, 2026
@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch 2 times, most recently from 41c87eb to 37c3a51 Compare January 18, 2026 15:25
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 18, 2026
@devurandom devurandom requested a review from dotlambda January 18, 2026 15:33
@devurandom
Copy link
Contributor Author

Input from "hexa" on Matrix: This will break pretix-banktool, cf. https://github.com/pretix/pretix-banktool/blob/0ba22e16e40a15139c271513e756a075ff207490/pyproject.toml#L21. I created an upstream issue to track this: pretix/pretix-banktool#13

@nixpkgs-ci nixpkgs-ci bot added the 8.has: package (update) This PR updates a package to a newer version label Jan 27, 2026
@dotlambda
Copy link
Member

Maybe we should use pythonRelaxDeps to unbreak pretix-banktool?

@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 37c3a51 to 0d04d72 Compare January 28, 2026 20:30
@devurandom
Copy link
Contributor Author

devurandom commented Jan 28, 2026

@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 0d04d72 to 347b546 Compare January 28, 2026 20:34
@nixpkgs-ci nixpkgs-ci bot requested a review from mweinelt January 28, 2026 20:39
@mweinelt
Copy link
Member

Maybe we should use pythonRelaxDeps to unbreak pretix-banktool?

Have you checked for API breakage before suggesting that?

@dotlambda
Copy link
Member

Maybe we should use pythonRelaxDeps to unbreak pretix-banktool?

Have you checked for API breakage before suggesting that?

No, that's why it was formulated as a question.

@mweinelt mweinelt marked this pull request as draft January 29, 2026 01:22
@devurandom
Copy link
Contributor Author

Maybe we should use pythonRelaxDeps to unbreak pretix-banktool?

Have you checked for API breakage before suggesting that?

I did a quick check by reading the source code and left my findings in pretix/pretix-banktool#13 (comment) (might be interesting not just to NixOS).

@devurandom
Copy link
Contributor Author

@mweinelt: Is there anything else I could do, apart from pretix/pretix-banktool#13 (comment), to move this PR forward?

@mweinelt
Copy link
Member

We could pin pretix-banktool at fints 4.2.4 for now.

@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 347b546 to 4b7fcd4 Compare February 18, 2026 19:50
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 18, 2026
@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 4b7fcd4 to 76f53ca Compare February 18, 2026 19:56
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 18, 2026
@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 76f53ca to d4f2ed0 Compare February 18, 2026 20:04
@devurandom devurandom requested a review from dotlambda February 18, 2026 21:04
@devurandom
Copy link
Contributor Author

Thanks for your review, @dotlambda ! I split my changes into multiple commits and created a version-pinned copy of the fints package, similar to what I saw elsewhere when people were pinning a version. Is this PR now in the shape you'd expect?

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 26, 2026
@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from ac2bb1f to 4d21579 Compare February 27, 2026 23:40
@nixpkgs-ci nixpkgs-ci bot requested a review from natsukium February 27, 2026 23:46
@nixpkgs-ci nixpkgs-ci bot added the 8.has: package (new) This PR adds a new package label Feb 27, 2026
@devurandom
Copy link
Contributor Author

devurandom commented Feb 27, 2026

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 478074 --additional-package saldo --additional-package pretix-banktool
Commit: 4d21579e0ac6e003b60803cd59f3b3e713eb5115

(nixpkgs-review missed that pretix-banktool and saldo had changed, so I passed them via --additional-package.)


x86_64-linux

✅ 8 packages built:
  • pretix-banktool
  • pretix-banktool.dist
  • python313Packages.fints
  • python313Packages.fints.dist
  • python314Packages.fints
  • python314Packages.fints.dist
  • saldo
  • tests.home-assistant-component-tests.fints

@devurandom
Copy link
Contributor Author

devurandom commented Feb 27, 2026

I found nixpkgs-review and through it noticed that:

  • I had forgotten to expose fints_4 into python3Packages
  • saldo was also affected, so I also pinned that
  • pkgs/servers/home-assistant/ has a "component" that depends on fints, but to pin that, too, I'll need more time -- it was not immediately obvious to me where a good place for a pin would be.

@devurandom devurandom marked this pull request as draft February 27, 2026 23:54
@dotlambda
Copy link
Member

  • pkgs/servers/home-assistant/ has a "component" that depends on fints, but to pin that, too, I'll need more time -- it was not immediately obvious to me where a good place for a pin would be.

Why do you want to pin that if it builds fine with version 5?
This would be the required diff:

diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index 706a3ff038b9..313a6d3da2e4 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -87,6 +87,8 @@ let
         ];
       });
 
+      fints = self.fints_4;
+
       gspread = super.gspread.overridePythonAttrs (oldAttrs: rec {
         version = "5.12.4";
         src = fetchFromGitHub {

@dotlambda
Copy link
Member

nixpkgs-review missed that pretix-banktool and saldo had changed

They didn't change because you pinned fints to the old version, so they evaluate to the exact same derivation as before.

Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

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

saldo builds fine with fints v5, so it shouldn't use fints_4

@devurandom devurandom force-pushed the ds/python3Packages.fints-5.0.0 branch from 4d21579 to b6759cb Compare February 28, 2026 08:04
@devurandom
Copy link
Contributor Author

pkgs/servers/home-assistant/ has a "component" that depends on fints

Why do you want to pin that if it builds fine with version 5?

I thought the same that applies to pretix-banktool also applies here: Just knowing that it builds does not mean it'll actually work, and since I don't have a setup to actually confirm that it works, I'll pin it. (Which is also why I thought I'd have to pin saldo as well.)

saldo builds fine with fints v5, so it shouldn't use fints_4

Changed in https://github.com/NixOS/nixpkgs/compare/4d21579e0ac6e003b60803cd59f3b3e713eb5115..b6759cb075e728884d3c89328ea65b7912696ec0.

@devurandom devurandom marked this pull request as ready for review February 28, 2026 08:08
@devurandom devurandom requested a review from dotlambda February 28, 2026 08:08
@dotlambda
Copy link
Member

I thought the same that applies to pretix-banktool also applies here: Just knowing that it builds does not mean it'll actually work, and since I don't have a setup to actually confirm that it works, I'll pin it. (Which is also why I thought I'd have to pin saldo as well.)

I wouldn't worry about saldo as much because it doesn't pin a certain version of fints.

@dotlambda
Copy link
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 478074
Commit: b6759cb075e728884d3c89328ea65b7912696ec0


x86_64-linux

✅ 6 packages built:
  • python313Packages.fints
  • python313Packages.fints.dist
  • python314Packages.fints
  • python314Packages.fints.dist
  • saldo
  • tests.home-assistant-component-tests.fints

Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

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

Approved automatically following the successful run of nixpkgs-review.

@dotlambda dotlambda added this pull request to the merge queue Feb 28, 2026
Merged via the queue into NixOS:master with commit 84b601b Feb 28, 2026
30 of 32 checks passed
@devurandom devurandom deleted the ds/python3Packages.fints-5.0.0 branch February 28, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Request: python313Packages.fints 4.2.4 → 5.0.0

4 participants