Skip to content

Upgrade to Django 4.2 #113

Upgrade to Django 4.2

Upgrade to Django 4.2 #113

Triggered via pull request April 1, 2024 20:54
Status Failure
Total duration 4m 26s
Artifacts

python.yml

on: pull_request
Tests (pytest)
4m 16s
Tests (pytest)
Linting (pylint)
2m 7s
Linting (pylint)
Typing (mypy)
51s
Typing (mypy)
Formatting (black; run ./bw-dev black to fix)
14s
Formatting (black; run ./bw-dev black to fix)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Tests (pytest): bookwyrm/tests/activitypub/test_base_activity.py#L114
BaseActivity.test_resolve_remote_id bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/activitypub/test_base_activity.py#L156
BaseActivity.test_to_model_image bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/activitypub/test_person.py#L24
Person.test_user_to_model bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/models/test_fields.py#L384
ModelFields.test_many_to_many_field_from_activity bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/test_signing.py#L866
Signature.test_key_needs_refresh AssertionError: 401 != 200
Tests (pytest): bookwyrm/tests/test_signing.py#L866
Signature.test_remote_signer AssertionError: 401 != 200
Tests (pytest): bookwyrm/tests/models/test_fields.py#L307
ModelFields.test_foreign_key_from_activity_dict bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/models/test_fields.py#L330
ModelFields.test_foreign_key_from_activity_dict_existing bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/models/test_fields.py#L288
ModelFields.test_foreign_key_from_activity_str bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Tests (pytest): bookwyrm/tests/views/inbox/test_inbox_update.py#L110
InboxUpdate.test_update_user bookwyrm.activitypub.base_activity.ActivitySerializerError: 'Person' object has no attribute 'localname'
Formatting (black; run ./bw-dev black to fix)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.