Unverified Commit d0934153 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Update OpenStack packages (#350764)

parents 7eabf557 665e2042
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

buildPythonPackage rec {
  pname = "openstackdocstheme";
  version = "3.3.0";
  version = "3.4.0";
  pyproject = true;

  # breaks on import due to distutils import through pbr.packaging
@@ -19,13 +19,11 @@ buildPythonPackage rec {

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-wmZJmX5bQKM1uwqWxynkY5jPJaBn+Y2eqSRkE2Ub0qM=";
    hash = "sha256-YA3nY7Q6UM9sviGRUh08EwwLEjneO2KAh4Hsr/hn25U=";
  };

  postPatch = ''
    # only a small portion of the listed packages are actually needed for running the tests
    # so instead of removing them one by one remove everything
    rm test-requirements.txt
    patchShebangs bin/
  '';

  build-system = [ setuptools ];
+2 −6
Original line number Diff line number Diff line
@@ -12,21 +12,17 @@

buildPythonPackage rec {
  pname = "pyeclib";
  version = "1.6.1";
  version = "1.6.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "openstack";
    repo = "pyeclib";
    rev = "refs/tags/${version}";
    hash = "sha256-pa3majZ68+DQGtgGCpZVRshof+w9jvpxreo4dkckLXk=";
    hash = "sha256-LZQNJU7QEoHo+RWvHnQkNxBg6t322u/c3PyBhy1eVZc=";
  };

  postPatch = ''
    # patch dlopen call
    substituteInPlace src/c/pyeclib_c/pyeclib_c.c \
      --replace-fail "liberasurecode.so" "${liberasurecode}/lib/liberasurecode.so"

    # python's platform.platform() doesn't return "Darwin" (anymore?)
    substituteInPlace setup.py \
      --replace-fail '"Darwin"' '"macOS"'
+8 −0
Original line number Diff line number Diff line
@@ -24,12 +24,20 @@ let
  pname = "python-glanceclient";
  version = "4.7.0";

  # Skip tests which require networking.
  disabledTests = [
    "test_http_chunked_response"
    "test_v1_download_has_no_stray_output_to_stdout"
    "test_v2_requests_valid_cert_verification"
    "test_download_has_no_stray_output_to_stdout"
    "test_v1_requests_cert_verification_no_compression"
    "test_v1_requests_cert_verification"
    "test_v2_download_has_no_stray_output_to_stdout"
    "test_v2_requests_bad_ca"
    "test_v2_requests_bad_cert"
    "test_v2_requests_cert_verification_no_compression"
    "test_v2_requests_cert_verification"
    "test_v2_requests_valid_cert_no_key"
    "test_v2_requests_valid_cert_verification_no_compression"
    "test_log_request_id_once"
  ];
+5 −2
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
  python-watcherclient,
  python-zaqarclient,
  python-zunclient,
  pythonOlder,
  requests-mock,
  requests,
  setuptools,
@@ -33,12 +34,14 @@

buildPythonPackage rec {
  pname = "python-openstackclient";
  version = "7.1.2";
  version = "7.2.0";
  pyproject = true;

  disabled = pythonOlder "3.9";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-hLbxcm/LkqMU2dyTMYhIB12iR7eYMUhC0bFS8zZEGl0=";
    hash = "sha256-9je3W78PU3iZJjzVMSPXPxBZ0vMYY5xSLJA9zBJ7O5I=";
  };

  build-system = [
+4 −2
Original line number Diff line number Diff line
@@ -20,11 +20,12 @@
  sphinxcontrib-apidoc,
  sphinxHook,
  stestr,
  stevedore,
}:

buildPythonPackage rec {
  pname = "python-troveclient";
  version = "8.5.0";
  version = "8.6.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -33,7 +34,7 @@ buildPythonPackage rec {
    owner = "openstack";
    repo = "python-troveclient";
    rev = "refs/tags/${version}";
    hash = "sha256-lfnAmQ/IxEdc+XxC0dYxK2FgY7csNewGPuQuq0dNffM=";
    hash = "sha256-6JviPG2ikKRqvW/eqPIHMvpV6GjqbaXYHhcOOpaIS4U=";
  };

  env.PBR_VERSION = version;
@@ -61,6 +62,7 @@ buildPythonPackage rec {
    python-openstackclient
    python-swiftclient
    requests
    stevedore
  ];

  nativeCheckInputs = [
Loading