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

v1.4.0 prep - DO NOT MERGE #32

Open
wants to merge 16 commits into
base: v1.4.0-prep
Choose a base branch
from

Conversation

joncotton
Copy link
Member

This is not yet the complete 1.4.0 code, only the groundwork. There are a few more things I'll handle as separate PR's.

  • testing under Python 2.6
  • code cleanup
  • test cleanup
  • fix two incorrect tests
  • don't use armstrong.apps.content for tests
  • drop Lettuce
  • README updates
  • update packages for currently supported Django versions (1.3 and 1.4)
  • be clearer about using Sorl
  • drop django-reversion requirement, which was never used

As additional PRs:

I think we should do two quick releases. 1.4 will tie up loose ends and be the last version to support Django 1.3. 1.5 will support Django 1.5+ and maybe drop 1.4 support (two reasons: django-taggit and the profile issue). Depending on how we solve the profile issue, we may need to break BC or at least break behavior. We can discuss more on the PR for that.

These two tests still pass even without the patching. That indicates that whatever is under test is not actually being tested or that the feature is broken.
Additionally, there are better ways to patch settings during test and AUTH_PROFILE_MODULE was deprecated in Django 1.5.
…happening.

The assumption was that users always have profiles and that's incorrect. From the 1.4 docs, "The method get_profile() does not create a profile if one does not exist." These users never have profiles so that's why the patching didn't matter and why the tests passed anyway.
…hat seems dangerously circular). Remove static test file, setting and url route for the removed "audio" component.
- Sorl is already required in setup.py so we don't need it in dev.txt
- Document that an imaging library is necessary for Sorl features.

(We aren't testing anything that requires PIL so it's safe to remove that dev requirement.)
…e it isn't used. Update model-utils to minimum version for Django 1.5 and max version for Django 1.3.
…Django 1.4. Use standard method to override settings.

Fixing: `Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored`
@joncotton
Copy link
Member Author

Let's discuss this groundwork and merge it in to the v1.4.0-prep branch on the armstrong repo (by next Wednesday??). Those other PRs can go against that branch once this is in. They are all self-contained and should merge neatly.

…we don't need magic to trick Django into making concrete model instances.

This also means we can drop the concrete infrastructure in ArmDev.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant