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
Graphite #28297
Graphite #28297
Conversation
pkgs/top-level/python-packages.nix
Outdated
}; | ||
|
||
propagatedBuildInputs = with self; [ django django_tagging_0_3 whisper pycairo ldap memcached pytz ]; | ||
propagatedBuildInputs = with self; [ django_1_8 (django_tagging.override { django = django_1_8; }) whisper pycairo ldap memcached pytz urllib3 cairocffi scandir pyparsing ]; |
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.
No overriding within the package set. All Django packages will need to depend just on django
, and not on a specific version. If you application needs a specific version, then you need to override the whole Python package set when deploying it.
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.
When deploying it -> you mean in the service?
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.
yes
This means the 'stock' pythonPackages.graphite_web doesn't build, since it relies on Django 1.8. Is that expected? |
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.
Resolve merge conflicts
We are moving Python expressions out of Please move the expression there, and call it from |
@apeschar yes, that can be fine. |
This was already done in another pull request, so no longer relevant. |
Motivation for this change
django_tagging_0_3
was only used by the older Graphite, so can be removed. (I suppose.)Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)