Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11137

Re: packaging django-rest-framework-filters

Path csiph.com!xmission!news.neodome.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Neil Williams <codehelp@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: packaging django-rest-framework-filters
Date Wed, 28 Nov 2018 10:00:02 +0100
Message-ID <wZ3Ro-2gM-11@gated-at.bofh.it> (permalink)
References <wWPpv-7HD-3@gated-at.bofh.it> <wWS41-HX-5@gated-at.bofh.it> <wYgnE-4EZ-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Nov 28 08:59:09 2018
Old-Return-Path <codehelp@debian.org>
X-Amavis-Spam-Status No, score=-14.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
X-Mailer Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; boundary="Sig_/2k9vOptQnj+oeKMmRj.D0XY"; protocol="application/pgp-signature"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16581
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20181128085853.65613f39@calvin.codehelp
Approved robomod@news.nic.it
Lines 106
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Wed, 28 Nov 2018 08:58:53 +0000
X-Original-Message-ID <20181128085853.65613f39@calvin.codehelp>
X-Original-References <20181122050200.tcg7urpyqjd5rx7n@mail.wookware.org> <d4d0abf3-8faf-553e-f823-9a1f2324e29a@debian.org> <20181126040505.hzyhkmatjcmrglg4@mail.wookware.org>
Xref csiph.com linux.debian.maint.python:11137

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 26 Nov 2018 04:05:05 +0000
Wookey <wookey@wookware.org> wrote:

> On 2018-11-22 08:59 +0100, Thomas Goirand wrote:
> > On 11/22/18 6:02 AM, Wookey wrote:  
> 
> I guess djangorestframework-filters is
> clearer, and closer to upstream so people can find it. I'll go with
> that unless someone says the drf-* names are a better plan.
> 
> OK. I've made a new package (djangorestframework-filters), which
> seems OK. (actually I've made 2 (see below))
> 
> I'm not a member of the modules team, so can't follow the instructions
> to make a salsa project under the python-team banner
> (https://wiki.debian.org/Python/GitPackaging)
> 
> I'll put it under wookey for now.
> 
> Also, the latest release is 0.10.0.post0, which says it's compatible
> with:
> * **Python**: 2.7 or 3.3+
> * **Django**: 1.8, 1.9, 1.10, 1.11
> * **DRF**: 3.5, 3.6

djangorestframework lists "Breaking changes" in the release notes for
3.8, so this looks like an incompatibility with what's already in
Debian.

https://github.com/encode/django-rest-framework/releases/tag/3.8.0

It might be worth testing whether 0.10.0.post0 or another release of
django-rest-framework-filters between that and 1.0.0dev0 is actually
fine with djangorestframework 3.8 - at least at a unit test level.

> However the version of DRF in testing is now 3.8, and python 3.6 so
> perhaps it's better to upload the upcoming v1.0.0.dev0:
> * **Python**: 3.4, 3.5, 3.6
> * **Django**: 1.11, 2.0, 2.1b1
> * **DRF**: 3.8
> * **django-filter**: 2.0
> 
> But the version of django-filter in debian is 1.1.0, so at first
> glance neither of these versions will work with the components
> available.
> 
> I'd normally upload the last released version, i.e. 0.10.2.post0, but
> I'm not sure how these interactions with versions of
> djangorestframework and django-filter work. Any advice or shall I work
> this out with upstreams?

django-filters has a new upstream 2.0 but a migration guide has been
published for that:

https://django-filter.readthedocs.io/en/master/guide/migration.html#migrating-to-2-0

So it's likely that at least some reverse dependencies would be broken
by django-filters version 2.0.

$ apt-cache rdepends python3-django-filters
python3-django-filters
Reverse Depends:
  python3-djangorestframework
  python3-djangorestframework-gis
  python3-djangorestframework
  python3-djangorestframework-gis

It may be too late to get things like this untangled before the buster
release. Dabbling with django-filters 2.0 now could end up causing
removal of packages which work just fine with the current set.

Looks to me like django-filters 2.0 needs to be handled in bullseye.

-- 

Neil Williams
home@codehelp.co.uk

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

packaging django-rest-framework-filters  Wookey <wookey@wookware.org> - 2018-11-22 06:10 +0100
  Re: packaging django-rest-framework-filters Thomas Goirand <zigo@debian.org> - 2018-11-22 09:00 +0100
    Re: packaging django-rest-framework-filters Wookey <wookey@wookware.org> - 2018-11-22 18:10 +0100
      Re: packaging django-rest-framework-filters Piotr Ożarowski <piotr@debian.org> - 2018-11-22 22:30 +0100
    Re: packaging django-rest-framework-filters Wookey <wookey@wookware.org> - 2018-11-26 05:10 +0100
      Re: packaging django-rest-framework-filters Neil Williams <codehelp@debian.org> - 2018-11-28 10:00 +0100
        Re: packaging django-rest-framework-filters Wookey <wookey@wookware.org> - 2018-11-28 15:40 +0100
          Re: packaging django-rest-framework-filters Neil Williams <codehelp@debian.org> - 2018-11-28 18:00 +0100
            Re: packaging django-rest-framework-filters Thomas Goirand <zigo@debian.org> - 2018-11-29 11:50 +0100
              Re: packaging django-rest-framework-filters Neil Williams <codehelp@debian.org> - 2018-11-29 12:50 +0100
                Re: packaging django-rest-framework-filters Scott Kitterman <debian@kitterman.com> - 2018-11-29 13:30 +0100
                Re: packaging django-rest-framework-filters Piotr Ożarowski <piotr@debian.org> - 2018-11-29 14:10 +0100
    Re: packaging django-rest-framework-filters Wookey <wookey@wookware.org> - 2018-12-08 05:00 +0100

csiph-web