-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
update colorama and related #26311
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
update colorama and related #26311
Conversation
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.
Please move all expressions to separate files.
pkgs/top-level/python-packages.nix
Outdated
|
||
colorama = buildPythonPackage rec { | ||
name = "colorama-${version}"; | ||
colorama37 = self.colorama.overrideAttrs (old: rec { |
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.
- only a single version of a package in
pythonPackages
. If you really need another version, include it via alet ... in
expression. Only if multiple packages need this extra version, we introduce it globally. - when appending a version number, its supposed to be colorama_3_7 to avoid ambiguation.
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.
Ok. I could probably remove the check since the release it's just bugfixes but the developer of awscli says colorama had been breaking the program before.
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.
Changes in colorama have indeed caused breakage in the past. Let's leave such an optimization to the awscli maintainer.
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.
haven't tested it but looks good.
When I starting
|
libtmux was too old. For one time the requirements.txt constraint was necessary. |
Motivation for this change
Things done
nix-shell -p nox --run "nox-review wip"
(treq
is failing but seems unrelated)./result/bin/
)