pretix: 2025.7.1 -> 2025.8.0 (#447623)

This commit is contained in:
Martin Weinelt
2025-10-02 15:02:55 +00:00
committed by GitHub
5 changed files with 34 additions and 11 deletions

View File

@@ -42,13 +42,13 @@ let
};
pname = "pretix";
version = "2025.7.1";
version = "2025.8.0";
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix";
rev = "refs/tags/v${version}";
hash = "sha256-emPzCwViqbGqlQRYmyamhQ5y6a3g67TTYIdv6FWbGEU=";
hash = "sha256-89BAQZpXyyTg6T9hxm4EV8QHZDcD3FcnGKxAulxziyg=";
};
npmDeps = buildNpmPackage {
@@ -56,7 +56,7 @@ let
inherit version src;
sourceRoot = "${src.name}/src/pretix/static/npm_dir";
npmDepsHash = "sha256-cvyOpEw6z0cNUdHRmyEZUoeKPMOAtC+YHYXCltbHdm0=";
npmDepsHash = "sha256-E2K9SYqRbhpQi83va8D02cwPnf51haoKv4P/ppU2m08=";
dontBuild = true;
@@ -85,6 +85,7 @@ python.pkgs.buildPythonApplication rec {
"celery"
"css-inline"
"django-bootstrap3"
"django-formset-js-improved"
"django-i18nfield"
"django-localflavor"
"django-phonenumber-field"
@@ -97,6 +98,7 @@ python.pkgs.buildPythonApplication rec {
"phonenumberslite"
"pillow"
"protobuf"
"pycparser"
"pycryptodome"
"pyjwt"
"pypdf"
@@ -127,6 +129,10 @@ python.pkgs.buildPythonApplication rec {
substituteInPlace pyproject.toml \
--replace-fail '"backend"' '"setuptools.build_meta"' \
--replace-fail 'backend-path = ["_build"]' ""
# npm ci would remove and try to reinstall node_modules
substituteInPlace src/pretix/_build.py \
--replace-fail "npm ci" "npm install"
'';
build-system = with python.pkgs; [

View File

@@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "pretix-sepadebit";
version = "2.6.0";
version = "2.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-sepadebit";
tag = "v${version}";
hash = "sha256-o4HVPuSpYIFjxmYuL+IsJJDkv+4ARuvaDqPjxWxlhMg=";
hash = "sha256-Xnp7aic+Xf4wJzJbWqhsfMajT4AOQGQMIGIewJ5B37o=";
};
build-system = [
@@ -55,6 +55,12 @@ buildPythonPackage rec {
export DJANGO_SETTINGS_MODULE=pretix.testutils.settings
'';
disabledTests = [
# https://github.com/pretix/pretix-sepadebit/issues/69
"test_mail_context"
"test_call_mail_context"
];
meta = with lib; {
description = "Plugin to receive payments via SEPA direct debit";
homepage = "https://github.com/pretix/pretix-sepadebit";

View File

@@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "pretix-servicefees";
version = "1.14.1";
version = "1.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-servicefees";
tag = "v${version}";
hash = "sha256-iceFpmuWlq4LnZpG57d4Fwx9bXJDGwx+ox58s8oxupU=";
hash = "sha256-oxuxlwNYJsuYj5zm2VYRMn8wz3vF92SzGxD8w3N7ZIM=";
};
build-system = [

View File

@@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "pretix-zugferd";
version = "2.4.2";
version = "2.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
repo = "pretix-zugferd";
rev = "v${version}";
hash = "sha256-ARTQjd78lkcs16cULAaudMtW1DmDKGf3gNBQZIHCQ1E=";
hash = "sha256-Qy/yfinj5EGjzhJmiczOSIP/GsTZabFt8e6Ki4AaN6w=";
};
postPatch = ''

View File

@@ -2,6 +2,8 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
django,
django-jquery-js,
}:
@@ -9,7 +11,7 @@
buildPythonPackage rec {
pname = "django-formset-js-improved";
version = "0.5.0.3";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "pretix";
@@ -18,9 +20,18 @@ buildPythonPackage rec {
hash = "sha256-bOM24ldXk9WeV0jl6LIJB3BJ5hVWLA1PJTBBnJBoprU=";
};
patches = [
(fetchpatch {
url = "https://github.com/pretix/django-formset-js/commit/7d8a33190d58ff9d75270264342eba82672d054e.patch";
hash = "sha256-eBRP0eqMnH7UM9cToR+diejO6dMDDVt2bbUHLDcaWjk=";
})
];
build-system = [ setuptools ];
buildInputs = [ django ];
propagatedBuildInputs = [ django-jquery-js ];
dependencies = [ django-jquery-js ];
pythonImportsCheck = [ "djangoformsetjs" ];