> On Feb 11, 2021, at 1:04 PM, Glyph <gl...@twistedmatrix.com> wrote:
> 
> 
>> On Feb 11, 2021, at 11:41 AM, Wilfredo Sánchez Vega <wsanc...@wsanchez.net 
>> <mailto:wsanc...@wsanchez.net>> wrote:
>> 
>>>  My concern here is that Twisted may have added a dependency on requests, 
>>> and that dependency means that if you want IDNA==3.1, as Klein’s tox.ini 
>>> does, that you aren’t allowed to.  That seems weak; I’d say a bug.  No?
>> 
>>  Note this is only cause when installing treq, so the issue seems to be 
>> there, though for some reason, it’s only a problem with Twisted trunk, which 
>> kind of confuses me, but I haven’t dug into it beyond trying to figure out a 
>> bit about what fails to install.
>> 
>>  So I agree probably it’s not a blocker for Twisted, and it’s only annoying 
>> to Klein for its own testing, not it’s clients, but if I were a client of 
>> treq (and Klein is), I’d think this is a bug.
> 
> Attempting to reproduce this locally was a real adventure for me.  I had a 
> bunch of failure-to-terminate cases from the new pip resolver, until I gave 
> up, download the newest security update of each release of python, upgraded 
> pip, tox, setuptools, and virtualenv for every python version, fully cleaned 
> my git checkout, and re-ran.
> 
> Now everything passes except for coverage-py39-twtrunk, which still fails to 
> terminate.
> 
> Under -vvvv, it spends a very long time printing messages like these over and 
> over again:
> 
> INFO: pip is looking at multiple versions of setuptools to determine which 
> version is compatible with other requirements. This could take a while.
> INFO: This is taking longer than usual. You might need to provide the 
> dependency resolver with stricter constraints to reduce runtime. If you want 
> to abort this run, you can press Ctrl + C to do so. To improve how pip 
> performs, tell us what happened here: 
> https://pip.pypa.io/surveys/backtracking 
> <https://pip.pypa.io/surveys/backtracking>
> 
> as it installs every version of setuptools and six that has ever existed.
> 
> It seems like Klein has backed itself into a very weird and complex corner 
> with the new dependency resolver, but it doesn't appear unique to Twisted 
> trunk, just perhaps tickled ever so slightly worse.

I've now been running `tox -vvvv -r -e coverage-py39-twtrunk` for well over an 
hour, so I think we may have some pip resolver bugs to report.

-g

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to