Skip to content

Commit 33c645f

Browse files
committed
udpate project to uv project
1 parent cef81c3 commit 33c645f

31 files changed

+912
-636
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,3 +659,4 @@ healthchecksdb
659659
MigrationBackup/
660660

661661
# End of https://www.gitignore.io/api/osx,python,pycharm,windows,visualstudio,visualstudiocode
662+
alure-report/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "test_query_expression", "status": "broken", "statusDetails": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './structured-data/query-data.json'", "trace": "def test_query_expression():\n query = \"locations[?state == 'WA'].name | sort(@) | {WashingtonCities: join(', ', @)}\"\n> result = load_from_file('./structured-data/query-data.json')\n\nquery = \"locations[?state == 'WA'].name | sort(@) | {WashingtonCities: join(', ', @)}\"\n\ntests/test_operations.py:36: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nfile_path = './structured-data/query-data.json', data_format = <DataFormatType.JSON: 1>\n\n def load_from_file(file_path: Path | str, data_format=DataFormatType.JSON) -> Any:\n match data_format:\n case DataFormatType.JSON:\n> with open(file_path, \"r\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: './structured-data/query-data.json'\n\ndata_format = <DataFormatType.JSON: 1>\nfile_path = './structured-data/query-data.json'\n\nsrc/qpystructs/operations.py:63: FileNotFoundError"}, "start": 1734082662443, "stop": 1734082662443, "uuid": "e1ccc78e-3904-41a6-b9d0-759bbcd3f282", "historyId": "adce7b3b9893f97cc6d626f0fc53e928", "testCaseId": "adce7b3b9893f97cc6d626f0fc53e928", "fullName": "tests.test_operations#test_query_expression", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_operations"}, {"name": "host", "value": "Patricks-MacBook-Pro.local"}, {"name": "thread", "value": "50663-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_operations"}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "test_parse_as", "status": "broken", "statusDetails": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'structured-data/camel-alias.json'", "trace": "def test_parse_as():\n> result = DemoModelAlias.parse_file('./structured-data/camel-alias.json')\n\n\ntests/test_models.py:20: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.venv/lib/python3.12/site-packages/pydantic/main.py:1302: in parse_file\n obj = parse.load_file(\n allow_pickle = False\n cls = <class 'tests.helper.demo_models.DemoModelAlias'>\n content_type = None\n encoding = 'utf8'\n parse = <module 'pydantic.deprecated.parse' from '/Users/patrick/workspace/personal/fluent-stacks/pyway/shared/qpystructs/.venv/lib/python3.12/site-packages/pydantic/deprecated/parse.py'>\n path = './structured-data/camel-alias.json'\n proto = None\n.venv/lib/python3.12/site-packages/pydantic/deprecated/parse.py:71: in load_file\n b = path.read_bytes()\n allow_pickle = False\n content_type = None\n encoding = 'utf8'\n json_loads = <function loads at 0x1057c18a0>\n path = PosixPath('structured-data/camel-alias.json')\n proto = None\n/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/pathlib.py:1020: in read_bytes\n with self.open(mode='rb') as f:\n self = PosixPath('structured-data/camel-alias.json')\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('structured-data/camel-alias.json'), mode = 'rb', buffering = -1\nencoding = None, errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return io.open(self, mode, buffering, encoding, errors, newline)\nE FileNotFoundError: [Errno 2] No such file or directory: 'structured-data/camel-alias.json'\n\nbuffering = -1\nencoding = None\nerrors = None\nmode = 'rb'\nnewline = None\nself = PosixPath('structured-data/camel-alias.json')\n\n/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/pathlib.py:1014: FileNotFoundError"}, "start": 1734082661774, "stop": 1734082661774, "uuid": "87ea0fba-e35d-49bd-842d-4a2bfd9cbbce", "historyId": "37b704b51670e9b8685b06e5372712b6", "testCaseId": "37b704b51670e9b8685b06e5372712b6", "fullName": "tests.test_models#test_parse_as", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_models"}, {"name": "host", "value": "Patricks-MacBook-Pro.local"}, {"name": "thread", "value": "50663-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_models"}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "test_get_value_by_expression", "status": "passed", "start": 1734082662423, "stop": 1734082662423, "uuid": "e1efa4a3-8bc3-4a47-ad65-851c0e0b062a", "historyId": "b382313c49a36a4038484e225c82629e", "testCaseId": "b382313c49a36a4038484e225c82629e", "fullName": "tests.test_operations#test_get_value_by_expression", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_operations"}, {"name": "host", "value": "Patricks-MacBook-Pro.local"}, {"name": "thread", "value": "50663-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_operations"}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "test_merged_cell", "status": "broken", "statusDetails": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'tmp.json'", "trace": "def test_merged_cell():\n> json_file_to_excel('tmp.json', 'tmp-json.xlsx')\n\n\ntests/test_operations.py:74: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsrc/qpystructs/operations.py:166: in json_file_to_excel\n json_data = load_from_file(json_file)\n excel_file = 'tmp-json.xlsx'\n json_file = 'tmp.json'\n record_path = None\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nfile_path = 'tmp.json', data_format = <DataFormatType.JSON: 1>\n\n def load_from_file(file_path: Path | str, data_format=DataFormatType.JSON) -> Any:\n match data_format:\n case DataFormatType.JSON:\n> with open(file_path, \"r\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'tmp.json'\n\ndata_format = <DataFormatType.JSON: 1>\nfile_path = 'tmp.json'\n\nsrc/qpystructs/operations.py:63: FileNotFoundError"}, "start": 1734082662885, "stop": 1734082662885, "uuid": "645bb9a9-f4ec-40ca-a364-baca4676b402", "historyId": "1763d63a3649f4beec3888242bd4e2a7", "testCaseId": "1763d63a3649f4beec3888242bd4e2a7", "fullName": "tests.test_operations#test_merged_cell", "labels": [{"name": "parentSuite", "value": "tests"}, {"name": "suite", "value": "test_operations"}, {"name": "host", "value": "Patricks-MacBook-Pro.local"}, {"name": "thread", "value": "50663-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.test_operations"}]}

0 commit comments

Comments
 (0)