<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Am 17.02.21 um 19:17 schrieb Nona
Hansel:<br>
</div>
<blockquote type="cite"
cite="mid:hqt.BZ6I.2DwAsye9OWZ.1WBLtH@seznam.cz">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>Hello again,</div>
<div><br>
</div>
<div>since I have installed new versions today, I get the same
warning every time I use pkg.</div>
<div><br>
</div>
<div>/usr/lib/python3.7/vendor-packages/requests/__init__.py:91:
RequestsDependencyWarning: urllib3 (1.25.1) or chardet (4.0.0)
doesn't match a supported version! <br>
RequestsDependencyWarning)</div>
<div><br>
</div>
<div>But it looks like the version 2.25.1 could work with chardet
4.0.0:</div>
<div><a class="moz-txt-link-freetext" href="https://github.com/psf/requests/blame/master/setup.py#L44">https://github.com/psf/requests/blame/master/setup.py#L44</a></div>
<div><br>
</div>
<div>Can I try to update requests to this version or was there a
particular reason why to have 2.22?</div>
</blockquote>
I don't know, alarcher may have an answer.<br>
<br>
If you create a PR for a newer request version make sure that it
support Python 2.7 or else you'll need to split the package into one
for Python 2.7 and another one for Python 3 versions.<br>
<br>
Regards,<br>
Andreas<br>
<br>
<br>
<blockquote type="cite"
cite="mid:hqt.BZ6I.2DwAsye9OWZ.1WBLtH@seznam.cz">
<div><br>
</div>
<div>Regards,</div>
<div>Nona<br>
</div>
<div><br>
</div>
<aside>
---------- Původní e-mail ----------<br>
Od: Nona Hansel <a class="moz-txt-link-rfc2396E" href="mailto:nona.h@seznam.cz"><nona.h@seznam.cz></a><br>
Komu: OpenIndiana Developer mailing list
<a class="moz-txt-link-rfc2396E" href="mailto:oi-dev@openindiana.org"><oi-dev@openindiana.org></a><br>
Datum: 17. 2. 2021 10:22:26<br>
Předmět: Re: [oi-dev] requests-37
</aside>
<br>
<blockquote data-email="nona.h@seznam.cz">
<div>I'm trying to fix it and the requests publishes and locally
installs fine, but when I try to use it in python3.7:</div>
<div><br>
</div>
<div>>>> import requests</div>
<div><br>
</div>
<div>I get this message:</div>
<div>/usr/lib/python3.7/vendor-packages/requests/__init__.py:91:
RequestsDependencyWarning: urllib3 (1.25.1) or chardet (4.0.0)
doesn't match a supported version! <br>
RequestsDependencyWarning)</div>
<div><br>
</div>
<div>When I ask pipdeptree, it gives me this:</div>
<div><br>
</div>
<div>requests==2.22.0 <br>
- chardet [required: >=3.0.2,<3.1.0, installed: 4.0.0]
<br>
- idna [required: >=2.5,<2.9, installed: 2.10] <br>
- urllib3 [required: >=1.21.1,<1.26,!=1.25.0,
installed: 1.25.1]</div>
<div><br>
</div>
<div>It looks like the version of chardet and maybe idna are
outside of requests' scope of supported versions. Is there a
way how to make requests use the previous versions? <br>
</div>
<div>Thank you!<br>
</div>
<div><br>
</div>
<aside>
---------- Původní e-mail ----------<br>
Od: Aurélien Larcher <a class="moz-txt-link-rfc2396E" href="mailto:aurelien.larcher@gmail.com"><aurelien.larcher@gmail.com></a><br>
Komu: OpenIndiana Developer mailing list
<a class="moz-txt-link-rfc2396E" href="mailto:oi-dev@openindiana.org"><oi-dev@openindiana.org></a><br>
Datum: 16. 2. 2021 18:57:38<br>
Předmět: Re: [oi-dev] requests-37
</aside>
<br>
<blockquote data-email="aurelien.larcher@gmail.com">Probably I
messed up the rebase and -$(PYV) is missing from the
<br>
manifest in the fmri.
<br>
<br>
On 2/16/21, Nona Hansel <a class="moz-txt-link-rfc2396E" href="mailto:nona.h@seznam.cz"><nona.h@seznam.cz></a> wrote:
<br>
>
<br>
> Hello,
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> I'm trying to install requests-37 which according to it's
Makefile we
<br>
> should
<br>
> provide, but when I ask for it:
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> $ pfexec pkg info -r library/python/requests*
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> it doesn't show it nor it shows requests-39.
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> It can't be found here:
<br>
> <a class="moz-txt-link-freetext" href="https://pkg.openindiana.org/hipster/en/search.shtml">https://pkg.openindiana.org/hipster/en/search.shtml</a>?
<br>
> action=Search&token=requests-37&failed=1
<br>
>
<br>
> and when I try to find requests-35 in this website, it
finds the previous
<br>
> version.
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> Isn't there something wrong with this component?
<br>
>
<br>
>
<br>
>
<br>
>
<br>
> Thank you,
<br>
>
<br>
> Nona
<br>
>
<br>
<br>
<br>
-- <br>
---
<br>
Praise the Caffeine embeddings
<br>
<br>
_______________________________________________
<br>
oi-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
<br>
</blockquote>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>