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
buku: 3.7 -> 3.8 #45033
buku: 3.7 -> 3.8 #45033
Conversation
sha256 = "0s9s9j9xmhkzw7apqx170fyvc0f800fd4a5jfn8xvj9k6vryd32b"; | ||
}; | ||
|
||
doCheck = false; |
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.
Checks fail with this error for python3 only: https://gist.github.com/Infinisil/5d5d425d9b1d9eceed30ca4546382900#file-error-log-L46
Success on x86_64-linux (full log) Attempted: buku Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: buku Partial log (click to expand)
|
pkgs/top-level/python-packages.nix
Outdated
@@ -5391,6 +5397,8 @@ in { | |||
|
|||
flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib { }; | |||
|
|||
flask_paginate = callPackage ../development/python-modules/flask-paginate { }; |
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.
I would use hyphens, especially if the project itself also uses hyphens in the name.
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.
I think it's somewhat of a policy to prefer _
over -
in nixpkgs, because using whatever the package is using gets confusing fast ("Why does foo_bar not exist, oh right it's foo-bar", "Why does bar-foo not exist, oh right it's bar_foo").
flask_api | ||
flask_bootstrap | ||
flask_paginate | ||
flask_wtf |
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.
@Mic92 Also look at these deps here, would be weird for some of them to have a "-"
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.
There are many counter example also in python packages and also for flask. I am not sure how consistent this was done for all flask packages, but it looks a bit messy, if the directory contains a hyphen as well as the upstream name, but we use sometimes hyphens and sometimes underscores.
@Mic92 I fixed the package attributes |
Success on aarch64-linux (full log) Attempted: buku Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: buku Partial log (click to expand)
|
@GrahamcOfBorg build buku |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: buku Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: buku Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: buku Partial log (click to expand)
|
sha256 = "0s9s9j9xmhkzw7apqx170fyvc0f800fd4a5jfn8xvj9k6vryd32b"; | ||
}; | ||
|
||
doCheck = !isPy3k; |
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.
Changed this to reflect that tests only fail with python 3, gist of the error still here: https://gist.github.com/Infinisil/5d5d425d9b1d9eceed30ca4546382900#file-error-log-L46
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: buku Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: buku Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: buku Partial log (click to expand)
|
Motivation for this change
Release notes:
The new server component requires a bunch of new packages.
Closure size diff: 116MB -> 156MB, due to the new server component
Ping @jfrankenau @dotlambda
Things done
sandbox
innix.conf
on non-NixOS)./result/bin/
)nix path-info -S
before and after)