Skip to content

Commit cc2a580

Browse files
authored
pretalx: 2024.2.1 -> 2024.3.0 (#350361)
2 parents b4c90d3 + a12121e commit cc2a580

File tree

17 files changed

+77
-45
lines changed

17 files changed

+77
-45
lines changed

nixos/modules/services/web-apps/pretalx.nix

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ let
2222
]
2323
++ finalPackage.optional-dependencies.redis
2424
++ lib.optionals cfg.celery.enable [ celery ]
25-
++ lib.optionals (cfg.settings.database.backend == "mysql") finalPackage.optional-dependencies.mysql
2625
++ lib.optionals (cfg.settings.database.backend == "postgresql") finalPackage.optional-dependencies.postgres;
2726
};
2827
in
@@ -184,6 +183,17 @@ in
184183
};
185184
};
186185

186+
files = {
187+
upload_limit = lib.mkOption {
188+
type = lib.types.ints.positive;
189+
default = 10;
190+
example = 50;
191+
description = ''
192+
Maximum file upload size in MiB.
193+
'';
194+
};
195+
};
196+
187197
filesystem = {
188198
data = lib.mkOption {
189199
type = lib.types.path;

pkgs/applications/networking/powerdns-admin/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ let
1313
python = python3;
1414

1515
pythonDeps = with python.pkgs; [
16+
distutils
1617
flask flask-assets flask-login flask-sqlalchemy flask-migrate flask-seasurf flask-mail flask-session flask-session-captcha flask-sslify
1718
mysqlclient psycopg2 sqlalchemy
1819
certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython

pkgs/by-name/fd/fdroidserver/package.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ python3Packages.buildPythonApplication {
4848

4949
nativeBuildInputs = [ installShellFiles ];
5050

51-
build-system = with python3Packages; [ babel ];
51+
build-system = with python3Packages; [
52+
setuptools
53+
babel
54+
];
5255

5356
dependencies = with python3Packages; [
5457
androguard

pkgs/by-name/pa/pacu/package.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ python.pkgs.buildPythonApplication rec {
2828
"sqlalchemy-utils"
2929
"sqlalchemy"
3030
"pycognito"
31+
"qrcode"
3132
"urllib3"
3233
];
3334

pkgs/by-name/pr/pretalx/package.nix

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ let
1111
python = python3.override {
1212
self = python;
1313
packageOverrides = final: prev: {
14+
django = prev.django_5;
15+
1416
django-bootstrap4 = prev.django-bootstrap4.overridePythonAttrs (oldAttrs: rec {
1517
version = "3.0.0";
1618
src = oldAttrs.src.override {
@@ -26,16 +28,22 @@ let
2628
# fails with some assertions
2729
doCheck = false;
2830
});
31+
32+
django-extensions = prev.django-extensions.overridePythonAttrs {
33+
# Compat issues with Django 5.1
34+
# https://github.com/django-extensions/django-extensions/issues/1885
35+
doCheck = false;
36+
};
2937
};
3038
};
3139

32-
version = "2024.2.1";
40+
version = "2024.3.0";
3341

3442
src = fetchFromGitHub {
3543
owner = "pretalx";
3644
repo = "pretalx";
3745
rev = "v${version}";
38-
hash = "sha256-D0ju9aOVy/new9GWqyFalZYCisdmM7irWSbn2TVCJYQ=";
46+
hash = "sha256-Xv3VwYrwCGgOUf1ilD58ATj+bkehF9+im4124ivCaEU=";
3947
};
4048

4149
meta = with lib; {
@@ -54,7 +62,7 @@ let
5462

5563
sourceRoot = "${src.name}/src/pretalx/frontend/schedule-editor";
5664

57-
npmDepsHash = "sha256-EAdeXdcC3gHun6BOHzvqpzv9+oDl1b/VTeNkYLiD+hA=";
65+
npmDepsHash = "sha256-i7awRuR7NxhpxN2IZuI01PsN6FjXht7BxTbB1k039HA=";
5866

5967
npmBuildScript = "build";
6068

@@ -146,9 +154,6 @@ python.pkgs.buildPythonApplication rec {
146154
++ plugins;
147155

148156
optional-dependencies = {
149-
mysql = with python.pkgs; [
150-
mysqlclient
151-
];
152157
postgres = with python.pkgs; [
153158
psycopg2
154159
];

pkgs/by-name/pr/pretalx/plugins/downstream.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
buildPythonPackage rec {
99
pname = "pretalx-downstream";
10-
version = "1.3.0";
10+
version = "1.3.1";
1111
pyproject = true;
1212

1313
src = fetchFromGitHub {
1414
owner = "pretalx";
1515
repo = "pretalx-downstream";
1616
rev = "v${version}";
17-
hash = "sha256-xpacfU655vg6g1rD4uteeizj+Bll4fgI0AEddaGiCLE=";
17+
hash = "sha256-Q9519jNKQUeNCHg3ivjYyQm1ePMxp/bhtcJAselQiiM=";
1818
};
1919

2020
build-system = [ setuptools ];

pkgs/by-name/pr/pretalx/plugins/media-ccc-de.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
buildPythonPackage rec {
99
pname = "pretalx-media-ccc-de";
10-
version = "1.3.0";
10+
version = "1.4.0";
1111
pyproject = true;
1212

1313
src = fetchFromGitHub {
1414
owner = "pretalx";
1515
repo = "pretalx-media-ccc-de";
1616
rev = "v${version}";
17-
hash = "sha256-Cr9qbkb1VOH2EtDLSA5jmLiCnn1ICdvHnmTugCvHLc0=";
17+
hash = "sha256-U+26hit4xXUzN8JT3WL+iGohqomX1ENb+ihM9IT1XWQ=";
1818
};
1919

2020
build-system = [ setuptools ];

pkgs/by-name/pr/pretalx/plugins/pages.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
buildPythonPackage rec {
99
pname = "pretalx-pages";
10-
version = "1.5.0";
10+
version = "1.6.0";
1111
pyproject = true;
1212

1313
src = fetchFromGitHub {
1414
owner = "pretalx";
1515
repo = "pretalx-pages";
1616
rev = "v${version}";
17-
hash = "sha256-wLMl+2hAJQksCyeBnXxMIFh1/Qkosm7PqByW6QxMsyg=";
17+
hash = "sha256-9ZJSW6kdxpwHd25CuGTE4MMXylXaZKL3eAEKKdYiuXs=";
1818
};
1919

2020
build-system = [ setuptools ];

pkgs/by-name/pr/pretalx/plugins/public-voting.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
buildPythonPackage rec {
99
pname = "pretalx-public-voting";
10-
version = "1.6.0";
10+
version = "1.7.0";
1111
pyproject = true;
1212

1313
src = fetchFromGitHub {
1414
owner = "pretalx";
1515
repo = "pretalx-public-voting";
1616
rev = "v${version}";
17-
hash = "sha256-1zxJ1b2CHfV2AVAneUJxurZ0L3QoMzuBf8c2wrj7yBA=";
17+
hash = "sha256-ei6GgPPEXv9WVhh+4U+WDFCMsT4bND9O85cPLpPWMhQ=";
1818
};
1919

2020
build-system = [ setuptools ];

pkgs/by-name/pr/pretalx/plugins/venueless.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

1111
buildPythonPackage rec {
1212
pname = "pretalx-venueless";
13-
version = "1.4.0";
13+
version = "1.5.0";
1414
pyproject = true;
1515

1616
src = fetchFromGitHub {
1717
owner = "pretalx";
1818
repo = "pretalx-venueless";
1919
rev = "v${version}";
20-
hash = "sha256-llgRa18hxVoRSwU5UH6w4sE2W5ozCZm4Btbia2y0LbE=";
20+
hash = "sha256-1YWkyTaImnlGXZWrborvJrx8zc1FOZD/ugOik7S+fC8=";
2121
};
2222

2323
nativeBuildInputs = [ gettext ];

0 commit comments

Comments
 (0)