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

2021-02-17 Thread Aurélien Larcher
On Wed, 17 Feb 2021, 7:43 pm Andreas Wacknitz,  wrote:

> 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.
>

It seems I forgot to push the update...


> 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  
> Komu: OpenIndiana Developer mailing list 
> 
> 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 
> 
> Komu: OpenIndiana Developer mailing list 
> 
> 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   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=requests-37=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@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
> ___
> oi-dev mailing 
> listoi-dev@openindiana.orghttps://openindiana.org/mailman/listinfo/oi-dev
>
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


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

2021-02-17 Thread Andreas Wacknitz

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 
Komu: OpenIndiana Developer mailing list 
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 
Komu: OpenIndiana Developer mailing list 
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  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=requests-37=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@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


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

2021-02-17 Thread 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?




Regards,

Nona




-- Původní e-mail --
Od: Nona Hansel 
Komu: OpenIndiana Developer mailing list 
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 
Komu: OpenIndiana Developer mailing list 
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  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=requests-37=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@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev
""___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev