httpx icon indicating copy to clipboard operation
httpx copied to clipboard

Test under 3.11-dev

Open j178 opened this issue 3 years ago • 3 comments

Added a few warning filters because:

  • _models.py and test_multiplart.py are relying on deprecatedcgi
  • certifi is using deprecated importlib.resources.path
  • rich is using deprecated sre_constants

j178 avatar Jul 13 '22 07:07 j178

Should we use 3.11-dev tag instead? So when beta 4 is available on python-setup we get it automatically and can act on it?

Kludex avatar Jul 13 '22 07:07 Kludex

Good idea, I don't know we can use 3.11-dev actually, updated.

j178 avatar Jul 13 '22 07:07 j178

Thanks for this! It's up to us to solve the cgi warning so I opened #2309 for this. OTOH the 2 other warnings are in transient dependencies so ignoring them for now seems OK.

florimondmanca avatar Jul 14 '22 18:07 florimondmanca

I've not looked into why but seems like the coverage check is failing on 3.11 but not other Python versions...

https://github.com/encode/httpx/actions/runs/3150283298/jobs/5122888953

lovelydinosaur avatar Sep 29 '22 09:09 lovelydinosaur

@tomchristie This is a bug when coverage is working under 3.11: https://github.com/nedbat/coveragepy/issues/1419. It should be fixed by bumping coverage version.

j178 avatar Sep 29 '22 14:09 j178