Merge pull request #132186 from lopsided98/buildbot-update

buildbot: 3.1.1 -> 3.2.0
This commit is contained in:
Dmitry Kalinkin
2021-07-31 01:07:10 -04:00
committed by GitHub
5 changed files with 36 additions and 10 deletions
@@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k
{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, makeWrapper, isPy3k
, python, twisted, jinja2, zope_interface, sqlalchemy
, sqlalchemy_migrate, python-dateutil, txaio, autobahn, pyjwt, pyyaml, unidiff, treq
, txrequests, pypugjs, boto3, moto, mock, lz4, setuptoolsTrial
@@ -26,11 +26,11 @@ let
package = buildPythonPackage rec {
pname = "buildbot";
version = "3.1.1";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0vh2v1qs65kwcj1x8r1wj2g456kflspyz7mjara9ph9qs7j97y74";
sha256 = "sha256-Ji/1anphYaGoP0kaOpArKDKPe9YUFTU1Zd9O4g6V9OA=";
};
propagatedBuildInputs = [
@@ -78,6 +78,19 @@ let
# This patch disables the test that tries to read /etc/os-release which
# is not accessible in sandboxed builds.
./skip_test_linux_distro.patch
# Fix compatibility with SQLAlchemy 1.4
(fetchpatch {
url = "https://github.com/buildbot/buildbot/pull/6156.patch";
sha256 = "10pg3wcdy85vymn6hprm7rh68zkz818m2vy6v4s2hi2l189wh5my";
stripLen = 1;
excludes = [
".bbtravis.yml"
"buildbot/test/unit/db/test_enginestrategy.py"
"buildbot/test/unit/db_migrate/test_versions_045_worker_transition.py"
"requirements-ci.txt"
"requirements-cidb.txt"
];
})
];
postPatch = ''
@@ -97,6 +110,7 @@ let
passthru = {
inherit withPlugins;
tests.buildbot = nixosTests.buildbot;
updateScript = ./update.sh;
};
meta = with lib; {
@@ -6,7 +6,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "13bcshfas3r7hl205il9fzdjfhd18jf0lxrr5wd8r6qzdrl6i1y6";
sha256 = "sha256-6PpR/zDy1ZZWFN2qzIeNWk9kmDpecZH40IEMoqyprnk=";
};
postPatch = ''
@@ -7,7 +7,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "1qb82s72mrm39123kwkypa2nhdsks6v9nkpw4vvscnq4p9xbzw2c";
sha256 = "sha256-6dG8yCHmysQELodaPXOrI8J8Uc1/7YHwplnvYZyeuo0=";
};
# Remove unneccessary circular dependency on buildbot
@@ -34,7 +34,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "0kwzj28dmhkcr44nf39s82xjc9y5p27w4ywxfpm55cim3hwxbcb1";
sha256 = "sha256-bjDVA5478pHtBXIVPSZJURRqU9EVFVXG/933oDQZCpk=";
};
buildInputs = [ buildbot-pkg ];
@@ -56,7 +56,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "0vvp6z0d0qf5i5kykzph28hr3g9wgzrmmbbzdnm94yk4wsqq7w86";
sha256 = "sha256-I31sryOUW6JVsWpkgvQe9ICyoDZUVewRPtG0JdIVJo8=";
};
buildInputs = [ buildbot-pkg ];
@@ -78,7 +78,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "0y839swv9vdkwi4i1hjiyrjbj1bs74sbkpr5f58ivkjlf5alb56b";
sha256 = "sha256-FWi67S3wXuISLP0f4VzXisEWXN60xlgU4I946QkX9Eo=";
};
buildInputs = [ buildbot-pkg ];
@@ -100,7 +100,7 @@
src = fetchPypi {
inherit pname version;
sha256 = "1zsh1bvrl3byx0ycz5jnhijzifxglm8w7kcxp79k7frw7i02fpvy";
sha256 = "sha256-6kXB+hu75V59KMo7tIHbE2Wvig6raTbPc7vYVVl/1y0=";
};
buildInputs = [ buildbot-pkg ];
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update
set -eu -o pipefail
nix-update python3Packages.buildbot
nix-update --version=skip python3Packages.buildbot-worker
nix-update --version=skip python3Packages.buildbot-pkg
nix-update --version=skip python3Packages.buildbot-plugins.www
nix-update --version=skip python3Packages.buildbot-plugins.console-view
nix-update --version=skip python3Packages.buildbot-plugins.waterfall-view
nix-update --version=skip python3Packages.buildbot-plugins.grid-view
nix-update --version=skip python3Packages.buildbot-plugins.wsgi-dashboards
@@ -7,7 +7,7 @@ buildPythonPackage (rec {
src = fetchPypi {
inherit pname version;
sha256 = "0q16vgvlhiybq5rhva9kcj5v2mhfpdb5czm2vng4rrfqqiqq918m";
sha256 = "sha256-pIXdqahCWJGRiXKDyih2UjGYdyzwhxnYgMwCzdQfYUo=";
};
propagatedBuildInputs = [ twisted future ];