github kevin1024/vcrpy v9.4.2

3 hours ago

What's Changed

  • Fix urllib3 pools with block=True, e.g. a requests session with HTTPAdapter(pool_block=True), waiting forever for a free connection in a cassette, or when used before, after or across cassettes. A response now returns its connection to the pool once its body has been read, as in urllib3, and vcrpy keeps a pool's free slots when it takes connections out of it as a cassette starts or stops using the pool. A response finished after its cassette has exited gives back only the slot, not the cassette's connection (#949, #1094) - thanks @nk-batman21

Full Changelog: v9.4.1...v9.4.2

Don't miss a new vcrpy release

NewReleases is sending notifications on new releases.