Download Latest Version v2.4.0 source code.tar.gz (2.0 MB)
Email in envelope

Get an email when there's a new version of BlackSheep

Home / v2.3.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-20 1.4 kB
v2.3.1 source code.tar.gz 2025-05-20 2.0 MB
v2.3.1 source code.zip 2025-05-20 2.1 MB
Totals: 3 Items   4.1 MB 0
  • Add support for PyPy, adding a pure-Python fallback for all Cython modules.
  • Fix #539. Make httptools an optional dependency, to support PyPy.
  • Modify url.pyx to remove the dependency on httptools.
  • Modify the HTTP Client implementation in BlackSheep to not be tightly coupled with httptools for the response parsing logic, and include built-in support for h11.
  • MINOR BREAKING CHANGE. Since httptools is not installed by default, the BlackSheep client requires either httptools or h11 to be installed, as it does not implement its own parsing logic for HTTP responses. This affects only the HTTP client.
  • Upgrade dependencies (see pyproject.toml for more information).
  • Include a pure-Python wheel in the distribution package, and run tests with PyPy 3.11.
  • Fix #559, which is a performance regression introduced in 2.3.0. Remove support for Pydantic v1 validate_arguments decorator (added in 2.3.0), which caused the regression. Pydantic's v2 validate_call supports async and does not require specific code.

Special thanks to @bymoye for helping with #539.

Source: README.md, updated 2025-05-20