Skip to content

Conversation

dotlambda
Copy link
Member

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 12, 2025
@nix-owners nix-owners bot requested a review from natsukium June 12, 2025 02:57
@github-actions github-actions bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jun 12, 2025
@nix-owners nix-owners bot requested review from Defelo and happysalada June 12, 2025 03:01
@dotlambda dotlambda requested a review from mweinelt June 12, 2025 03:16
@mweinelt

This comment was marked as resolved.

@mweinelt
Copy link
Member

mweinelt commented Jun 12, 2025

Too much was broken of the django ecosystem was broken on 5.2 the last time I tried this in #396590.

@dotlambda
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 416022
Commit: e603212328a976b952b1f9cc54e4c305e8c0238c


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • netbox_4_1
❌ 9 packages failed to build:
  • authentik
  • paperless-ngx
  • paperless-ngx.dist
  • pretalx
  • pretalx.dist
  • pretalx.static
  • weblate
  • weblate.dist
  • weblate.static
✅ 53 packages built:
  • glitchtip
  • healthchecks
  • netbox (netbox_4_2)
  • python312Packages.django-apscheduler
  • python312Packages.django-apscheduler.dist
  • python312Packages.django-postgres-partition
  • python312Packages.django-postgres-partition.dist
  • python312Packages.django_5
  • python312Packages.django_5.dist
  • python312Packages.netbox-attachments
  • python312Packages.netbox-attachments.dist
  • python312Packages.netbox-bgp
  • python312Packages.netbox-bgp.dist
  • python312Packages.netbox-contract
  • python312Packages.netbox-contract.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.netbox-floorplan-plugin
  • python312Packages.netbox-floorplan-plugin.dist
  • python312Packages.netbox-interface-synchronization
  • python312Packages.netbox-interface-synchronization.dist
  • python312Packages.netbox-napalm-plugin
  • python312Packages.netbox-napalm-plugin.dist
  • python312Packages.netbox-plugin-prometheus-sd
  • python312Packages.netbox-plugin-prometheus-sd.dist
  • python312Packages.netbox-qrcode
  • python312Packages.netbox-qrcode.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.netbox-routing
  • python312Packages.netbox-routing.dist
  • python312Packages.netbox-topology-views
  • python312Packages.netbox-topology-views.dist
  • python313Packages.django-apscheduler
  • python313Packages.django-apscheduler.dist
  • python313Packages.django-postgres-partition
  • python313Packages.django-postgres-partition.dist
  • python313Packages.django_5
  • python313Packages.django_5.dist
  • python313Packages.netbox-bgp
  • python313Packages.netbox-bgp.dist
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.netbox-interface-synchronization
  • python313Packages.netbox-interface-synchronization.dist
  • python313Packages.netbox-plugin-prometheus-sd
  • python313Packages.netbox-plugin-prometheus-sd.dist
  • python313Packages.netbox-qrcode
  • python313Packages.netbox-qrcode.dist
  • python313Packages.netbox-reorder-rack
  • python313Packages.netbox-reorder-rack.dist
  • python313Packages.netbox-routing
  • python313Packages.netbox-routing.dist

Error logs: `x86_64-linux`
paperless-ngx
processing file django.po in /build/source/src/locale/da_DK/LC_MESSAGES
processing file django.po in /build/source/src/locale/xh_ZA/LC_MESSAGES
processing file django.po in /build/source/src/locale/el_GR/LC_MESSAGES
processing file django.po in /build/source/src/locale/vi_VN/LC_MESSAGES
processing file django.po in /build/source/src/locale/de_DE/LC_MESSAGES
processing file django.po in /build/source/src/locale/hr_HR/LC_MESSAGES
processing file django.po in /build/source/src/locale/la_LA/LC_MESSAGES
processing file django.po in /build/source/src/locale/ja_JP/LC_MESSAGES
processing file django.po in /build/source/src/locale/th_TH/LC_MESSAGES
processing file django.po in /build/source/src/locale/pt_BR/LC_MESSAGES
/build/source/dist /build/source
Unpacking to: unpacked/paperless_ngx-2.16.3...OK
Repacking wheel as ./paperless_ngx-2.16.3-py3-none-any.whl...OK
/build/source
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for paperless_ngx-2.16.3-py3-none-any.whl
  - django~=5.1.7 not satisfied by version 5.2.3
pretalx
processing file django.po in /build/source/build/lib/pretalx/locale/ru/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/de_DE/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/cs/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/vi/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/ko/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/ja_JP/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/pt_BR/LC_MESSAGES
processing file django.po in /build/source/build/lib/pretalx/locale/ca/LC_MESSAGES

436 static files copied to '/build/source/src/static.dist', 1092 post-processed.
/build/source/dist /build/source
Unpacking to: unpacked/pretalx-2025.1.0...OK
Repacking wheel as ./pretalx-2025.1.0-py3-none-any.whl...OK
/build/source
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for pretalx-2025.1.0-py3-none-any.whl

  • django~=5.1.0 not satisfied by version 5.2.3

