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

pretix: 2024.8.0 -> 2024.9.0 (#344868)

parents 1d8bd790 a9fcd06f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,13 +51,13 @@ let
  };

  pname = "pretix";
  version = "2024.8.0";
  version = "2024.9.0";

  src = fetchFromGitHub {
    owner = "pretix";
    repo = "pretix";
    rev = "refs/tags/v${version}";
    hash = "sha256-3flZoDzS3SI7nAi1skEqVPXJM9vSBrGN+F0esbYKQDw=";
    hash = "sha256-L6mTfLIx8kD/5s0Dfp24TEATmjxBXERQjynB0szH3DM=";
  };

  npmDeps = buildNpmPackage {
@@ -65,7 +65,7 @@ let
    inherit version src;

    sourceRoot = "${src.name}/src/pretix/static/npm_dir";
    npmDepsHash = "sha256-ZS+80LLyS2UBnVGRclYhwVwF1BR17D/79F2moQtqh80=";
    npmDepsHash = "sha256-zUui5tYINTDKA91WgRV51ilIPFBJpZ+S2fJwW85KJ9k=";

    dontBuild = true;

+2 −2
Original line number Diff line number Diff line
@@ -17,14 +17,14 @@

buildPythonPackage rec {
  pname = "django-bootstrap3";
  version = "24.2";
  version = "24.3";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "zostera";
    repo = "django-bootstrap3";
    rev = "refs/tags/v${version}";
    hash = "sha256-5nBJ5vfsoGoaG1s3K1hCHcSnGf51ZirYYg+uJGsBmG8=";
    hash = "sha256-7aHGTa98NaHg6C+fxuQsrPk/8XjHB3awp+gAWysOhAw=";
  };

  nativeBuildInputs = [
+11 −2
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  pythonOlder,

  # build-system
@@ -27,7 +28,7 @@

buildPythonPackage rec {
  pname = "pypdf";
  version = "4.3.1";
  version = "5.0.0";
  pyproject = true;

  src = fetchFromGitHub {
@@ -36,7 +37,7 @@ buildPythonPackage rec {
    rev = "refs/tags/${version}";
    # fetch sample files used in tests
    fetchSubmodules = true;
    hash = "sha256-wSF20I5WaxRoN0n0jxB5O3mAAIOxP/TclYBTRAUwYHo=";
    hash = "sha256-omnNC1mzph59aqrXqLCuCk0LgzfJv/JhbQRrAgRhAIg=";
  };

  outputs = [
@@ -53,6 +54,14 @@ buildPythonPackage rec {
    myst-parser
  ];

  patches = [
    (fetchpatch2 {
      # Mark test_increment_writer as enable_socket (https://github.com/py-pdf/pypdf/pull/2867)
      url = "https://github.com/py-pdf/pypdf/commit/d974d5c755a7b65f3b9c68c5742afdbc0c1693f6.patch";
      hash = "sha256-4xiCAStP615IktTUgk31JbIxkxx8d6PQdu8Nfmhc1jo=";
    })
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "--disable-socket" ""