Skip to content

restrict version of django-filters to <2.0 #147

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

Closed
wants to merge 1 commit into from

Conversation

lbenedix
Copy link

@lbenedix lbenedix commented Nov 18, 2016

We had a problem with a prior version of django-rest-framework-filters 0.8.0 which installed an incompatible version of django-filters (1.0.0).

… mayor version which may have breaking changes
@codecov-io
Copy link

codecov-io commented Nov 18, 2016

Current coverage is 97.73% (diff: 100%)

Merging #147 into master will not change coverage

@@             master       #147   diff @@
==========================================
  Files             6          6          
  Lines           221        221          
  Methods           0          0          
  Messages          0          0          
  Branches         44         44          
==========================================
  Hits            216        216          
  Misses            2          2          
  Partials          3          3          

Powered by Codecov. Last update 86ebf5d...ee24c48

@rpkilby
Copy link
Collaborator

rpkilby commented Nov 18, 2016

Not convinced this is the correct thing to do. A breaking change to the public API does not necessarily mean that it breaks compatibility with another package. There's no reason to optimistically restrict this. If anything a similar patch should be applied to the 0.9.x branch where it's known that df 1.0 is not compatible.

For now, I'd recommend version bounding django-filter/drf-filters in your requirements while a 1.0 compatible version is pushed out. Additionally, you may want to look at pip-tools.

Edit: see #148

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.

3 participants