Yapapi

Latest version: v0.13.1

Safety actively analyzes 688554 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 14

0.4.0

Changelog

Backwards-incompatible changes

* update the names of the classes and functions to make them more consistent with the Golem's architectural documentation and their respective functionality (92, 96)
* rename `Engine` to `Executor` and its `map` method to `submit`
* rename the package `yapapi.runner` to `yapapi.executor`
* rename `Task.accept_task`/`Task.reject_task` to `Task.accept_result`/`Task.reject_result`
* move `MarketStrategy` and subclasses to a separate module (91)
* move `Package` out of `runner`

Major features and improvements

* ExeUnit output formatting and streaming compatibility (108, 123)
* Support for payment platform negotiation (116)
* Timeouts for batches of commands (122)


Various fixes and minor improvements

* Add exception information to `ComputationFinished` event. (102)
* Add support for `YAGNA_API_URL` (a base URL for yagna APIs) (98)
* Fix no offers warning (119)
* Fix for asyncio on Windows + Python pre-3.8 (105)
* Extract common base class from `Batch` and `StreamingBatch`
* Add `exc_info` attribute to `ActivityCreateFailed` event
* Remove `timeout`/`expiration` from `Task`, track running/complete time instead
* Add option to `enable_default_logger()` to dump API request/responses
* Enable streaming mode by default in `Executor`
* Disable overly verbose output in summary logger
* Decrease default timeout so it does not cause overflow errors
* Fix `_create_allocations()` coroutine in `Executor.submit()`
* Retrieve all task errors before exiting from `Executor.submit()`
* Add event representing finishing `Executor` shutdown sequence
* Catch errors in `Executor.__aexit__()`; emit `ShutdownFinished` event
* Emit `PaymentFailed` event when `invoice.accept()` fails in `process_invoices()`
* Ignore `TimeoutError`'s when closing activity
* Cancel the `worker_starter()` coroutine when computation finishes
* Simplify computation shutdown sequence; add logging to `Executor`
* Enforce 1s timeout when sending "terminate" command to activity
* Catch `CancelledError` in `blender.py` to suppress traceback on 2nd ctrl+c
* `yacat.py`: Ensure no output before running `hashcat`, skip kernel test (157)
* Fix printing of total cost, so it's printed exactly once at shutdown
* Print partial cost after each computation and total on `Executor` shutdown
* `yacat.py`: File name fix for ranges, read file fix for not existing files (159)
* `yacat.py`: Remove leftover potfiles on the provider to avoid cached results

0.4.0alpha.5

0.4.0alpha.4

0.4.0alpha.3

0.4.0alpha.2

0.4.0alpha.1

Page 12 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.