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

python311Packages.openstacksdk: 3.3.0 -> 4.0.0 (#338474)

parents c711a6c3 de188ad0
Loading
Loading
Loading
Loading
+15 −13
Original line number Diff line number Diff line
{
  lib,
  fetchPypi,
  buildPythonPackage,
  distro,
  pbr,
  setuptools,
  fetchPypi,
  packaging,
  parsley,
  pbr,
  setuptools,
}:

buildPythonPackage rec {
  pname = "bindep";
  version = "2.11.0";
  format = "pyproject";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-rLLyWbzh/RUIhzR5YJu95bmq5Qg3hHamjWtqGQAufi8=";
  };

  buildInputs = [
  env.PBR_VERSION = version;

  build-system = [
    distro
    pbr
    setuptools
  ];

  propagatedBuildInputs = [
  dependencies = [
    parsley
    pbr
    packaging
    distro
  ];

  patchPhase = ''
    # Setting the pbr version will skip any version checking logic
    # This is required because pbr thinks it gets it's own version from git tags
    # See https://docs.openstack.org/pbr/latest/user/packagers.html
    export PBR_VERSION=5.11.1
  '';
  # Checks moved to 'passthru.tests' to workaround infinite recursion
  doCheck = false;

  pythonImportsCheck = [ "bindep" ];

  meta = with lib; {
    description = "Bindep is a tool for checking the presence of binary packages needed to use an application / library";
    homepage = "https://docs.opendev.org/opendev/bindep/latest/";
    license = licenses.asl20;
    maintainers = with maintainers; [ melkor333 ];
    mainProgram = "bindep";
    maintainers = teams.openstack.members;
  };
}
+7 −4
Original line number Diff line number Diff line
@@ -6,19 +6,20 @@
  pbr,
  sphinx,
  pythonAtLeast,
  setuptools,
}:

buildPythonPackage rec {
  pname = "openstackdocstheme";
  version = "3.2.0";
  format = "setuptools";
  version = "3.3.0";
  pyproject = true;

  # breaks on import due to distutils import through pbr.packaging
  disabled = pythonAtLeast "3.12";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-PwSWLJr5Hjwz8cRXXutnE4Jc+vLcL3TJTZl6biK/4E4=";
    hash = "sha256-wmZJmX5bQKM1uwqWxynkY5jPJaBn+Y2eqSRkE2Ub0qM=";
  };

  postPatch = ''
@@ -27,7 +28,9 @@ buildPythonPackage rec {
    rm test-requirements.txt
  '';

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    dulwich
    pbr
    sphinx
+6 −5
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@

buildPythonPackage rec {
  pname = "openstacksdk";
  version = "3.3.0";
  version = "4.0.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.8";

  outputs = [
    "out"
@@ -35,7 +35,7 @@ buildPythonPackage rec {

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-BghpDKN8pzMnsPo3YdF+ZTlb43/yALhzXY8kJ3tPSYA=";
    hash = "sha256-54YN2WtwUxMJI8EdVx0lgCuWjx4xOIRct8rHxrMzv0s=";
  };

  postPatch = ''
@@ -44,14 +44,15 @@ buildPythonPackage rec {
      --replace-fail "'sphinxcontrib.rsvgconverter'," "#'sphinxcontrib.rsvgconverter',"
  '';

  build-system = [
  nativeBuildInputs = [
    openstackdocstheme
    setuptools
    sphinxHook
  ];

  sphinxBuilders = [ "man" ];

  build-system = [ setuptools ];

  dependencies = [
    platformdirs
    cryptography
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ buildPythonPackage {
      openstack.tests.unit.image.v2.test_proxy.TestImageProxy.test_wait_for_task_wait
      openstack.tests.unit.image.v2.test_proxy.TestTask.test_wait_for_task_error_396
      openstack.tests.unit.image.v2.test_proxy.TestTask.test_wait_for_task_wait
      openstack.tests.unit.test_resource.TestWaitForDelete.test_callback
      openstack.tests.unit.test_resource.TestWaitForDelete.test_callback_without_progress
      openstack.tests.unit.test_resource.TestWaitForDelete.test_status
      openstack.tests.unit.test_resource.TestWaitForDelete.test_success_not_found
+2 −2
Original line number Diff line number Diff line
@@ -16,13 +16,13 @@

buildPythonPackage rec {
  pname = "oslo-config";
  version = "9.5.0";
  version = "9.6.0";
  pyproject = true;

  src = fetchPypi {
    pname = "oslo.config";
    inherit version;
    hash = "sha256-qlAARIhrbFX3ZXfLWpNJKkWWxfkoM3Z2DqeFLMScmaM=";
    hash = "sha256-nwXvcOSNmmGo0Mm+04naJPLvWonfW26N63x0HWETZn4=";
  };

  postPatch = ''
Loading