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

Fix bower management command for Django 1.10 #66

Closed
wants to merge 3 commits into from

Conversation

freeyoung
Copy link

No description provided.

@PetrDlouhy
Copy link

@freeyoung: Could you please fix the tests (merging with current master might be enough) and add Django 1.10 to the .travis.yml?

@freeyoung
Copy link
Author

@PetrDlouhy Sure! I will give it a look today.

@coveralls
Copy link

coveralls commented Sep 16, 2016

Coverage Status

Coverage decreased (-0.3%) to 94.524% when pulling 32dd467 on freeyoung:fix-django-1.10 into 4e6fbd0 on nvbn:master.

@freeyoung
Copy link
Author

@PetrDlouhy I've fixed the tests for django >= 1.8. However for lower versions of django I could not really fix the tests because django 1.8 changed the way to implement custom management commands.

Now that django versions < 1.8 have reached the end of support since December 2015, I propose to remove these versions from .travis.yml. What do you think?

@PetrDlouhy
Copy link

I am not maintainer of this repository, so we should ask @nvbn if it is possible to drop the support.

@@ -19,7 +19,7 @@ def _check_bower_exists(self):
if not bower_adapter.is_bower_exists():
raise BowerNotInstalled()

def _install(self, args):
def _install(self, args=[]):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be:

def _install(self, args=None):
    if args is None:
        args = []

@yprez
Copy link
Contributor

yprez commented Sep 25, 2016

+1, supporting 1.4 is a waste of time imo...

@freeyoung
Copy link
Author

Since #71 has been merged, closing.

@freeyoung freeyoung closed this Sep 26, 2016
@freeyoung freeyoung deleted the fix-django-1.10 branch September 26, 2016 08:57
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.

5 participants