Kludex / starlette-testclient

A backport of Starlette's TestClient using requests! ⏪️
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

chore: Support `anyio<3` and `anyio>=4` #8

Closed Stranger6667 closed 4 months ago

Stranger6667 commented 5 months ago

Resolves #5

Kludex commented 5 months ago

Don't you want to test both versions? Old and new?

Stranger6667 commented 5 months ago

Yep, probably the PR title is misleading - indeed, I'd like to support both versions

Re: tests - I went with a simpler option of downgrading anyio and re-running the tests in the same job

Stranger6667 commented 5 months ago

All green! @Kludex let me know if you are ok with these changes

If everything is OK, then I'd be happy to issue a new release (now 100% sure how to make it though, assuming via manual workflow dispatch in Actions)

Stranger6667 commented 4 months ago

Moving this forward, hopefully, we can resolve any potential concerns separately :)

Stranger6667 commented 4 months ago

Oh, it looks something is wrong with credentials to PyPI, so the new release is not uploaded :(

Kludex commented 4 months ago

@Stranger6667 Can you give me your PyPI username? I'm going to give you access there as well.

Stranger6667 commented 4 months ago

"Stranger6667", thanks!

Kludex commented 4 months ago

Done. Thanks! 🙏