@dotlambda
Copy link
Member Author

Too much was broken of the django ecosystem was broken on 5.2 the last time I tried this in #396590.

Hmm, my search didn't bring up that PR. Sorry!

@dotlambda dotlambda force-pushed the python3Packages.django branch from e603212 to 0d5b5c6 Compare June 12, 2025 06:54
@dotlambda
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 416022
Commit: 0d5b5c6213e27a50ce735bc12db29ef351148cc1


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • netbox_4_1
✅ 70 packages built:
  • authentik
  • glitchtip
  • healthchecks
  • netbox (netbox_4_2)
  • python312Packages.crispy-bootstrap3
  • python312Packages.crispy-bootstrap3.dist
  • python312Packages.crispy-bootstrap4
  • python312Packages.crispy-bootstrap4.dist
  • python312Packages.crispy-bootstrap5
  • python312Packages.crispy-bootstrap5.dist
  • python312Packages.django-apscheduler
  • python312Packages.django-apscheduler.dist
  • python312Packages.django-postgres-partition
  • python312Packages.django-postgres-partition.dist
  • python312Packages.django_5
  • python312Packages.django_5.dist
  • python312Packages.netbox-attachments
  • python312Packages.netbox-attachments.dist
  • python312Packages.netbox-bgp
  • python312Packages.netbox-bgp.dist
  • python312Packages.netbox-contract
  • python312Packages.netbox-contract.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.netbox-floorplan-plugin
  • python312Packages.netbox-floorplan-plugin.dist
  • python312Packages.netbox-interface-synchronization
  • python312Packages.netbox-interface-synchronization.dist
  • python312Packages.netbox-napalm-plugin
  • python312Packages.netbox-napalm-plugin.dist
  • python312Packages.netbox-plugin-prometheus-sd
  • python312Packages.netbox-plugin-prometheus-sd.dist
  • python312Packages.netbox-qrcode
  • python312Packages.netbox-qrcode.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.netbox-routing
  • python312Packages.netbox-routing.dist
  • python312Packages.netbox-topology-views
  • python312Packages.netbox-topology-views.dist
  • python313Packages.crispy-bootstrap3
  • python313Packages.crispy-bootstrap3.dist
  • python313Packages.crispy-bootstrap4
  • python313Packages.crispy-bootstrap4.dist
  • python313Packages.crispy-bootstrap5
  • python313Packages.crispy-bootstrap5.dist
  • python313Packages.django-apscheduler
  • python313Packages.django-apscheduler.dist
  • python313Packages.django-postgres-partition
  • python313Packages.django-postgres-partition.dist
  • python313Packages.django_5
  • python313Packages.django_5.dist
  • python313Packages.netbox-bgp
  • python313Packages.netbox-bgp.dist
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.netbox-interface-synchronization
  • python313Packages.netbox-interface-synchronization.dist
  • python313Packages.netbox-plugin-prometheus-sd
  • python313Packages.netbox-plugin-prometheus-sd.dist
  • python313Packages.netbox-qrcode
  • python313Packages.netbox-qrcode.dist
  • python313Packages.netbox-reorder-rack
  • python313Packages.netbox-reorder-rack.dist
  • python313Packages.netbox-routing
  • python313Packages.netbox-routing.dist
  • tandoor-recipes
  • weblate
  • weblate.dist
  • weblate.static

@rissson
Copy link
Member

rissson commented Jun 12, 2025

authentik doesn't yet work with django 5.2. Implementation is happening in goauthentik/authentik#14709

@dotlambda
Copy link
Member Author

authentik doesn't yet work with django 5.2. Implementation is happening in goauthentik/authentik#14709

That PR doesn't change any actual code. What indicates it doesn't work?
Please add tests to the package that would catch this.

@rissson
Copy link
Member

rissson commented Jun 12, 2025

authentik doesn't yet work with django 5.2. Implementation is happening in goauthentik/authentik#14709

That PR doesn't change any actual code. What indicates it doesn't work? Please add tests to the package that would catch this.

It doesn't yet but the tests do indeed catch the error in the upstream project. The tests for authentik are probably disabled because they require postgres+redis to run.

@dotlambda
Copy link
Member Author

authentik doesn't yet work with django 5.2. Implementation is happening in goauthentik/authentik#14709

That PR doesn't change any actual code. What indicates it doesn't work? Please add tests to the package that would catch this.

It doesn't yet but the tests do indeed catch the error in the upstream project. The tests for authentik are probably disabled because they require postgres+redis to run.

That's not a reason to disable tests. There could at least be a NixOS test but you can also use postgresqlTestHook.

@mweinelt
Copy link
Member

And redisTestHook.

@dotlambda dotlambda mentioned this pull request Jun 12, 2025
13 tasks
@mweinelt
Copy link
Member

mweinelt commented Jun 12, 2025

Looked into the authentik-django tests a bit, but didn't get them running, but it's a start. Not going to continue working on them, nor will I submit them to nixpkgs like that.

