Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.pytest-django: run all tests #333933

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

dotlambda
Copy link
Member

Description of changes

Previously some would be skipped with messages like

SKIPPED [1] tests/test_db_setup.py:203: could not import 'xdist': No module named 'xdist'

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (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.

Add a 👍 reaction to pull requests you find important.

@dotlambda
Copy link
Member Author

Result of nixpkgs-review pr 333933 run on aarch64-darwin 1

20 packages marked as broken and skipped:
  • baserow
  • baserow.dist
  • khoj
  • khoj.dist
  • mailman-web
  • mailman-web.dist
  • netbox_3_6
  • python311Packages.django-mailman3
  • python311Packages.django-mailman3.dist
  • python311Packages.djangorestframework-guardian
  • python311Packages.djangorestframework-guardian.dist
  • python311Packages.nplusone
  • python311Packages.nplusone.dist
  • python312Packages.django-mailman3
  • python312Packages.django-mailman3.dist
  • python312Packages.djangorestframework-guardian
  • python312Packages.djangorestframework-guardian.dist
  • python312Packages.nplusone
  • python312Packages.nplusone.dist
  • tandoor-recipes
179 packages failed to build:
  • netbox (netbox_3_7)
  • python311Packages.channels
  • python311Packages.channels-redis
  • python311Packages.channels-redis.dist
  • python311Packages.channels.dist
  • python311Packages.deal
  • python311Packages.deal.dist
  • python311Packages.dj-rest-auth
  • python311Packages.dj-rest-auth.dist
  • python311Packages.django-allauth
  • python311Packages.django-allauth-2fa
  • python311Packages.django-allauth-2fa.dist
  • python311Packages.django-allauth.dist
  • python311Packages.django-annoying
  • python311Packages.django-annoying.dist
  • python311Packages.django-bootstrap3
  • python311Packages.django-bootstrap3.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.django-cacheops
  • python311Packages.django-cacheops.dist
  • python311Packages.django-celery-beat
  • python311Packages.django-celery-beat.dist
  • python311Packages.django-celery-email
  • python311Packages.django-celery-email.dist
  • python311Packages.django-ckeditor
  • python311Packages.django-ckeditor.dist
  • python311Packages.django-compressor
  • python311Packages.django-compressor.dist
  • python311Packages.django-cors-headers
  • python311Packages.django-cors-headers.dist
  • python311Packages.django-countries
  • python311Packages.django-countries.dist
  • python311Packages.django-crispy-bootstrap4
  • python311Packages.django-crispy-bootstrap4.dist
  • python311Packages.django-crispy-bootstrap5
  • python311Packages.django-crispy-bootstrap5.dist
  • python311Packages.django-csp
  • python311Packages.django-csp.dist
  • python311Packages.django-dynamic-preferences
  • python311Packages.django-dynamic-preferences.dist
  • python311Packages.django-extensions
  • python311Packages.django-extensions.dist
  • python311Packages.django-filter
  • python311Packages.django-filter.dist
  • python311Packages.django-graphiql-debug-toolbar
  • python311Packages.django-graphiql-debug-toolbar.dist
  • python311Packages.django-guardian
  • python311Packages.django-guardian.dist
  • python311Packages.django-health-check
  • python311Packages.django-health-check.dist
  • python311Packages.django-hierarkey
  • python311Packages.django-hierarkey.dist
  • python311Packages.django-hijack
  • python311Packages.django-hijack.dist
  • python311Packages.django-i18nfield
  • python311Packages.django-i18nfield.dist
  • python311Packages.django-libsass
  • python311Packages.django-libsass.dist
  • python311Packages.django-localflavor
  • python311Packages.django-localflavor.dist
  • python311Packages.django-logentry-admin
  • python311Packages.django-logentry-admin.dist
  • python311Packages.django-login-required-middleware
  • python311Packages.django-login-required-middleware.dist
  • python311Packages.django-markup
  • python311Packages.django-markup.dist
  • python311Packages.django-modelcluster
  • python311Packages.django-modelcluster.dist
  • python311Packages.django-modeltranslation
  • python311Packages.django-modeltranslation.dist
  • python311Packages.django-ninja
  • python311Packages.django-ninja.dist
  • python311Packages.django-oauth-toolkit
  • python311Packages.django-oauth-toolkit.dist
  • python311Packages.django-pattern-library
  • python311Packages.django-pattern-library.dist
  • python311Packages.django-payments
  • python311Packages.django-payments.dist
  • python311Packages.django-phonenumber-field
  • python311Packages.django-phonenumber-field.dist
  • python311Packages.django-prometheus
  • python311Packages.django-prometheus.dist
  • python311Packages.django-ratelimit
  • python311Packages.django-ratelimit.dist
  • python311Packages.django-redis
  • python311Packages.django-redis.dist
  • python311Packages.django-rest-auth
  • python311Packages.django-rest-auth.dist
  • python311Packages.django-rest-polymorphic
  • python311Packages.django-rest-polymorphic.dist
  • python311Packages.django-rest-registration
  • python311Packages.django-rest-registration.dist
  • python311Packages.django-scim2
  • python311Packages.django-scim2.dist
  • python311Packages.django-scopes
  • python311Packages.django-scopes.dist
  • python311Packages.django-sekizai
  • python311Packages.django-sekizai.dist
  • python311Packages.django-statici18n
  • python311Packages.django-statici18n.dist
  • python311Packages.django-tables2
  • python311Packages.django-tables2.dist
  • python311Packages.django-taggit
  • python311Packages.django-taggit.dist
  • python311Packages.django-timezone-field
  • python311Packages.django-timezone-field.dist
  • python311Packages.django-treebeard
  • python311Packages.django-treebeard.dist
  • python311Packages.django-two-factor-auth
  • python311Packages.django-two-factor-auth.dist
  • python311Packages.djangorestframework
  • python311Packages.djangorestframework-camel-case
  • python311Packages.djangorestframework-camel-case.dist
  • python311Packages.djangorestframework-dataclasses
  • python311Packages.djangorestframework-dataclasses.dist
  • python311Packages.djangorestframework-guardian2
  • python311Packages.djangorestframework-guardian2.dist
  • python311Packages.djangorestframework-recursive
  • python311Packages.djangorestframework-recursive.dist
  • python311Packages.djangorestframework-simplejwt
  • python311Packages.djangorestframework-simplejwt.dist
  • python311Packages.djangorestframework.dist
  • python311Packages.drf-jwt
  • python311Packages.drf-jwt.dist
  • python311Packages.drf-nested-routers
  • python311Packages.drf-nested-routers.dist
  • python311Packages.drf-spectacular
  • python311Packages.drf-spectacular.dist
  • python311Packages.drf-ujson2
  • python311Packages.drf-ujson2.dist
  • python311Packages.drf-writable-nested
  • python311Packages.drf-writable-nested.dist
  • python311Packages.drf-yasg
  • python311Packages.drf-yasg.dist
  • python311Packages.graphene-django
  • python311Packages.graphene-django.dist
  • python311Packages.icontract
  • python311Packages.icontract.dist
  • python311Packages.jsonfield
  • python311Packages.jsonfield.dist
  • python311Packages.model-bakery
  • python311Packages.model-bakery.dist
  • python311Packages.mozilla-django-oidc
  • python311Packages.mozilla-django-oidc.dist
  • python311Packages.netbox-reorder-rack
  • python311Packages.netbox-reorder-rack.dist
  • python311Packages.permissionedforms
  • python311Packages.permissionedforms.dist
  • python311Packages.pylint-django
  • python311Packages.pylint-django.dist
  • python311Packages.pytest-django
  • python311Packages.pytest-django.dist
  • python311Packages.python-redis-lock
  • python311Packages.python-redis-lock.dist
  • python311Packages.rules
  • python311Packages.rules.dist
  • python311Packages.strawberry-graphql
  • python311Packages.strawberry-graphql.dist
  • python311Packages.vaa
  • python311Packages.vaa.dist
  • python311Packages.wagtail
  • python311Packages.wagtail-factories
  • python311Packages.wagtail-factories.dist
  • python311Packages.wagtail-localize
  • python311Packages.wagtail-localize.dist
  • python311Packages.wagtail-modeladmin
  • python311Packages.wagtail-modeladmin.dist
  • python311Packages.wagtail.dist
  • python312Packages.django-ratelimit
  • python312Packages.django-ratelimit.dist
  • python312Packages.django-redis
  • python312Packages.django-redis.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.python-redis-lock
  • python312Packages.python-redis-lock.dist
  • python312Packages.wagtail-localize
  • python312Packages.wagtail-localize.dist
158 packages built:
  • healthchecks
  • paperless-ngx
  • python312Packages.channels
  • python312Packages.channels-redis
  • python312Packages.channels-redis.dist
  • python312Packages.channels.dist
  • python312Packages.deal
  • python312Packages.deal.dist
  • python312Packages.dj-rest-auth
  • python312Packages.dj-rest-auth.dist
  • python312Packages.django-allauth
  • python312Packages.django-allauth-2fa
  • python312Packages.django-allauth-2fa.dist
  • python312Packages.django-allauth.dist
  • python312Packages.django-annoying
  • python312Packages.django-annoying.dist
  • python312Packages.django-bootstrap3
  • python312Packages.django-bootstrap3.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.django-cacheops
  • python312Packages.django-cacheops.dist
  • python312Packages.django-celery-beat
  • python312Packages.django-celery-beat.dist
  • python312Packages.django-celery-email
  • python312Packages.django-celery-email.dist
  • python312Packages.django-ckeditor
  • python312Packages.django-ckeditor.dist
  • python312Packages.django-compressor
  • python312Packages.django-compressor.dist
  • python312Packages.django-cors-headers
  • python312Packages.django-cors-headers.dist
  • python312Packages.django-countries
  • python312Packages.django-countries.dist
  • python312Packages.django-crispy-bootstrap4
  • python312Packages.django-crispy-bootstrap4.dist
  • python312Packages.django-crispy-bootstrap5
  • python312Packages.django-crispy-bootstrap5.dist
  • python312Packages.django-csp
  • python312Packages.django-csp.dist
  • python312Packages.django-extensions
  • python312Packages.django-extensions.dist
  • python312Packages.django-filter
  • python312Packages.django-filter.dist
  • python312Packages.django-graphiql-debug-toolbar
  • python312Packages.django-graphiql-debug-toolbar.dist
  • python312Packages.django-guardian
  • python312Packages.django-guardian.dist
  • python312Packages.django-health-check
  • python312Packages.django-health-check.dist
  • python312Packages.django-hierarkey
  • python312Packages.django-hierarkey.dist
  • python312Packages.django-hijack
  • python312Packages.django-hijack.dist
  • python312Packages.django-i18nfield
  • python312Packages.django-i18nfield.dist
  • python312Packages.django-libsass
  • python312Packages.django-libsass.dist
  • python312Packages.django-localflavor
  • python312Packages.django-localflavor.dist
  • python312Packages.django-logentry-admin
  • python312Packages.django-logentry-admin.dist
  • python312Packages.django-login-required-middleware
  • python312Packages.django-login-required-middleware.dist
  • python312Packages.django-markup
  • python312Packages.django-markup.dist
  • python312Packages.django-modelcluster
  • python312Packages.django-modelcluster.dist
  • python312Packages.django-modeltranslation
  • python312Packages.django-modeltranslation.dist
  • python312Packages.django-ninja
  • python312Packages.django-ninja.dist
  • python312Packages.django-oauth-toolkit
  • python312Packages.django-oauth-toolkit.dist
  • python312Packages.django-pattern-library
  • python312Packages.django-pattern-library.dist
  • python312Packages.django-payments
  • python312Packages.django-payments.dist
  • python312Packages.django-phonenumber-field
  • python312Packages.django-phonenumber-field.dist
  • python312Packages.django-prometheus
  • python312Packages.django-prometheus.dist
  • python312Packages.django-rest-auth
  • python312Packages.django-rest-auth.dist
  • python312Packages.django-rest-polymorphic
  • python312Packages.django-rest-polymorphic.dist
  • python312Packages.django-rest-registration
  • python312Packages.django-rest-registration.dist
  • python312Packages.django-scim2
  • python312Packages.django-scim2.dist
  • python312Packages.django-scopes
  • python312Packages.django-scopes.dist
  • python312Packages.django-sekizai
  • python312Packages.django-sekizai.dist
  • python312Packages.django-statici18n
  • python312Packages.django-statici18n.dist
  • python312Packages.django-tables2
  • python312Packages.django-tables2.dist
  • python312Packages.django-taggit
  • python312Packages.django-taggit.dist
  • python312Packages.django-timezone-field
  • python312Packages.django-timezone-field.dist
  • python312Packages.django-treebeard
  • python312Packages.django-treebeard.dist
  • python312Packages.django-two-factor-auth
  • python312Packages.django-two-factor-auth.dist
  • python312Packages.djangorestframework
  • python312Packages.djangorestframework-camel-case
  • python312Packages.djangorestframework-camel-case.dist
  • python312Packages.djangorestframework-dataclasses
  • python312Packages.djangorestframework-dataclasses.dist
  • python312Packages.djangorestframework-guardian2
  • python312Packages.djangorestframework-guardian2.dist
  • python312Packages.djangorestframework-recursive
  • python312Packages.djangorestframework-recursive.dist
  • python312Packages.djangorestframework-simplejwt
  • python312Packages.djangorestframework-simplejwt.dist
  • python312Packages.djangorestframework.dist
  • python312Packages.drf-jwt
  • python312Packages.drf-jwt.dist
  • python312Packages.drf-nested-routers
  • python312Packages.drf-nested-routers.dist
  • python312Packages.drf-spectacular
  • python312Packages.drf-spectacular.dist
  • python312Packages.drf-ujson2
  • python312Packages.drf-ujson2.dist
  • python312Packages.drf-writable-nested
  • python312Packages.drf-writable-nested.dist
  • python312Packages.drf-yasg
  • python312Packages.drf-yasg.dist
  • python312Packages.graphene-django
  • python312Packages.graphene-django.dist
  • python312Packages.icontract
  • python312Packages.icontract.dist
  • python312Packages.jsonfield
  • python312Packages.jsonfield.dist
  • python312Packages.model-bakery
  • python312Packages.model-bakery.dist
  • python312Packages.mozilla-django-oidc
  • python312Packages.mozilla-django-oidc.dist
  • python312Packages.permissionedforms
  • python312Packages.permissionedforms.dist
  • python312Packages.pylint-django
  • python312Packages.pylint-django.dist
  • python312Packages.pytest-django
  • python312Packages.pytest-django.dist
  • python312Packages.rules
  • python312Packages.rules.dist
  • python312Packages.strawberry-graphql
  • python312Packages.strawberry-graphql.dist
  • python312Packages.vaa
  • python312Packages.vaa.dist
  • python312Packages.wagtail
  • python312Packages.wagtail-factories
  • python312Packages.wagtail-factories.dist
  • python312Packages.wagtail-modeladmin
  • python312Packages.wagtail-modeladmin.dist
  • python312Packages.wagtail.dist

Previously some would be skipped with messages like

    SKIPPED [1] tests/test_db_setup.py:203: could not import 'xdist': No module named 'xdist'
@dotlambda dotlambda force-pushed the python3Packages.pytest-django branch from 79f3730 to 6b046b4 Compare August 14, 2024 09:39
@dotlambda
Copy link
Member Author

Result of nixpkgs-review pr 333933 run on aarch64-darwin 1

20 packages marked as broken and skipped:
  • baserow
  • baserow.dist
  • khoj
  • khoj.dist
  • mailman-web
  • mailman-web.dist
  • netbox_3_6
  • python311Packages.django-mailman3
  • python311Packages.django-mailman3.dist
  • python311Packages.djangorestframework-guardian
  • python311Packages.djangorestframework-guardian.dist
  • python311Packages.nplusone
  • python311Packages.nplusone.dist
  • python312Packages.django-mailman3
  • python312Packages.django-mailman3.dist
  • python312Packages.djangorestframework-guardian
  • python312Packages.djangorestframework-guardian.dist
  • python312Packages.nplusone
  • python312Packages.nplusone.dist
  • tandoor-recipes
21 packages failed to build:
  • netbox (netbox_3_7)
  • python311Packages.django-ratelimit
  • python311Packages.django-ratelimit.dist
  • python311Packages.django-redis
  • python311Packages.django-redis.dist
  • python311Packages.netbox-reorder-rack
  • python311Packages.netbox-reorder-rack.dist
  • python311Packages.python-redis-lock
  • python311Packages.python-redis-lock.dist
  • python311Packages.wagtail-localize
  • python311Packages.wagtail-localize.dist
  • python312Packages.django-ratelimit
  • python312Packages.django-ratelimit.dist
  • python312Packages.django-redis
  • python312Packages.django-redis.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.python-redis-lock
  • python312Packages.python-redis-lock.dist
  • python312Packages.wagtail-localize
  • python312Packages.wagtail-localize.dist
324 packages built:
  • healthchecks
  • paperless-ngx
  • python311Packages.aiosonic
  • python311Packages.aiosonic.dist
  • python311Packages.channels
  • python311Packages.channels-redis
  • python311Packages.channels-redis.dist
  • python311Packages.channels.dist
  • python311Packages.deal
  • python311Packages.deal.dist
  • python311Packages.dj-rest-auth
  • python311Packages.dj-rest-auth.dist
  • python311Packages.django-allauth
  • python311Packages.django-allauth-2fa
  • python311Packages.django-allauth-2fa.dist
  • python311Packages.django-allauth.dist
  • python311Packages.django-annoying
  • python311Packages.django-annoying.dist
  • python311Packages.django-bootstrap3
  • python311Packages.django-bootstrap3.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.django-cacheops
  • python311Packages.django-cacheops.dist
  • python311Packages.django-celery-beat
  • python311Packages.django-celery-beat.dist
  • python311Packages.django-celery-email
  • python311Packages.django-celery-email.dist
  • python311Packages.django-ckeditor
  • python311Packages.django-ckeditor.dist
  • python311Packages.django-compressor
  • python311Packages.django-compressor.dist
  • python311Packages.django-cors-headers
  • python311Packages.django-cors-headers.dist
  • python311Packages.django-countries
  • python311Packages.django-countries.dist
  • python311Packages.django-crispy-bootstrap3
  • python311Packages.django-crispy-bootstrap3.dist
  • python311Packages.django-crispy-bootstrap4
  • python311Packages.django-crispy-bootstrap4.dist
  • python311Packages.django-crispy-bootstrap5
  • python311Packages.django-crispy-bootstrap5.dist
  • python311Packages.django-csp
  • python311Packages.django-csp.dist
  • python311Packages.django-dynamic-preferences
  • python311Packages.django-dynamic-preferences.dist
  • python311Packages.django-extensions
  • python311Packages.django-extensions.dist
  • python311Packages.django-filter
  • python311Packages.django-filter.dist
  • python311Packages.django-graphiql-debug-toolbar
  • python311Packages.django-graphiql-debug-toolbar.dist
  • python311Packages.django-guardian
  • python311Packages.django-guardian.dist
  • python311Packages.django-health-check
  • python311Packages.django-health-check.dist
  • python311Packages.django-hierarkey
  • python311Packages.django-hierarkey.dist
  • python311Packages.django-hijack
  • python311Packages.django-hijack.dist
  • python311Packages.django-i18nfield
  • python311Packages.django-i18nfield.dist
  • python311Packages.django-libsass
  • python311Packages.django-libsass.dist
  • python311Packages.django-localflavor
  • python311Packages.django-localflavor.dist
  • python311Packages.django-logentry-admin
  • python311Packages.django-logentry-admin.dist
  • python311Packages.django-login-required-middleware
  • python311Packages.django-login-required-middleware.dist
  • python311Packages.django-markup
  • python311Packages.django-markup.dist
  • python311Packages.django-modelcluster
  • python311Packages.django-modelcluster.dist
  • python311Packages.django-modeltranslation
  • python311Packages.django-modeltranslation.dist
  • python311Packages.django-ninja
  • python311Packages.django-ninja.dist
  • python311Packages.django-oauth-toolkit
  • python311Packages.django-oauth-toolkit.dist
  • python311Packages.django-pattern-library
  • python311Packages.django-pattern-library.dist
  • python311Packages.django-payments
  • python311Packages.django-payments.dist
  • python311Packages.django-phonenumber-field
  • python311Packages.django-phonenumber-field.dist
  • python311Packages.django-prometheus
  • python311Packages.django-prometheus.dist
  • python311Packages.django-rest-auth
  • python311Packages.django-rest-auth.dist
  • python311Packages.django-rest-polymorphic
  • python311Packages.django-rest-polymorphic.dist
  • python311Packages.django-rest-registration
  • python311Packages.django-rest-registration.dist
  • python311Packages.django-scim2
  • python311Packages.django-scim2.dist
  • python311Packages.django-scopes
  • python311Packages.django-scopes.dist
  • python311Packages.django-sekizai
  • python311Packages.django-sekizai.dist
  • python311Packages.django-statici18n
  • python311Packages.django-statici18n.dist
  • python311Packages.django-tables2
  • python311Packages.django-tables2.dist
  • python311Packages.django-taggit
  • python311Packages.django-taggit.dist
  • python311Packages.django-timezone-field
  • python311Packages.django-timezone-field.dist
  • python311Packages.django-treebeard
  • python311Packages.django-treebeard.dist
  • python311Packages.django-two-factor-auth
  • python311Packages.django-two-factor-auth.dist
  • python311Packages.djangorestframework
  • python311Packages.djangorestframework-camel-case
  • python311Packages.djangorestframework-camel-case.dist
  • python311Packages.djangorestframework-dataclasses
  • python311Packages.djangorestframework-dataclasses.dist
  • python311Packages.djangorestframework-guardian2
  • python311Packages.djangorestframework-guardian2.dist
  • python311Packages.djangorestframework-recursive
  • python311Packages.djangorestframework-recursive.dist
  • python311Packages.djangorestframework-simplejwt
  • python311Packages.djangorestframework-simplejwt.dist
  • python311Packages.djangorestframework.dist
  • python311Packages.drf-jwt
  • python311Packages.drf-jwt.dist
  • python311Packages.drf-nested-routers
  • python311Packages.drf-nested-routers.dist
  • python311Packages.drf-spectacular
  • python311Packages.drf-spectacular.dist
  • python311Packages.drf-ujson2
  • python311Packages.drf-ujson2.dist
  • python311Packages.drf-writable-nested
  • python311Packages.drf-writable-nested.dist
  • python311Packages.drf-yasg
  • python311Packages.drf-yasg.dist
  • python311Packages.graphene-django
  • python311Packages.graphene-django.dist
  • python311Packages.icontract
  • python311Packages.icontract.dist
  • python311Packages.jsonfield
  • python311Packages.jsonfield.dist
  • python311Packages.model-bakery
  • python311Packages.model-bakery.dist
  • python311Packages.mozilla-django-oidc
  • python311Packages.mozilla-django-oidc.dist
  • python311Packages.permissionedforms
  • python311Packages.permissionedforms.dist
  • python311Packages.pylint-django
  • python311Packages.pylint-django.dist
  • python311Packages.pytest-django
  • python311Packages.pytest-django.dist
  • python311Packages.rules
  • python311Packages.rules.dist
  • python311Packages.strawberry-graphql
  • python311Packages.strawberry-graphql.dist
  • python311Packages.vaa
  • python311Packages.vaa.dist
  • python311Packages.wagtail
  • python311Packages.wagtail-factories
  • python311Packages.wagtail-factories.dist
  • python311Packages.wagtail-modeladmin
  • python311Packages.wagtail-modeladmin.dist
  • python311Packages.wagtail.dist
  • python312Packages.aiosonic
  • python312Packages.aiosonic.dist
  • python312Packages.channels
  • python312Packages.channels-redis
  • python312Packages.channels-redis.dist
  • python312Packages.channels.dist
  • python312Packages.deal
  • python312Packages.deal.dist
  • python312Packages.dj-rest-auth
  • python312Packages.dj-rest-auth.dist
  • python312Packages.django-allauth
  • python312Packages.django-allauth-2fa
  • python312Packages.django-allauth-2fa.dist
  • python312Packages.django-allauth.dist
  • python312Packages.django-annoying
  • python312Packages.django-annoying.dist
  • python312Packages.django-bootstrap3
  • python312Packages.django-bootstrap3.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.django-cacheops
  • python312Packages.django-cacheops.dist
  • python312Packages.django-celery-beat
  • python312Packages.django-celery-beat.dist
  • python312Packages.django-celery-email
  • python312Packages.django-celery-email.dist
  • python312Packages.django-ckeditor
  • python312Packages.django-ckeditor.dist
  • python312Packages.django-compressor
  • python312Packages.django-compressor.dist
  • python312Packages.django-cors-headers
  • python312Packages.django-cors-headers.dist
  • python312Packages.django-countries
  • python312Packages.django-countries.dist
  • python312Packages.django-crispy-bootstrap3
  • python312Packages.django-crispy-bootstrap3.dist
  • python312Packages.django-crispy-bootstrap4
  • python312Packages.django-crispy-bootstrap4.dist
  • python312Packages.django-crispy-bootstrap5
  • python312Packages.django-crispy-bootstrap5.dist
  • python312Packages.django-csp
  • python312Packages.django-csp.dist
  • python312Packages.django-extensions
  • python312Packages.django-extensions.dist
  • python312Packages.django-filter
  • python312Packages.django-filter.dist
  • python312Packages.django-graphiql-debug-toolbar
  • python312Packages.django-graphiql-debug-toolbar.dist
  • python312Packages.django-guardian
  • python312Packages.django-guardian.dist
  • python312Packages.django-health-check
  • python312Packages.django-health-check.dist
  • python312Packages.django-hierarkey
  • python312Packages.django-hierarkey.dist
  • python312Packages.django-hijack
  • python312Packages.django-hijack.dist
  • python312Packages.django-i18nfield
  • python312Packages.django-i18nfield.dist
  • python312Packages.django-libsass
  • python312Packages.django-libsass.dist
  • python312Packages.django-localflavor
  • python312Packages.django-localflavor.dist
  • python312Packages.django-logentry-admin
  • python312Packages.django-logentry-admin.dist
  • python312Packages.django-login-required-middleware
  • python312Packages.django-login-required-middleware.dist
  • python312Packages.django-markup
  • python312Packages.django-markup.dist
  • python312Packages.django-modelcluster
  • python312Packages.django-modelcluster.dist
  • python312Packages.django-modeltranslation
  • python312Packages.django-modeltranslation.dist
  • python312Packages.django-ninja
  • python312Packages.django-ninja.dist
  • python312Packages.django-oauth-toolkit
  • python312Packages.django-oauth-toolkit.dist
  • python312Packages.django-pattern-library
  • python312Packages.django-pattern-library.dist
  • python312Packages.django-payments
  • python312Packages.django-payments.dist
  • python312Packages.django-phonenumber-field
  • python312Packages.django-phonenumber-field.dist
  • python312Packages.django-prometheus
  • python312Packages.django-prometheus.dist
  • python312Packages.django-rest-auth
  • python312Packages.django-rest-auth.dist
  • python312Packages.django-rest-polymorphic
  • python312Packages.django-rest-polymorphic.dist
  • python312Packages.django-rest-registration
  • python312Packages.django-rest-registration.dist
  • python312Packages.django-scim2
  • python312Packages.django-scim2.dist
  • python312Packages.django-scopes
  • python312Packages.django-scopes.dist
  • python312Packages.django-sekizai
  • python312Packages.django-sekizai.dist
  • python312Packages.django-statici18n
  • python312Packages.django-statici18n.dist
  • python312Packages.django-tables2
  • python312Packages.django-tables2.dist
  • python312Packages.django-taggit
  • python312Packages.django-taggit.dist
  • python312Packages.django-timezone-field
  • python312Packages.django-timezone-field.dist
  • python312Packages.django-treebeard
  • python312Packages.django-treebeard.dist
  • python312Packages.django-two-factor-auth
  • python312Packages.django-two-factor-auth.dist
  • python312Packages.djangorestframework
  • python312Packages.djangorestframework-camel-case
  • python312Packages.djangorestframework-camel-case.dist
  • python312Packages.djangorestframework-dataclasses
  • python312Packages.djangorestframework-dataclasses.dist
  • python312Packages.djangorestframework-guardian2
  • python312Packages.djangorestframework-guardian2.dist
  • python312Packages.djangorestframework-recursive
  • python312Packages.djangorestframework-recursive.dist
  • python312Packages.djangorestframework-simplejwt
  • python312Packages.djangorestframework-simplejwt.dist
  • python312Packages.djangorestframework.dist
  • python312Packages.drf-jwt
  • python312Packages.drf-jwt.dist
  • python312Packages.drf-nested-routers
  • python312Packages.drf-nested-routers.dist
  • python312Packages.drf-spectacular
  • python312Packages.drf-spectacular.dist
  • python312Packages.drf-ujson2
  • python312Packages.drf-ujson2.dist
  • python312Packages.drf-writable-nested
  • python312Packages.drf-writable-nested.dist
  • python312Packages.drf-yasg
  • python312Packages.drf-yasg.dist
  • python312Packages.graphene-django
  • python312Packages.graphene-django.dist
  • python312Packages.icontract
  • python312Packages.icontract.dist
  • python312Packages.jsonfield
  • python312Packages.jsonfield.dist
  • python312Packages.model-bakery
  • python312Packages.model-bakery.dist
  • python312Packages.mozilla-django-oidc
  • python312Packages.mozilla-django-oidc.dist
  • python312Packages.permissionedforms
  • python312Packages.permissionedforms.dist
  • python312Packages.pylint-django
  • python312Packages.pylint-django.dist
  • python312Packages.pytest-django
  • python312Packages.pytest-django.dist
  • python312Packages.rules
  • python312Packages.rules.dist
  • python312Packages.strawberry-graphql
  • python312Packages.strawberry-graphql.dist
  • python312Packages.vaa
  • python312Packages.vaa.dist
  • python312Packages.wagtail
  • python312Packages.wagtail-factories
  • python312Packages.wagtail-factories.dist
  • python312Packages.wagtail-modeladmin
  • python312Packages.wagtail-modeladmin.dist
  • python312Packages.wagtail.dist

@ofborg ofborg bot requested a review from mweinelt August 14, 2024 14:31
@dotlambda
Copy link
Member Author

Result of nixpkgs-review pr 333933 run on aarch64-darwin 1

20 packages marked as broken and skipped:
  • baserow
  • baserow.dist
  • khoj
  • khoj.dist
  • mailman-web
  • mailman-web.dist
  • netbox_3_6
  • python311Packages.django-mailman3
  • python311Packages.django-mailman3.dist
  • python311Packages.djangorestframework-guardian
  • python311Packages.djangorestframework-guardian.dist
  • python311Packages.nplusone
  • python311Packages.nplusone.dist
  • python312Packages.django-mailman3
  • python312Packages.django-mailman3.dist
  • python312Packages.djangorestframework-guardian
  • python312Packages.djangorestframework-guardian.dist
  • python312Packages.nplusone
  • python312Packages.nplusone.dist
  • tandoor-recipes
8 packages failed to build:
  • python311Packages.python-redis-lock
  • python311Packages.python-redis-lock.dist
  • python311Packages.wagtail-localize
  • python311Packages.wagtail-localize.dist
  • python312Packages.python-redis-lock
  • python312Packages.python-redis-lock.dist
  • python312Packages.wagtail-localize
  • python312Packages.wagtail-localize.dist
337 packages built:
  • healthchecks
  • netbox (netbox_3_7)
  • paperless-ngx
  • python311Packages.aiosonic
  • python311Packages.aiosonic.dist
  • python311Packages.channels
  • python311Packages.channels-redis
  • python311Packages.channels-redis.dist
  • python311Packages.channels.dist
  • python311Packages.deal
  • python311Packages.deal.dist
  • python311Packages.dj-rest-auth
  • python311Packages.dj-rest-auth.dist
  • python311Packages.django-allauth
  • python311Packages.django-allauth-2fa
  • python311Packages.django-allauth-2fa.dist
  • python311Packages.django-allauth.dist
  • python311Packages.django-annoying
  • python311Packages.django-annoying.dist
  • python311Packages.django-bootstrap3
  • python311Packages.django-bootstrap3.dist
  • python311Packages.django-bootstrap5
  • python311Packages.django-bootstrap5.dist
  • python311Packages.django-cacheops
  • python311Packages.django-cacheops.dist
  • python311Packages.django-celery-beat
  • python311Packages.django-celery-beat.dist
  • python311Packages.django-celery-email
  • python311Packages.django-celery-email.dist
  • python311Packages.django-ckeditor
  • python311Packages.django-ckeditor.dist
  • python311Packages.django-compressor
  • python311Packages.django-compressor.dist
  • python311Packages.django-cors-headers
  • python311Packages.django-cors-headers.dist
  • python311Packages.django-countries
  • python311Packages.django-countries.dist
  • python311Packages.django-crispy-bootstrap3
  • python311Packages.django-crispy-bootstrap3.dist
  • python311Packages.django-crispy-bootstrap4
  • python311Packages.django-crispy-bootstrap4.dist
  • python311Packages.django-crispy-bootstrap5
  • python311Packages.django-crispy-bootstrap5.dist
  • python311Packages.django-csp
  • python311Packages.django-csp.dist
  • python311Packages.django-dynamic-preferences
  • python311Packages.django-dynamic-preferences.dist
  • python311Packages.django-extensions
  • python311Packages.django-extensions.dist
  • python311Packages.django-filter
  • python311Packages.django-filter.dist
  • python311Packages.django-graphiql-debug-toolbar
  • python311Packages.django-graphiql-debug-toolbar.dist
  • python311Packages.django-guardian
  • python311Packages.django-guardian.dist
  • python311Packages.django-health-check
  • python311Packages.django-health-check.dist
  • python311Packages.django-hierarkey
  • python311Packages.django-hierarkey.dist
  • python311Packages.django-hijack
  • python311Packages.django-hijack.dist
  • python311Packages.django-i18nfield
  • python311Packages.django-i18nfield.dist
  • python311Packages.django-libsass
  • python311Packages.django-libsass.dist
  • python311Packages.django-localflavor
  • python311Packages.django-localflavor.dist
  • python311Packages.django-logentry-admin
  • python311Packages.django-logentry-admin.dist
  • python311Packages.django-login-required-middleware
  • python311Packages.django-login-required-middleware.dist
  • python311Packages.django-markup
  • python311Packages.django-markup.dist
  • python311Packages.django-modelcluster
  • python311Packages.django-modelcluster.dist
  • python311Packages.django-modeltranslation
  • python311Packages.django-modeltranslation.dist
  • python311Packages.django-ninja
  • python311Packages.django-ninja.dist
  • python311Packages.django-oauth-toolkit
  • python311Packages.django-oauth-toolkit.dist
  • python311Packages.django-pattern-library
  • python311Packages.django-pattern-library.dist
  • python311Packages.django-payments
  • python311Packages.django-payments.dist
  • python311Packages.django-phonenumber-field
  • python311Packages.django-phonenumber-field.dist
  • python311Packages.django-prometheus
  • python311Packages.django-prometheus.dist
  • python311Packages.django-ratelimit
  • python311Packages.django-ratelimit.dist
  • python311Packages.django-redis
  • python311Packages.django-redis.dist
  • python311Packages.django-rest-auth
  • python311Packages.django-rest-auth.dist
  • python311Packages.django-rest-polymorphic
  • python311Packages.django-rest-polymorphic.dist
  • python311Packages.django-rest-registration
  • python311Packages.django-rest-registration.dist
  • python311Packages.django-scim2
  • python311Packages.django-scim2.dist
  • python311Packages.django-scopes
  • python311Packages.django-scopes.dist
  • python311Packages.django-sekizai
  • python311Packages.django-sekizai.dist
  • python311Packages.django-statici18n
  • python311Packages.django-statici18n.dist
  • python311Packages.django-tables2
  • python311Packages.django-tables2.dist
  • python311Packages.django-taggit
  • python311Packages.django-taggit.dist
  • python311Packages.django-timezone-field
  • python311Packages.django-timezone-field.dist
  • python311Packages.django-treebeard
  • python311Packages.django-treebeard.dist
  • python311Packages.django-two-factor-auth
  • python311Packages.django-two-factor-auth.dist
  • python311Packages.djangorestframework
  • python311Packages.djangorestframework-camel-case
  • python311Packages.djangorestframework-camel-case.dist
  • python311Packages.djangorestframework-dataclasses
  • python311Packages.djangorestframework-dataclasses.dist
  • python311Packages.djangorestframework-guardian2
  • python311Packages.djangorestframework-guardian2.dist
  • python311Packages.djangorestframework-recursive
  • python311Packages.djangorestframework-recursive.dist
  • python311Packages.djangorestframework-simplejwt
  • python311Packages.djangorestframework-simplejwt.dist
  • python311Packages.djangorestframework.dist
  • python311Packages.drf-jwt
  • python311Packages.drf-jwt.dist
  • python311Packages.drf-nested-routers
  • python311Packages.drf-nested-routers.dist
  • python311Packages.drf-spectacular
  • python311Packages.drf-spectacular.dist
  • python311Packages.drf-ujson2
  • python311Packages.drf-ujson2.dist
  • python311Packages.drf-writable-nested
  • python311Packages.drf-writable-nested.dist
  • python311Packages.drf-yasg
  • python311Packages.drf-yasg.dist
  • python311Packages.graphene-django
  • python311Packages.graphene-django.dist
  • python311Packages.icontract
  • python311Packages.icontract.dist
  • python311Packages.jsonfield
  • python311Packages.jsonfield.dist
  • python311Packages.model-bakery
  • python311Packages.model-bakery.dist
  • python311Packages.mozilla-django-oidc
  • python311Packages.mozilla-django-oidc.dist
  • python311Packages.netbox-reorder-rack
  • python311Packages.netbox-reorder-rack.dist
  • python311Packages.permissionedforms
  • python311Packages.permissionedforms.dist
  • python311Packages.pylint-django
  • python311Packages.pylint-django.dist
  • python311Packages.pytest-django
  • python311Packages.pytest-django.dist
  • python311Packages.rules
  • python311Packages.rules.dist
  • python311Packages.strawberry-graphql
  • python311Packages.strawberry-graphql.dist
  • python311Packages.vaa
  • python311Packages.vaa.dist
  • python311Packages.wagtail
  • python311Packages.wagtail-factories
  • python311Packages.wagtail-factories.dist
  • python311Packages.wagtail-modeladmin
  • python311Packages.wagtail-modeladmin.dist
  • python311Packages.wagtail.dist
  • python312Packages.aiosonic
  • python312Packages.aiosonic.dist
  • python312Packages.channels
  • python312Packages.channels-redis
  • python312Packages.channels-redis.dist
  • python312Packages.channels.dist
  • python312Packages.deal
  • python312Packages.deal.dist
  • python312Packages.dj-rest-auth
  • python312Packages.dj-rest-auth.dist
  • python312Packages.django-allauth
  • python312Packages.django-allauth-2fa
  • python312Packages.django-allauth-2fa.dist
  • python312Packages.django-allauth.dist
  • python312Packages.django-annoying
  • python312Packages.django-annoying.dist
  • python312Packages.django-bootstrap3
  • python312Packages.django-bootstrap3.dist
  • python312Packages.django-bootstrap5
  • python312Packages.django-bootstrap5.dist
  • python312Packages.django-cacheops
  • python312Packages.django-cacheops.dist
  • python312Packages.django-celery-beat
  • python312Packages.django-celery-beat.dist
  • python312Packages.django-celery-email
  • python312Packages.django-celery-email.dist
  • python312Packages.django-ckeditor
  • python312Packages.django-ckeditor.dist
  • python312Packages.django-compressor
  • python312Packages.django-compressor.dist
  • python312Packages.django-cors-headers
  • python312Packages.django-cors-headers.dist
  • python312Packages.django-countries
  • python312Packages.django-countries.dist
  • python312Packages.django-crispy-bootstrap3
  • python312Packages.django-crispy-bootstrap3.dist
  • python312Packages.django-crispy-bootstrap4
  • python312Packages.django-crispy-bootstrap4.dist
  • python312Packages.django-crispy-bootstrap5
  • python312Packages.django-crispy-bootstrap5.dist
  • python312Packages.django-csp
  • python312Packages.django-csp.dist
  • python312Packages.django-extensions
  • python312Packages.django-extensions.dist
  • python312Packages.django-filter
  • python312Packages.django-filter.dist
  • python312Packages.django-graphiql-debug-toolbar
  • python312Packages.django-graphiql-debug-toolbar.dist
  • python312Packages.django-guardian
  • python312Packages.django-guardian.dist
  • python312Packages.django-health-check
  • python312Packages.django-health-check.dist
  • python312Packages.django-hierarkey
  • python312Packages.django-hierarkey.dist
  • python312Packages.django-hijack
  • python312Packages.django-hijack.dist
  • python312Packages.django-i18nfield
  • python312Packages.django-i18nfield.dist
  • python312Packages.django-libsass
  • python312Packages.django-libsass.dist
  • python312Packages.django-localflavor
  • python312Packages.django-localflavor.dist
  • python312Packages.django-logentry-admin
  • python312Packages.django-logentry-admin.dist
  • python312Packages.django-login-required-middleware
  • python312Packages.django-login-required-middleware.dist
  • python312Packages.django-markup
  • python312Packages.django-markup.dist
  • python312Packages.django-modelcluster
  • python312Packages.django-modelcluster.dist
  • python312Packages.django-modeltranslation
  • python312Packages.django-modeltranslation.dist
  • python312Packages.django-ninja
  • python312Packages.django-ninja.dist
  • python312Packages.django-oauth-toolkit
  • python312Packages.django-oauth-toolkit.dist
  • python312Packages.django-pattern-library
  • python312Packages.django-pattern-library.dist
  • python312Packages.django-payments
  • python312Packages.django-payments.dist
  • python312Packages.django-phonenumber-field
  • python312Packages.django-phonenumber-field.dist
  • python312Packages.django-prometheus
  • python312Packages.django-prometheus.dist
  • python312Packages.django-ratelimit
  • python312Packages.django-ratelimit.dist
  • python312Packages.django-redis
  • python312Packages.django-redis.dist
  • python312Packages.django-rest-auth
  • python312Packages.django-rest-auth.dist
  • python312Packages.django-rest-polymorphic
  • python312Packages.django-rest-polymorphic.dist
  • python312Packages.django-rest-registration
  • python312Packages.django-rest-registration.dist
  • python312Packages.django-scim2
  • python312Packages.django-scim2.dist
  • python312Packages.django-scopes
  • python312Packages.django-scopes.dist
  • python312Packages.django-sekizai
  • python312Packages.django-sekizai.dist
  • python312Packages.django-statici18n
  • python312Packages.django-statici18n.dist
  • python312Packages.django-tables2
  • python312Packages.django-tables2.dist
  • python312Packages.django-taggit
  • python312Packages.django-taggit.dist
  • python312Packages.django-timezone-field
  • python312Packages.django-timezone-field.dist
  • python312Packages.django-treebeard
  • python312Packages.django-treebeard.dist
  • python312Packages.django-two-factor-auth
  • python312Packages.django-two-factor-auth.dist
  • python312Packages.djangorestframework
  • python312Packages.djangorestframework-camel-case
  • python312Packages.djangorestframework-camel-case.dist
  • python312Packages.djangorestframework-dataclasses
  • python312Packages.djangorestframework-dataclasses.dist
  • python312Packages.djangorestframework-guardian2
  • python312Packages.djangorestframework-guardian2.dist
  • python312Packages.djangorestframework-recursive
  • python312Packages.djangorestframework-recursive.dist
  • python312Packages.djangorestframework-simplejwt
  • python312Packages.djangorestframework-simplejwt.dist
  • python312Packages.djangorestframework.dist
  • python312Packages.drf-jwt
  • python312Packages.drf-jwt.dist
  • python312Packages.drf-nested-routers
  • python312Packages.drf-nested-routers.dist
  • python312Packages.drf-spectacular
  • python312Packages.drf-spectacular.dist
  • python312Packages.drf-ujson2
  • python312Packages.drf-ujson2.dist
  • python312Packages.drf-writable-nested
  • python312Packages.drf-writable-nested.dist
  • python312Packages.drf-yasg
  • python312Packages.drf-yasg.dist
  • python312Packages.graphene-django
  • python312Packages.graphene-django.dist
  • python312Packages.icontract
  • python312Packages.icontract.dist
  • python312Packages.jsonfield
  • python312Packages.jsonfield.dist
  • python312Packages.model-bakery
  • python312Packages.model-bakery.dist
  • python312Packages.mozilla-django-oidc
  • python312Packages.mozilla-django-oidc.dist
  • python312Packages.netbox-reorder-rack
  • python312Packages.netbox-reorder-rack.dist
  • python312Packages.permissionedforms
  • python312Packages.permissionedforms.dist
  • python312Packages.pylint-django
  • python312Packages.pylint-django.dist
  • python312Packages.pytest-django
  • python312Packages.pytest-django.dist
  • python312Packages.rules
  • python312Packages.rules.dist
  • python312Packages.strawberry-graphql
  • python312Packages.strawberry-graphql.dist
  • python312Packages.vaa
  • python312Packages.vaa.dist
  • python312Packages.wagtail
  • python312Packages.wagtail-factories
  • python312Packages.wagtail-factories.dist
  • python312Packages.wagtail-modeladmin
  • python312Packages.wagtail-modeladmin.dist
  • python312Packages.wagtail.dist

@dotlambda dotlambda merged commit aca3a55 into NixOS:master Aug 15, 2024
25 of 26 checks passed
@dotlambda dotlambda deleted the python3Packages.pytest-django branch August 15, 2024 15:05

nativeCheckInputs = [
django-configurations
pytest-xdist
Copy link
Member

Choose a reason for hiding this comment

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

I think we exposed some racy tests here: I tried building it multiple times and every time some other tests have failed:

#336569

=================================== FAILURES ===================================
_________________ Test_django_db_blocker.test_unblock_manually _________________
[gw87] linux -- Python 3.12.4 /nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3.12

self = <django.db.backends.utils.CursorWrapper object at 0x7ffff4a9a3f0>
sql = 'SELECT %s AS "a" FROM "app_item" LIMIT 1', params = (1,)
ignored_wrapper_args = (False, {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7ffff4a9a3f0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7ffff47ad6d0>
query = 'SELECT ? AS "a" FROM "app_item" LIMIT 1', params = (1,)

    def execute(self, query, params=None):
        if params is None:
            return super().execute(query)
        # Extract names if params is a mapping, i.e. "pyformat" style is used.
        param_names = list(params) if isinstance(params, Mapping) else None
        query = self.convert_query(query, param_names=param_names)
>       return super().execute(query, params)
E       sqlite3.OperationalError: no such table: app_item

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py:328: OperationalError

The above exception was the direct cause of the following exception:

self = <tests.test_fixtures.Test_django_db_blocker object at 0x7ffff477e3c0>
django_db_blocker = <pytest_django.plugin.DjangoDbBlocker object at 0x7ffff5cd7d10>

    def test_unblock_manually(self, django_db_blocker: DjangoDbBlocker) -> None:
        try:
            django_db_blocker.unblock()
>           Item.objects.exists()

tests/test_fixtures.py:719: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/manager.py:87: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/query.py:1241: in exists
    return self.query.has_results(using=self.db)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/query.py:598: in has_results
    return compiler.has_results()
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/compiler.py:1530: in has_results
    return bool(self.execute_sql(SINGLE))
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/compiler.py:1562: in execute_sql
    cursor.execute(sql, params)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:67: in execute
    return self._execute_with_wrappers(
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:80: in _execute_with_wrappers
    return executor(sql, params, many, context)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:84: in _execute
    with self.db.wrap_database_errors:
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/utils.py:91: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:89: in _execute
    return self.cursor.execute(sql, params)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7ffff47ad6d0>
query = 'SELECT ? AS "a" FROM "app_item" LIMIT 1', params = (1,)

    def execute(self, query, params=None):
        if params is None:
            return super().execute(query)
        # Extract names if params is a mapping, i.e. "pyformat" style is used.
        param_names = list(params) if isinstance(params, Mapping) else None
        query = self.convert_query(query, param_names=param_names)
>       return super().execute(query, params)
E       django.db.utils.OperationalError: no such table: app_item

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py:328: OperationalError
________________ Test_django_db_blocker.test_unblock_with_block ________________
[gw87] linux -- Python 3.12.4 /nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3.12

self = <django.db.backends.utils.CursorWrapper object at 0x7ffff4ac65d0>
sql = 'SELECT %s AS "a" FROM "app_item" LIMIT 1', params = (1,)
ignored_wrapper_args = (False, {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7ffff4ac65d0>})

    def _execute(self, sql, params, *ignored_wrapper_args):
        self.db.validate_no_broken_transaction()
        with self.db.wrap_database_errors:
            if params is None:
                # params default might be backend specific.
                return self.cursor.execute(sql)
            else:
>               return self.cursor.execute(sql, params)

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7ffff461f020>
query = 'SELECT ? AS "a" FROM "app_item" LIMIT 1', params = (1,)

    def execute(self, query, params=None):
        if params is None:
            return super().execute(query)
        # Extract names if params is a mapping, i.e. "pyformat" style is used.
        param_names = list(params) if isinstance(params, Mapping) else None
        query = self.convert_query(query, param_names=param_names)
>       return super().execute(query, params)
E       sqlite3.OperationalError: no such table: app_item

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py:328: OperationalError

The above exception was the direct cause of the following exception:

self = <tests.test_fixtures.Test_django_db_blocker object at 0x7ffff477e750>
django_db_blocker = <pytest_django.plugin.DjangoDbBlocker object at 0x7ffff5cd7d10>

    def test_unblock_with_block(self, django_db_blocker: DjangoDbBlocker) -> None:
        with django_db_blocker.unblock():
>           Item.objects.exists()

tests/test_fixtures.py:725: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/manager.py:87: in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/query.py:1241: in exists
    return self.query.has_results(using=self.db)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/query.py:598: in has_results
    return compiler.has_results()
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/compiler.py:1530: in has_results
    return bool(self.execute_sql(SINGLE))
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/models/sql/compiler.py:1562: in execute_sql
    cursor.execute(sql, params)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:67: in execute
    return self._execute_with_wrappers(
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:80: in _execute_with_wrappers
    return executor(sql, params, many, context)
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:84: in _execute
    with self.db.wrap_database_errors:
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/utils.py:91: in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/utils.py:89: in _execute
    return self.cursor.execute(sql, params)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7ffff461f020>
query = 'SELECT ? AS "a" FROM "app_item" LIMIT 1', params = (1,)

    def execute(self, query, params=None):
        if params is None:
            return super().execute(query)
        # Extract names if params is a mapping, i.e. "pyformat" style is used.
        param_names = list(params) if isinstance(params, Mapping) else None
        query = self.convert_query(query, param_names=param_names)
>       return super().execute(query, params)
E       django.db.utils.OperationalError: no such table: app_item

/nix/store/d9nnvdisc2d5dvqsgv48niqrp9fxsqx9-python3.12-django-4.2.15/lib/python3.12/site-packages/django/db/backends/sqlite3/base.py:328: OperationalError
=========================== short test summary info ============================
SKIPPED [2] pytest_django_test/db_helpers.py:91: Do not test db reuse since database does not support it
FAILED tests/test_fixtures.py::Test_django_db_blocker::test_unblock_manually - django.db.utils.OperationalError: no such table: app_item
FAILED tests/test_fixtures.py::Test_django_db_blocker::test_unblock_with_block - django.db.utils.OperationalError: no such table: app_item
=================== 2 failed, 213 passed, 2 skipped in 8.05s ===================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants