[oi-dev] Fwd: Re: requests-37

Andreas Wacknitz A.Wacknitz at gmx.de
Wed Feb 17 18:42:16 UTC 2021


Am 17.02.21 um 19:17 schrieb Nona Hansel:
> Hello again,
>
> since I have installed new versions today, I get the same warning
> every time I use pkg.
>
> /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!
>   RequestsDependencyWarning)
>
> But it looks like the version 2.25.1 could work with chardet 4.0.0:
> https://github.com/psf/requests/blame/master/setup.py#L44
>
> Can I try to update requests to this version or was there a particular
> reason why to have 2.22?
I don't know, alarcher may have an answer.

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.

Regards,
Andreas


>
> Regards,
> Nona
>
> ---------- Původní e-mail ----------
> Od: Nona Hansel <nona.h at seznam.cz>
> Komu: OpenIndiana Developer mailing list <oi-dev at openindiana.org>
> Datum: 17. 2. 2021 10:22:26
> Předmět: Re: [oi-dev] requests-37
>
>
>     I'm trying to fix it and the requests publishes and locally
>     installs fine, but when I try to use it in python3.7:
>
>     >>> import requests
>
>     I get this message:
>     /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!
>       RequestsDependencyWarning)
>
>     When I ask pipdeptree, it gives me this:
>
>     requests==2.22.0
>       - chardet [required: >=3.0.2,<3.1.0, installed: 4.0.0]
>       - idna [required: >=2.5,<2.9, installed: 2.10]
>       - urllib3 [required: >=1.21.1,<1.26,!=1.25.0, installed: 1.25.1]
>
>     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?
>     Thank you!
>
>     ---------- Původní e-mail ----------
>     Od: Aurélien Larcher <aurelien.larcher at gmail.com>
>     Komu: OpenIndiana Developer mailing list <oi-dev at openindiana.org>
>     Datum: 16. 2. 2021 18:57:38
>     Předmět: Re: [oi-dev] requests-37
>
>
>         Probably I messed up the rebase and -$(PYV) is missing from the
>         manifest in the fmri.
>
>         On 2/16/21, Nona Hansel <nona.h at seznam.cz> wrote:
>         >
>         > Hello,
>         >
>         >
>         >
>         >
>         > I'm trying to install requests-37 which according to it's
>         Makefile we
>         > should
>         > provide, but when I ask for it:
>         >
>         >
>         >
>         >
>         > $ pfexec pkg info -r library/python/requests*
>         >
>         >
>         >
>         >
>         > it doesn't show it nor it shows requests-39.
>         >
>         >
>         >
>         >
>         > It can't be found here:
>         > https://pkg.openindiana.org/hipster/en/search.shtml?
>         > action=Search&token=requests-37&failed=1
>         >
>         > and when I try to find requests-35 in this website, it finds
>         the previous
>         > version.
>         >
>         >
>         >
>         >
>         > Isn't there something wrong with this component?
>         >
>         >
>         >
>         >
>         > Thank you,
>         >
>         > Nona
>         >
>
>
>         --
>         ---
>         Praise the Caffeine embeddings
>
>         _______________________________________________
>         oi-dev mailing list
>         oi-dev at openindiana.org
>         https://openindiana.org/mailman/listinfo/oi-dev
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20210217/8c98ba63/attachment.html>


More information about the oi-dev mailing list