https://github.com/mweinelt/nixpkgs/pull/new/authentik-tests

@dotlambda
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 416022
Commit: 2f3a937a2e41e11dd91a29eaf18e2e9529b7dcde


x86_64-linux

⏩ 1 package marked as broken and skipped:
  • netbox_4_1
✅ 70 packages built:
  • authentik
  • glitchtip
  • healthchecks
  • netbox (netbox_4_2)
  • python312Packages.crispy-bootstrap3
  • python312Packages.crispy-bootstrap3.dist
  • python312Packages.crispy-bootstrap4
  • python312Packages.crispy-bootstrap4.dist
  • python312Packages.crispy-bootstrap5
  • python312Packages.crispy-bootstrap5.dist
  • python312Packages.django-apscheduler
  • python312Packages.django-apscheduler.dist
  • python312Packages.django-postgres-partition
  • python312Packages.django-postgres-partition.dist
  • python312Packages.django_5
  • python312Packages.django_5.dist
  • python312Packages.netbox-attachments
  • python312Packages.netbox-attachments.dist
  • python312Packages.netbox-bgp
  • python312Packages.netbox-bgp.dist
  • python312Packages.netbox-contract
  • python312Packages.netbox-contract.dist
  • python312Packages.netbox-documents
  • python312Packages.netbox-documents.dist
  • python312Packages.netbox-floorplan-plugin
  • python312Packages.netbox-floorplan-plugin.dist
  • python312Packages.netbox-interface-synchronization
  • python312Packages.netbox-interface-synchronization.dist
  • python312Packages.netbox-napalm-plugin
  • python312Packages.netbox-napalm-plugin.dist
  • python312Packages.netbox-plugin-prometheus-sd
  • python312Packages.netbox-plugin-prometheus-sd.dist
  • python312Packages.netbox-qrcode
  • python312Packages.netbox-qrcode.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.netbox-routing
  • python312Packages.netbox-routing.dist
  • python312Packages.netbox-topology-views
  • python312Packages.netbox-topology-views.dist
  • python313Packages.crispy-bootstrap3
  • python313Packages.crispy-bootstrap3.dist
  • python313Packages.crispy-bootstrap4
  • python313Packages.crispy-bootstrap4.dist
  • python313Packages.crispy-bootstrap5
  • python313Packages.crispy-bootstrap5.dist
  • python313Packages.django-apscheduler
  • python313Packages.django-apscheduler.dist
  • python313Packages.django-postgres-partition
  • python313Packages.django-postgres-partition.dist
  • python313Packages.django_5
  • python313Packages.django_5.dist
  • python313Packages.netbox-bgp
  • python313Packages.netbox-bgp.dist
  • python313Packages.netbox-documents
  • python313Packages.netbox-documents.dist
  • python313Packages.netbox-interface-synchronization
  • python313Packages.netbox-interface-synchronization.dist
  • python313Packages.netbox-plugin-prometheus-sd
  • python313Packages.netbox-plugin-prometheus-sd.dist
  • python313Packages.netbox-qrcode
  • python313Packages.netbox-qrcode.dist
  • python313Packages.netbox-reorder-rack
  • python313Packages.netbox-reorder-rack.dist
  • python313Packages.netbox-routing
  • python313Packages.netbox-routing.dist
  • tandoor-recipes
  • weblate
  • weblate.dist
  • weblate.static

@dotlambda dotlambda requested a review from rissson June 12, 2025 17:14
Copy link
Member

@erictapen erictapen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the weblate change

@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jun 13, 2025
@dotlambda dotlambda merged commit aaed757 into NixOS:master Jun 13, 2025
21 of 23 checks passed
@dotlambda dotlambda deleted the python3Packages.django branch June 13, 2025 15:59
@transcaffeine transcaffeine added the backport release-25.05 Backport PR automatically label Aug 10, 2025
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Aug 10, 2025

Backport failed for release-25.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-25.05
git worktree add -d .worktree/backport-416022-to-release-25.05 origin/release-25.05
cd .worktree/backport-416022-to-release-25.05
git switch --create backport-416022-to-release-25.05
git cherry-pick -x 2fa44a6777ae30971f6f842882012d912df944d0 5d0bac880feb851703fc5460b0615e31f8a35c80 127252b5ed85c83416c6de760d97b00dd14cab8e 611b1e21e19b1c3fd452cb96c0491299b4ca4f0c f6f5cf8b93bf3da3baa4b017a44951b18ae55330 63acd590946323a19905a3ad428b49ac2d44b04b 58996511f655c52d5f6c3cb990ce32b55dfd9922 e1077a7e298425ff743d5b6d6e2af7a30386bc7b dcf15c53377212aea4151a02ade6266a633e48df 0d5b5c6213e27a50ce735bc12db29ef351148cc1 2f3a937a2e41e11dd91a29eaf18e2e9529b7dcde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python Python is a high-level, general-purpose programming language. 9.needs: port to stable A PR needs a backport to the stable release. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport release-25.05 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants