Skip to content

Commit 823e1ca

Browse files
authored
fix: move docker yaml file + bump version to 0.3.1 (#154)
## High Level Overview of Change Title says it all. ### Context of Change The docker-compose file was not copied alongside the source code when installing via `pip`. Discovered by @seelabs ### Type of Change - [x] Bug fix (non-breaking change which fixes an issue) ## Test Plan Seems to work locally.
1 parent 93a5ff4 commit 823e1ca

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- Better error handling for the `account_objects` call in `bridge create`
13+
- Fix docker-compose.yml file error when using this package via `pip`
1314

1415
## [0.3.0] - 2023-04-17
1516

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "xbridge-cli"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "A CLI that helps you set up an XRPL-XRPL bridge."
55
readme = "README.md"
66
repository = "https://github.com/xpring-eng/xbridge-cli"

tests/conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import json
22
import os
33
import tempfile
4+
import traceback
45
import unittest
56
import unittest.mock
67
from contextlib import contextmanager
@@ -107,7 +108,10 @@ def _base_fixture():
107108

108109
# start servers
109110
start_result = cli_runner.invoke(main, ["server", "start-all", "--verbose"])
110-
assert start_result.exit_code == 0, start_result.output
111+
if start_result.exit_code != 0:
112+
print(start_result.output)
113+
traceback.print_exception(start_result.exception)
114+
assert start_result.exit_code == 0
111115

112116
try:
113117
yield cli_runner

xbridge_cli/server/start.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
os.path.join(
2929
os.path.realpath(__file__),
3030
"..",
31-
"..",
32-
"..",
33-
"docker-setup",
3431
"docker-compose.yml",
3532
)
3633
)

0 commit comments

Comments
 (0)