Unverified Commit 1133438e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #249816 from fabaff/griffe-bump

python311Packages.griffe: 0.32.3 -> 0.33.0
parents a99b1cf0 84ed578b
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
{ lib
, aiofiles
, buildPythonPackage
, cached-property
, colorama
, fetchFromGitHub
, git
@@ -13,22 +12,19 @@

buildPythonPackage rec {
  pname = "griffe";
  version = "0.32.3";
  version = "0.33.0";
  format = "pyproject";

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

  src = fetchFromGitHub {
    owner = "mkdocstrings";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-rPh4FtcigZzscm3y/BJ/0Q0wURlumowlHY15MiQw2B8=";
    hash = "sha256-dmNALIXCkbkEh0orahvmKPvK2Nh5Voe9ZWZLw1Sgt4w=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'license = "ISC"' 'license = {file = "LICENSE"}' \
  '';
  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  nativeBuildInputs = [
    pdm-backend
@@ -36,8 +32,6 @@ buildPythonPackage rec {

  propagatedBuildInputs = [
    colorama
  ] ++ lib.optionals (pythonOlder "3.8") [
    cached-property
  ];

  nativeCheckInputs = [
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

buildPythonPackage rec {
  pname = "mkdocstrings-python";
  version = "1.3.0";
  version = "1.4.0";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
    owner = "mkdocstrings";
    repo = "python";
    rev = "refs/tags/${version}";
    hash = "sha256-grcxAVyKfF3CtpjE+uuQe2jvz+xmKU/oHqgyqK7Erhc=";
    hash = "sha256-O4lKL7b85lbF04p8pZrtg5CSVLJQIsktNUn7HDdDYio=";
  };

  nativeBuildInputs = [