Skip to content

Upgrade to Django 4.2 #158

Upgrade to Django 4.2

Upgrade to Django 4.2 #158

Triggered via pull request April 24, 2024 13:48
Status Failure
Total duration 4m 45s
Artifacts

python.yml

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

Annotations

10 errors and 1 warning
Linting (pylint)
Process completed with exit code 2.
Tests (pytest): bookwyrm/tests/views/landing/test_register.py#L281
RegisterViews.test_register_blocked_domain TypeError: expected str, bytes or os.PathLike object, not NoneType
Tests (pytest): bookwyrm/tests/views/landing/test_register.py#L253
RegisterViews.test_register_default_preferred_timezone TypeError: expected str, bytes or os.PathLike object, not NoneType
Tests (pytest): bookwyrm/tests/views/landing/test_register.py#L95
RegisterViews.test_register_email_confirm TypeError: expected str, bytes or os.PathLike object, not NoneType
Tests (pytest): bookwyrm/tests/views/landing/test_register.py#L315
RegisterViews.test_register_invite TypeError: expected str, bytes or os.PathLike object, not NoneType
Tests (pytest): bookwyrm/tests/views/landing/test_register.py#L113
RegisterViews.test_register_trailing_space TypeError: expected str, bytes or os.PathLike object, not NoneType
Tests (pytest): bookwyrm/tests/views/test_annual_summary.py#L107
AnnualSummary.test_annual_summary_page AttributeError: type object 'datetime.datetime' has no attribute 'timezone'
Tests (pytest): bookwyrm/tests/views/test_annual_summary.py#L134
AnnualSummary.test_annual_summary_page_with_review AttributeError: type object 'datetime.datetime' has no attribute 'timezone'
Tests (pytest): bookwyrm/tests/views/preferences/test_move.py#L104
ViewsHelpers.test_move_user_view TypeError: SessionMiddleware.__init__() missing 1 required positional argument: 'get_response'
Tests (pytest)
Process completed with exit code 1.
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.