Convert readthedocs link for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
We only support two versions of Django. That policy might change given
that Django has started doing LTS releases. But for now, it only makes
sense to remove Django 1.7 support.
django-compressor served it's purpose, but given the advent of
more and more frontend JS work, and the accompanying build tools (grunt,
gulp, etc.), it makes less and less sense to use compressor. Jannis
Leidel himself also stepped back from maintaining it.
In my experience with Oscar project, it has also become a bit of a
liability to have compressor as a dependency. Most projects don't use it
any more, but it's not easy to disable/override because all our
templates include it.
So, let's keep things simple and remove it as a dependency. That paves
the way for using other tools, while it's always easy to add back.
This also removes the --process-dependency-links argument to pip install
since this was only required for the unreleased version of the
django-tables package.
To support Django 1.8, we are needing a fix in tables2. It is pending a
merge in https://github.com/bradleyayers/django-tables2/pull/245
Let's hope that we'll get a release soon.
Unfortunately, this change requires that we re-enable the deprecated
--process-dependency-links to pip install. I welcome any ideas for a
better approach.
* Our version of the debug toolbar threw an error, so let's bump to the
latest release.
* django-nose only has an unreleased version with Django 1.8 support.
I'm fully in favour of replacing it with pytest, but think it should
happen outside of this PR. Ping @mvantellingen.
* The latest tables2 apparently contains some Django 1.8 fixes.
Unfortunately it still breaks, but it's a step forward.
A bugfix release for 1.7 was released which contains many migration
fixes. Also bumped the minimum 1.6 version as we were already lagging
two releases behind.
Relax dependency restrictions for South and django-compressor
Oscar 0.7 works ok with later versions of these two packages and so we
open up the restrictions in setup.py to avoid forced downgrades for
Oscar projects.
Fixes #1477
* django-extra-views 0.6.5 added a pinned version of six, which causes
issues with other dependencies that install a different version. A fix
is already on master, but it's easier to limit the range for now.
* Haystack 2.2.0 was released and looks safe to use with Oscar. I'll
allow that for now, but in general we should probably limit the amount
of versions we support.
We only needed it because Django 1.4 shipped with a pretty old version
of six. Support for that has been removed, and Django 1.5 ships with six
1.6.1, which is more current than we required.
This nicely avoids an issue with django-extra-views pinning a six
version which caused the sandbox build to fail:
https://travis-ci.org/tangentlabs/django-oscar/jobs/32223978#L971
As Oscar depends directly on tables2 now, it should be returned as part
of get_core_apps, and has been removed from the requirements.txt and
INSTALLED_APPS calls.
They are both used in oscar.test, which means it's "public Oscar API".
Deployments might rely on e.g. the factories for their own test suite,
so all needed dependencies need to be installed as part of Oscar.
factory-boy 2.4 brings some nice, but breaking API changes.
The missing dependencies were discovered when working on
django-oscar-datacash, where some of the old-style factories are used,
but newfactories gets imported into that namespace.