[pytest-dev] [proposal] introducing attrs to the codebase

Raphael Pierzina raphael at hackebrot.de
Tue Dec 6 05:57:28 EST 2016

Hey there,

I don’t mind adding a dependency as long as there is a need for it. +1

The problem I see with ‘attrs’ as it stands today, is that it does not support Python 2.6 whereas pytest does. So we probably want to get https://github.com/pytest-dev/pytest/issues/1273 <https://github.com/pytest-dev/pytest/issues/1273> in before adding ‘attrs’ as a dependency. I’m not up-to-date with how things are in pip as to dropping Python 2.6 compatibility. I can’t seem to find a ticket on the pip issue tracker.


> On 06 Dec 2016, at 09:52, Bruno Oliveira <nicoddemus at gmail.com> wrote:
> Hi Ronny,
> Could you list the classes which you think would be changed to use 'attrs'? I'm not against adding another dependency if it can help us maintain the codebase. Also, introducing a new dependency should be done in `3.1.0`, not in a patch release.
> Cheers,
> Bruno.
> On Tue, Dec 6, 2016 at 5:44 AM Ronny Pfannschmidt <opensource at ronnypfannschmidt.de <mailto:opensource at ronnypfannschmidt.de>> wrote:
> Hi all,
> i'd like to introduce https://pypi.python.org/pypi/attrs <https://pypi.python.org/pypi/attrs> as a
> dependency,
> its a fairly usefull library that takes away quite some boilerplate and
> common error cause while automatically adding repr, comparators and
> similar small details to python classes.
> I have used it in a number of personal projects, and dont want to miss
> it by now.
> -- Ronny
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org <mailto:pytest-dev at python.org>
> https://mail.python.org/mailman/listinfo/pytest-dev <https://mail.python.org/mailman/listinfo/pytest-dev>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20161206/89a198aa/attachment.html>

More information about the pytest-dev mailing list