On Mon, Jan 13, 2014 at 2:44 PM, Saint Germain <[email protected]> wrote:

> On Mon, 13 Jan 2014 11:45:40 -0800, Ryan Ollos
> <[email protected]> wrote :
>
> > > Apparently for bloodhound_search, a specific version of Whoosh is
> > > required (2.4.1).
> > >
> > > I noticed the file bloodhound_search/bhsearch/whoosh_fixes.py which
> > > apparently fix some problem in Whoosh (pull request #41).
> > >
> > > Apparently this pull request is already included in Whoosh trunk
> > > (since 2.5.1), so I was wondering if the fix is always necessary
> > > and if Whoosh version > 2.5.1 may be acceptable.
> > >
> > > Is there a thread on the topic where I can understand the problem
> > > and attempt to fix it ?
> > >
> >
> > Nothing I can remember, but you may want to search:
> > http://apache.markmail.org/search/?q=list%3Abloodhound
> >
> > The commit message associated with that file is "Added support for
> > fine-grained permissions to bhsearch", so you may want to search for
> > messages on that topic, or perhaps Anze will chime in.
> >
> > I encourage you to verifying the fixes, add additional tests if
> > needed and we can bump the version in requirements to 2.5.1 if  it is
> > working well.
>
> Hello,
>
> The fix was indeed very well done. There is even a test to check that
> the fix is removed in case we don't need it anymore ! ;-)
>
> Now the question would be if we remove the fix or not ?
> I hate to break previous (and working) installation, so I'd prefer to
> keep the fix for those who want to stay with Whoosh 2.4.1.
> However if we keep it, we may end up with some spaghetti code in
> order to manage the different cases (depending on the Whoosh version).
>
> What do you advise ?
>
> Thanks for your help !
>

I don't think we should try to support multiple major releases of Whoosh at
this time. We have enough to do without testing and debugging against
multiple versions of Whoosh.

I guess the question is when is the right time to bump the required version
of Whoosh. That may depend on a number of issues, including at least:
features and performance of the newer versions, how long the Whoosh dev
team will continue to support the 2.4 release line with bugfixes, Python
version compatibility of the newer release .

Reply via email to