Unverified Commit 9a5f1e04 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #305942 from fabaff/model-bakery-bump

python312Packages.model-bakery: 1.17.0 -> 1.18.0 
parents dd1ea090 1cd9327d
Loading
Loading
Loading
Loading
+15 −20
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, django
, pytestCheckHook
, pythonOlder
, pytest-django
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  django,
  pytestCheckHook,
  pythonOlder,
  pytest-django,
}:

buildPythonPackage rec {
  pname = "model-bakery";
  version = "1.17.0";
  format = "pyproject";
  version = "1.18.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -19,25 +20,19 @@ buildPythonPackage rec {
    owner = "model-bakers";
    repo = "model_bakery";
    rev = "refs/tags/${version}";
    hash = "sha256-o3BI2lMwctR9tiGmY07dAOQUfv9K4rWkc/xI6uHnVfs=";
    hash = "sha256-mf6NV7r/9kDCRlszx/QGtfEsC1O/SATd6+EX+w7ptEQ=";
  };

  nativeBuildInputs = [
    hatchling
  ];
  build-system = [ hatchling ];

  propagatedBuildInputs = [
    django
  ];
  dependencies = [ django ];

  nativeCheckInputs = [
    pytest-django
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "model_bakery"
  ];
  pythonImportsCheck = [ "model_bakery" ];

  meta = with lib; {
    description = "Object factory for Django";