Repository navigation
Tests: six more ported from humemai, test extra for duckdb, ladybug, networkx; antora.yml formatting - #44
Merged
Conversation
… and networkx; fix Pretty format YAML on docs/antora.yml Part of tracker #19 (remaining tests). Ported from humemai/arcadedb-embedded-python, with the import changed to `arcadedb`: - test_sql_constraints_and_maintenance.py - test_collection_equality_known_issues.py (#445 there) - test_guide_graph_analytics.py and test_guide_timeseries.py (#388 there). The guide pages are not in this repository yet, so doc() returns the statement without checking the page; it checks again once the Antora pages exist. - test_equivalence.py and test_equivalence_ladybug.py (#347 there). The ladybug half is left out of collection on Windows in conftest.py, as there. The `test` extra gets duckdb>=1.4.2, ladybug>=0.21.2 and networkx>=3.4 (the floors humemai uses), and the same three go into the CI test install line. Wheels exist for all four CI platforms on Python 3.10 to 3.14, and the dependency-floor resolution works for every classifier. docs/antora.yml: the Pretty format YAML hook rewrote it (`version: ~` to `version:`, the nav list indent). Formatting only: both files parse to the same data. The hook also fails on main. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
8 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #19 (remaining tests, item 3 of the latest status comment, plus the formatting failure on
docs/antora.yml). Ported from humemai/arcadedb-embedded-python (the test files and humemai/arcadedb-embedded-python#445, #388, #347, #383 where they were first added), withimport arcadedb_embedded as arcadedbchanged toimport arcadedb.tests/test_sql_constraints_and_maintenance.py: the SQL forms the docs give for constraints, type scans, isolation level and admin statements.tests/test_collection_equality_known_issues.py: SQL=on a list or map written from Python (SQL=on a list or map compares elements with Java equals, so[1L, 2L]is not equal to[1, 2](CONTAINSALL, GROUP BY and Cypher say it is) arcadedb#10448). Thefixedprobe handles both engines. The docstring now says the wheel comes from thearcadedata/arcadedbimage, not from an engine source tree.tests/test_guide_graph_analytics.pyandtests/test_guide_timeseries.py: every guide example, run and asserted. In humemai each statement also had to appear verbatim indocs/guide/*.md. The guide pages are not in this repository yet (they are tracker item 4, as AsciiDoc), sodoc()returns the statement without checking a page, and the module docstring says so; the check comes back with the Antora pages.tests/test_equivalence.pyandtests/test_equivalence_ladybug.py: ArcadeDB against DuckDB (SQL), NetworkX (graph algorithms), LadybugDB (openCypher) and NumPy (vector search). The ladybug half is left out of collection on Windows intests/conftest.py, as in humemai.duckdb>=1.4.2,ladybug>=0.21.2,networkx>=3.4(the floors humemai uses), and the same three in the CI test install line oftest-python-bindings.yml. All three have wheels for the four CI platforms on Python 3.10 to 3.14 (checked on PyPI), and the dependency-floor audit'suv pip compile --resolution lowest-directresolves for every classifier. There is no Python 3.15 leg on main, so the cp315 exclusion humemai has is not needed.docs/antora.yml: the "Pretty format YAML" pre-commit hook fails on it on main. The hook's own rewrite is committed (version: ~becomesversion:, thenavlist indent changes). Formatting only: both files parse to the same data.Not ported from the humemai-only list:
test_check_version.py(PR #43),test_wheel_no_studio.py(goes with #20),test_download_data_dbpedia.py(the DBpedia part ofexamples/download_data.pyis not in this repository), and the benchmark tests listed as not planned in the tracker (test_bench_exec.py,test_render_ab_tables.py,test_jvm_payload.py).Checked locally: pre-commit on the changed files (black, isort, pretty-format-yaml, actionlint, the name check), Bandit as CI runs it on
srcandtests(clean), and the six new files plustest_check_test_skips.pyandtest_no_embedded_name.pypinned to cores 0-3: 85 passed, none skipped. The wheel for that run was not a fresh build of this branch: it was the Python sources of this branch on top of the jars and JRE of an earlier 26.11.1-SNAPSHOT build, since a Docker wheel build is not needed for tests that only use SQL, openCypher and the reference engines. CI runs them on freshly built wheels on all platforms.🤖 Generated with Claude Code