Unverified Commit 6be260af authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.drf-spectacular: 0.28.0 -> 0.29.0;...

python3Packages.drf-spectacular: 0.28.0 -> 0.29.0; python3Packages.drf-spectacular-sidecar: 2025.10.1 -> 2025.12.1 (#469753)
parents 97cdea5b 0fbd9269
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ python.pkgs.buildPythonApplication rec {
  pythonRelaxDeps = [
    "celery"
    "django-allauth"
    "drf-spectacular-sidecar"
    "python-dotenv"
    "gotenberg-client"
    "redis"
+3 −3
Original line number Diff line number Diff line
@@ -8,14 +8,14 @@

buildPythonPackage rec {
  pname = "drf-spectacular-sidecar";
  version = "2025.10.1";
  version = "2025.12.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tfranzel";
    repo = "drf-spectacular-sidecar";
    rev = version;
    hash = "sha256-npBrBdJN0OVJ2Qj4g82CSZ2OSkttWOpBjh3DzLpIblM=";
    tag = version;
    hash = "sha256-OPUTLI/BZTATa3f2RwoM0LbDKWXUCBEKtkTgG8OUgTI=";
  };

  build-system = [ setuptools ];
+2 −17
Original line number Diff line number Diff line
@@ -32,31 +32,16 @@

buildPythonPackage rec {
  pname = "drf-spectacular";
  version = "0.28.0";
  version = "0.29.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "tfranzel";
    repo = "drf-spectacular";
    tag = version;
    hash = "sha256-+RXcCpsNAoGxK/taEf7+7QUDrHydvy5fIdBuEXi63DQ=";
    hash = "sha256-7Eq0Z/BR/tvGS6RRRoy3jOyBQkc58QETHWy47S6tSD8=";
  };

  patches = [
    (fetchpatch {
      # https://github.com/tfranzel/drf-spectacular/pull/1090
      url = "https://github.com/tfranzel/drf-spectacular/commit/8db4c2458f8403c53db0db352dd94057d285814b.patch";
      hash = "sha256-Ue5y7IB4ie+9CEineMBgMMCLGiF4zqmn60TJvKsV1h0=";
    })
  ];

  postPatch = ''
    substituteInPlace tests/conftest.py \
      --replace-fail "'allauth.account'," "'allauth.account', 'allauth.socialaccount',"
  '';

  build-system = [ setuptools ];

  dependencies = [