CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

devel/py-blockbuster1.5.28

Utility to detect blocking calls in the async event loop

Maintainer
sunpoet@FreeBSD.org
Packages
py312-blockbuster 1.5.28
Upstream
Higher version available: 1.5.29
CPE
none, CVEs only via VuXML
WWW
https://github.com/cbornet/blockbuster
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (5)

Po-Chuan Hsieh (sunpoet) · 1.5.28
devel/py-blockbuster: Update to 1.5.28

Changes:	https://github.com/cbornet/blockbuster/releases
		https://github.com/cbornet/blockbuster/commits/main
7284b839f1
Po-Chuan Hsieh (sunpoet) · 1.5.27
devel/py-blockbuster: Update to 1.5.27

Changes:	https://github.com/cbornet/blockbuster/releases
		https://github.com/cbornet/blockbuster/commits/main
e8b38bd583
Po-Chuan Hsieh (sunpoet) · 1.5.26
devel/py-blockbuster: Update to 1.5.26

Changes:	https://github.com/cbornet/blockbuster/releases
		https://github.com/cbornet/blockbuster/commits/main
091eb26558
Po-Chuan Hsieh (sunpoet) · 1.5.25
devel/py-blockbuster: Update to 1.5.25

Changes:	https://github.com/cbornet/blockbuster/releases
		https://github.com/cbornet/blockbuster/commits/main
9bb820831d
Po-Chuan Hsieh (sunpoet) · 1.5.24
devel/py-blockbuster: Add py-blockbuster 1.5.24

Blockbuster is a Python package designed to detect and prevent blocking calls
within an asynchronous event loop. It is particularly useful when executing
tests to ensure that your asynchronous code does not inadvertently call blocking
operations, which can lead to performance bottlenecks and unpredictable
behavior.

In Python, the asynchronous event loop allows for concurrent execution of tasks
without the need for multiple threads or processes. This is achieved by running
tasks cooperatively, where tasks yield control back to the event loop when they
are waiting for I/O operations or other long-running tasks to complete.

However, blocking calls, such as file I/O operations or certain networking
operations, can halt the entire event loop, preventing other tasks from running.
This can lead to increased latency and reduced performance, defeating the
purpose of using asynchronous programming.

The difficulty with blocking calls is that they are not always obvious,
especially when working with third-party libraries or legacy code. This is where
Blockbuster comes in: it helps you identify and eliminate blocking calls in your
codebase during testing, ensuring that your asynchronous code runs smoothly and
efficiently. It does this by wrapping common blocking functions and raising an
exception when they are called within an asynchronous context.

Notes:
- Blockbuster currently only detects asyncio event loops.
- Blockbuster is tested only with CPython. It may work with other Python
  implementations if it's possible to monkey-patch the functions with setattr.
832aa5703a