refactor: update PYTHONPATH in systemd services and fix import paths
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Integration Tests / test-service-integration (push) Failing after 47s
Multi-Node Stress Testing / stress-test (push) Successful in 9s
Python Tests / test-python (push) Failing after 29s
Security Scanning / security-scan (push) Failing after 19s
Systemd Sync / sync-systemd (push) Successful in 28s
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Integration Tests / test-service-integration (push) Failing after 47s
Multi-Node Stress Testing / stress-test (push) Successful in 9s
Python Tests / test-python (push) Failing after 29s
Security Scanning / security-scan (push) Failing after 19s
Systemd Sync / sync-systemd (push) Successful in 28s
- Added configure_logging to __all__ exports in aitbc/__init__.py - Updated adaptive_learning_app.py import to use contexts.ai_analytics.services path - Fixed aitbc-hermes-wrapper.py PYTHONPATH to use examples/stubs/hermes-service - Added /opt/aitbc to PYTHONPATH in systemd service files (api-gateway, governance, gpu, trading)
This commit is contained in:
@@ -17,7 +17,7 @@ from aitbc import ENV_FILE, NODE_ENV_FILE, REPO_DIR, DATA_DIR, LOG_DIR
|
||||
# Set up environment using aitbc constants
|
||||
os.environ["AITBC_ENV_FILE"] = str(ENV_FILE)
|
||||
os.environ["AITBC_NODE_ENV_FILE"] = str(NODE_ENV_FILE)
|
||||
os.environ["PYTHONPATH"] = f"{REPO_DIR}/apps/hermes-service/src"
|
||||
os.environ["PYTHONPATH"] = f"{REPO_DIR}/examples/stubs/hermes-service/src"
|
||||
os.environ["DATA_DIR"] = str(DATA_DIR)
|
||||
os.environ["LOG_DIR"] = str(LOG_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user