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

Ronny Pfannschmidt rpfannsc at redhat.com
Tue Dec 6 06:17:53 EST 2016


Attrs dropped 2.6 pretty recently, it might be reasonably easy to add/keep
the support for the pip timeframe as well on the upstream,

i'll check wit the author

2016-12-06 12:15 GMT+01:00 Bruno Oliveira <nicoddemus at gmail.com>:

> Oh good point Raphael.
>
> Here's the link for the discussion about pip dropping Python 2.6:
> https://github.com/pypa/pip/issues/3955
>
> Cheers,
> Bruno
>
> On Tue, Dec 6, 2016 at 8:57 AM Raphael Pierzina <raphael at hackebrot.de>
> wrote:
>
>> 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 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.
>>
>> Best,
>> Raphael
>>
>> 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> wrote:
>>
>> Hi all,
>>
>> i'd like to introduce 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
>> 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
>>
>>
>>
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
>
>


-- 

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Eric Shander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20161206/f7f94cb9/attachment-0001.html>


More information about the pytest-dev mailing list