-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyton312Packages.arelle: 18.3 -> 2.30.25, unbreak, refactor #337284
base: master
Are you sure you want to change the base?
Conversation
It's been ages since I've used this, so I haven't been a great maintainer for it. I hope you've fixed this because you need it, not because it was on a list of failed packages.
It wasn't very clean in the first place, so this is not a big loss. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like I need to study how python packaging has progressed, but it all looks reasonable.
Also, I'm surprised to see snake-case attributes, but I'm sure they had a reason for that.
Thank you for picking this up!
c3fad98
to
4b98052
Compare
Result of 16 packages built:
|
relevant for ZHF: #352882 |
@ofborg build python312Packages.arelle python312Packages.arelle.passthru.tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of changes
The
arelle
python package was very outdated, thesrc.rev
used no longer existed and the tests were failing on python 3.12 due toimp
being used, so bumped the package version, refactored it and updated its dependencies.For generating the
doc
output, I had to add another dependency to nixpkgs:sphinx-autodoc2
.For some reason
arelle
'spyproject.toml
uses~=
when specifying the build-system deps, which is unfortunate, since we need to patch those out.Since this is a bigger change, I added myself as a maintainer.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.