Skip to content

Release 4.0.0 #6704

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

Merged
merged 2 commits into from
Feb 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
Version 4.0.0
-------------

:Date: February 25, 2020

**This release upgrades our codebase to run on Django 2.2**.
This is a breaking change,
so we have released it as our 4th major version.

* `@stsewd <https://github.com/stsewd>`__: Data migration for old integration models (`#6675 <https://github.com/readthedocs/readthedocs.org/pull/6675>`__)
* `@ericholscher <https://github.com/ericholscher>`__: Release 3.12.0 (`#6674 <https://github.com/readthedocs/readthedocs.org/pull/6674>`__)
* `@humitos <https://github.com/humitos>`__: Upgrade to Django 2.2.9 (`#6494 <https://github.com/readthedocs/readthedocs.org/pull/6494>`__)
* `@davidfischer <https://github.com/davidfischer>`__: Show message if version list truncated (`#6276 <https://github.com/readthedocs/readthedocs.org/pull/6276>`__)

Version 3.12.0
--------------

Expand Down
4 changes: 2 additions & 2 deletions readthedocs/builds/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def _get_versions(self, project):

class BuildList(BuildBase, BuildTriggerMixin, ListView):

def get_context_data(self, *, object_list=None, **kwargs):
context = super().get_context_data(object_list=object_list, **kwargs)
def get_context_data(self, **kwargs): # pylint: disable=arguments-differ
context = super().get_context_data(**kwargs)

active_builds = self.get_queryset().exclude(
state='finished',
Expand Down
5 changes: 0 additions & 5 deletions readthedocs/projects/views/private.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ def get(self, request, *args, **kwargs):
self.validate_primary_email(request.user)
return super(ProjectDashboard, self).get(self, request, *args, **kwargs)

def get_context_data(self, *, object_list=None, **kwargs):
context = super().get_context_data(object_list=object_list, **kwargs)

return context


class ProjectMixin(PrivateViewMixin):

Expand Down
4 changes: 2 additions & 2 deletions readthedocs/projects/views/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def get_queryset(self):

return queryset

def get_context_data(self, *, object_list=None, **kwargs):
context = super().get_context_data(object_list=object_list, **kwargs)
def get_context_data(self, **kwargs): # pylint: disable=arguments-differ
context = super().get_context_data(**kwargs)
context['tag'] = self.tag
return context

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = readthedocs
version = 3.12.0
version = 4.0.0
license = MIT
description = Read the Docs builds and hosts documentation
author = Read the Docs, Inc
Expand Down