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
buildbot: 2.4.1 -> 2.5.0 #72059
buildbot: 2.4.1 -> 2.5.0 #72059
Conversation
This comment has been minimized.
This comment has been minimized.
|
Usually only the test was failing. This time it's the build fails on the tests that somehow are sensitive to a warning:
This is not an issue for aarch64 because there we don't run tests: nixpkgs/pkgs/development/python-modules/buildbot/default.nix Lines 81 to 82 in 7edc64b
|
}; | ||
|
||
buildInputs = [ buildbot buildbot-pkg mock ]; |
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.
These should have been checkInputs
? If yes, we could use buildbot.overrideAttrs { doCheck = false; checkInputs = []; }
.
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, if they are not available, the build fails with:
Please install buildbot, buildbot_pkg, and mock modules in order to install that package, or use the pre-build .whl modules available on pypi
See: https://github.com/buildbot/buildbot/blob/master/www/base/setup.py#L24
}; | ||
|
||
buildInputs = [ buildbot buildbot-pkg mock ]; | ||
format = "wheel"; |
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.
avoid wheels when possible
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.
The only way I can see to avoid a wheel is to patch the package's setuptools script.
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.
A comment explaining that should be added.
How about using pipInstallFlags = [ "--ignore-dependencies" ];
instead?
The tests passed locally when I wrote this PR against unstable, but broke due to a dependency upgrade when rebased against master. The issue (glyph/automat#117) has not been fixed upstream, so I applied a patch used by Arch Linux to ignore the warning for now. I was not able to find a way to stop None of the plugins actually have any Python tests ( |
240accc
to
83f7505
Compare
This comment has been minimized.
This comment has been minimized.
83f7505
to
d954703
Compare
@GrahamcOfBorg test buildbot |
Thanks for the explanation. Could you rebase your changes? |
d954703
to
bc97b9e
Compare
@GrahamcOfBorg build buildbot-full |
bc97b9e
to
b72b2ae
Compare
b72b2ae
to
4d39da3
Compare
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.
nix-review
passes on NixOS
diff LGTM
executables seem to work
not sure how to test plugins
[4 built, 2 copied (0.7 MiB), 0.2 MiB DL]
https://github.com/NixOS/nixpkgs/pull/72059
13 package were build:
buildbot buildbot-full buildbot-ui python37Packages.buildbot-plugins.console-view python37Packages.buildbot-plugins.grid-view python37Packages.buildbot-plugins.waterfall-view python37Packages.buildbot-plugins.wsgi-dashboards python37Packages.buildbot-plugins.www python38Packages.buildbot-plugins.console-view python38Packages.buildbot-plugins.grid-view python38Packages.buildbot-plugins.waterfall-view python38Packages.buildbot-plugins.wsgi-dashboards python38Packages.buildbot-plugins.www
Can this be merged? |
review still passes, merging :) |
Motivation for this change
Updates buildbot to the latest version.
Buildbot has acquired some new test dependencies, including a circular dependency on the
buildbot_www
plugin, which requires using a wheel (as was done in the past).Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @nand0p @ryansydnor