[Python-modules-team] Bug#779528: Upstream requests also has a 'certifi' component

Daniele Tricoli eriol at mornie.org
Sat Mar 7 17:17:06 UTC 2015

Hello Julien,

Julien Puydt wrote:
> could you also package the certifi component of requests?

requests' upstream provides the possibility to specify the certificate bundle 
to use. The packaged version of requests use ca-certificates. Why do you need  
the bundle provided by certifi?

If you look at the code you will see that certifi just return the path of the 
bundle shipped inside it:

Also consider that in requests 2.5.3 due to this:


it was needed to revert the update of the certificates bundle shipped. 

Is your problem to locate Debian's certificates bundle? If yes, you can just 
use this:

    def where():
        return '/etc/ssl/certs/ca-certificates.crt'

and depends on ca-certificates. If the problem is not this, can you provide 
more info?


 Daniele Tricoli 'Eriol'

More information about the Python-modules-team mailing list