Skip to content

Commit ceb5551

Browse files
authored
python313Packages.django-bootstrap{3,4,5}: 25.1 -> 25.1 (#386557)
2 parents d68ef1b + ff57751 commit ceb5551

File tree

5 files changed

+16
-45
lines changed

5 files changed

+16
-45
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@ let
1414
packageOverrides = final: prev: {
1515
django = prev.django_5;
1616

17-
django-bootstrap4 = prev.django-bootstrap4.overridePythonAttrs (oldAttrs: rec {
18-
version = "3.0.0";
19-
src = oldAttrs.src.override {
20-
tag = "v${version}";
21-
hash = "sha256-a8BopUwZjmvxOzBVqs4fTo0SY8sEEloGUw90daYWfz8=";
22-
};
23-
24-
propagatedBuildInputs = with final; [
25-
beautifulsoup4
26-
django
27-
];
28-
29-
# fails with some assertions
30-
doCheck = false;
31-
});
32-
3317
django-extensions = prev.django-extensions.overridePythonAttrs {
3418
# Compat issues with Django 5.1
3519
# https://github.com/django-extensions/django-extensions/issues/1885
@@ -127,7 +111,6 @@ python.pkgs.buildPythonApplication rec {
127111
defusedcsv
128112
defusedxml
129113
django
130-
django-bootstrap4
131114
django-compressor
132115
django-context-decorator
133116
django-countries

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ python.pkgs.buildPythonApplication rec {
9292

9393
pythonRelaxDeps = [
9494
"beautifulsoup4"
95+
"django-bootstrap3"
9596
"django-phonenumber-field"
9697
"dnspython"
9798
"drf_ujson2"

pkgs/development/python-modules/django-bootstrap3/default.nix

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
fetchFromGitHub,
55

66
# build-system
7-
setuptools,
8-
setuptools-scm,
7+
hatchling,
98

10-
# non-propagates
9+
# dependencies
1110
django,
1211

1312
# tests
@@ -17,22 +16,19 @@
1716

1817
buildPythonPackage rec {
1918
pname = "django-bootstrap3";
20-
version = "24.3";
19+
version = "25.1";
2120
format = "pyproject";
2221

2322
src = fetchFromGitHub {
2423
owner = "zostera";
2524
repo = "django-bootstrap3";
2625
tag = "v${version}";
27-
hash = "sha256-7aHGTa98NaHg6C+fxuQsrPk/8XjHB3awp+gAWysOhAw=";
26+
hash = "sha256-gRDU2IDE6cOVBJzdOs8Ww9mItMy/2DPMYusC0TCTqkI=";
2827
};
2928

30-
nativeBuildInputs = [
31-
setuptools
32-
setuptools-scm
33-
];
29+
build-system = [ hatchling ];
3430

35-
buildInputs = [ django ];
31+
dependencies = [ django ];
3632

3733
pythonImportsCheck = [ "bootstrap3" ];
3834

pkgs/development/python-modules/django-bootstrap4/default.nix

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
fetchFromGitHub,
55

66
# build-system
7-
setuptools,
8-
setuptools-scm,
7+
hatchling,
98

109
# non-propagates
1110
django,
@@ -14,27 +13,23 @@
1413
beautifulsoup4,
1514

1615
# tests
17-
python,
1816
pytest-django,
1917
pytestCheckHook,
2018
}:
2119

2220
buildPythonPackage rec {
2321
pname = "django-bootstrap4";
24-
version = "24.4";
22+
version = "25.1";
2523
pyproject = true;
2624

2725
src = fetchFromGitHub {
2826
owner = "zostera";
2927
repo = "django-bootstrap4";
3028
tag = "v${version}";
31-
hash = "sha256-9URZ+10GVX171Zht49UQEDkVOZ7LfOtUvapLydzNAlk=";
29+
hash = "sha256-WIz7T2f3xvsT2rSq1MUFwHpvzgHyLgTRpzb9z98sUmo=";
3230
};
3331

34-
build-system = [
35-
setuptools
36-
setuptools-scm
37-
];
32+
build-system = [ hatchling ];
3833

3934
dependencies = [ beautifulsoup4 ];
4035

pkgs/development/python-modules/django-bootstrap5/default.nix

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
buildPythonPackage,
55
django,
66
fetchFromGitHub,
7+
hatchling,
78
jinja2,
89
pillow,
910
pytest-django,
1011
pytestCheckHook,
1112
pythonOlder,
12-
setuptools-scm,
13-
setuptools,
1413
}:
1514

1615
buildPythonPackage rec {
1716
pname = "django-bootstrap5";
18-
version = "24.3";
17+
version = "25.1";
1918
pyproject = true;
2019

2120
disabled = pythonOlder "3.7";
@@ -24,13 +23,10 @@ buildPythonPackage rec {
2423
owner = "zostera";
2524
repo = "django-bootstrap5";
2625
rev = "v${version}";
27-
hash = "sha256-8e0Pi4uSvQhiLYiMgOqWJWDc/KPMXxyU5pnT9jvFZLU=";
26+
hash = "sha256-5VYw9Kq33/YFW9mFzkFzhrxavfx6r/CtC1SJhZbanhg=";
2827
};
2928

30-
build-system = [
31-
setuptools
32-
setuptools-scm
33-
];
29+
build-system = [ hatchling ];
3430

3531
dependencies = [ django ];
3632

@@ -44,7 +40,7 @@ buildPythonPackage rec {
4440
pillow
4541
pytest-django
4642
pytestCheckHook
47-
] ++ lib.flatten (builtins.attrValues optional-dependencies);
43+
] ++ lib.flatten (lib.attrValues optional-dependencies);
4844

4945
preCheck = ''
5046
export DJANGO_SETTINGS_MODULE=tests.app.settings

0 commit comments

Comments
 (0)