Backend.AI commons library
Reason this release was yanked:
Fatal error in Backend.AI Manager
Project description
Backend.AI Commons
Common utilities library for Backend.AI
Installation
$ pip install backend.ai-common
For development
$ pip install -U pip setuptools
$ pip install -U -r requirements/dev.txt
Running test suite
$ python -m pytest
With the default halfstack setup, you may need to set the environment variable BACKEND_ETCD_ADDR
to specify the non-standard etcd service port (e.g., localhost:8110
).
The tests for common.redis
module requires availability of local TCP ports 16379, 16380, 16381,
26379, 26380, and 26381 to launch a temporary Redis sentinel cluster via docker compose
.
In macOS, they require a local redis-server
executable to be installed, preferably via brew
,
because docker compose
in macOS does not support host-mode networking and Redis cannot be
configured to use different self IP addresses to announce to the cluster nodes and clients.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for backend.ai-common-23.9.10rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b3b2324cdafa0bdc1d0694ca63540d0a436b5da594d982bb3ce0a329c40730 |
|
MD5 | a0ec7ca76d19ec5bd784aa90580c44c3 |
|
BLAKE2b-256 | d146c9ef89271de9718167bf2b889f4000687d6c059e4c25d62e3804f8ea6f20 |
Hashes for backend.ai_common-23.9.10rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430e80b72325143997308730c6ff2e0d5d85ca9584414507bf5495842d8b413d |
|
MD5 | ec448427008bc6f6549554e199a09ea8 |
|
BLAKE2b-256 | dd03b1c1c8d31a996e78f8e5025c8f891146932f2403012385f54f081cee1211 |