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


Groups > linux.debian.maint.python > #7999 > unrolled thread

Updating python-requests and python-urllib3

Started byChristopher Baines <chris@cbaines.net>
First post2015-12-22 16:50 +0100
Last post2015-12-22 18:40 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Updating python-requests and python-urllib3 Christopher Baines <chris@cbaines.net> - 2015-12-22 16:50 +0100
    Re: Updating python-requests and python-urllib3 Daniele Tricoli <eriol@mornie.org> - 2015-12-22 18:30 +0100
      Re: Updating python-requests and python-urllib3 Christopher Baines <chris@cbaines.net> - 2015-12-22 18:40 +0100

#7999 — Updating python-requests and python-urllib3

FromChristopher Baines <chris@cbaines.net>
Date2015-12-22 16:50 +0100
SubjectUpdating python-requests and python-urllib3
Message-ID<qIxmi-5MK-13@gated-at.bofh.it>
I have had a go at updating python-requests to the latest upstream
release (from 2.8.1 to 2.9.1). This bundles the latest version of
python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).

1: https://tracker.debian.org/pkg/requests
2: https://tracker.debian.org/pkg/python-urllib3

When updating python-urllib3, I also added in the DEP8 tests from
#796717 [3]. I duplicated the test, and adjusted it for python 3 (as the
patch was just python 2 only).

3: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796717

I am still getting to grips with git-dpm (previously I have just used
git buildpackage). So I may have made some mistakes when attempting to
update to the latest versions. Its also probably prudent to have the
python-requests package depend on the latest version of python-urllib3
(which I have not changed). You can find the updated repositories here
[4], [5].

4: http://git.cbaines.net/python-requests/
5: http://git.cbaines.net/python-urllib3/

Thanks,

Chris

[toc] | [next] | [standalone]


#8000

FromDaniele Tricoli <eriol@mornie.org>
Date2015-12-22 18:30 +0100
Message-ID<qIyV4-6R0-19@gated-at.bofh.it>
In reply to#7999

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

Hello Christopher,

On Tuesday, December 22, 2015 03:49:05 PM Christopher Baines wrote:
> I have had a go at updating python-requests to the latest upstream
> release (from 2.8.1 to 2.9.1). This bundles the latest version of
> python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).

I'm going to work later on them or at max tomorrow, thanks for your work.

For #796717, however, there is no need to use requests: I did change the test 
a bit to use urllib3 directly but I forgot to send to the bug report. 

> Its also probably prudent to have the
> python-requests package depend on the latest version of python-urllib3
> (which I have not changed).

Yes, I follow upstream development closely, and you are right the Depends will  
be updated.

Thanks,

-- 
 Daniele Tricoli 'eriol'
 https://mornie.org

[toc] | [prev] | [next] | [standalone]


#8001

FromChristopher Baines <chris@cbaines.net>
Date2015-12-22 18:40 +0100
Message-ID<qIz4K-6U6-11@gated-at.bofh.it>
In reply to#8000
On 22/12/15 17:20, Daniele Tricoli wrote:
> On Tuesday, December 22, 2015 03:49:05 PM Christopher Baines wrote:
>> I have had a go at updating python-requests to the latest upstream
>> release (from 2.8.1 to 2.9.1). This bundles the latest version of
>> python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).
> 
> I'm going to work later on them or at max tomorrow, thanks for your work.

Great :)

> For #796717, however, there is no need to use requests: I did change the test 
> a bit to use urllib3 directly but I forgot to send to the bug report. 

That makes sense. It might be worthwhile to add the tests using requests
to the requests package, such that both packages (requests and urllib3)
would have DEP8 tests?

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web