Conversation
|
❌ 33/36 passed, 3 failed, 4 skipped, 25m54s total ❌ test_dashboards_creates_exported_dashboard_definition: assert {'datasets': ...: 'queries'}]} == {'datasets': ...: 'queries'}]} (2.145s)❌ test_dashboard_deploys_dashboard_the_same_as_created_dashboard: AssertionError: assert {'datasets': ...BYVSRgmXjF'}]} == {'datasets': ...BYVSRgmXjF'}]} (2.35s)❌ test_runtime_backend_errors_handled[\nfrom databricks.labs.lsql.backends import RuntimeBackend\nfrom databricks.sdk.errors import Unknown\nbackend = RuntimeBackend()\ntry:\n grants = backend.fetch("SHOW GRANTS ON METASTORE")\n print("FAILED")\nexcept Unknown:\n print("PASSED")\n]: AssertionError: assert 'FAILED' == 'PASSED' (24.253s)Running from acceptance #559 |
This hardcoded path is needed by the labs tool to locate the integration tests.
…ith the projects. These don't currently control the version of python properly.
These test failures are unrelated to changes on this branch. (They're addressed separately by #490 and #491.) |
| [tool.hatch.envs.test.overrides] | ||
| matrix.python.path = [ | ||
| # Sadly no way to interpolate this. | ||
| { value = ".venv-py3.10", if = ["3.10" ]}, | ||
| { value = ".venv-py3.11", if = ["3.11" ]}, | ||
| { value = ".venv-py3.12", if = ["3.12" ]}, | ||
| { value = ".venv-py3.13", if = ["3.13" ]}, | ||
| { value = ".venv-py3.14", if = ["3.14" ]} | ||
| ] |
There was a problem hiding this comment.
hatch can manage this and create a separate env per python version automatically
There was a problem hiding this comment.
@m-abulazm: I'd like to find a better way of doing this, can you elaborate?
Our criteria are:
- Must be within the project directory itself and not elsewhere so that IDEs are easy to set up.
- The ruff and pytest caches must be placed within the venv directories.
The triggers have been updated so that integration tests also run for draft PRs.
The primary purpose of this PR is to extend the CI/CD and project metadata to cover Python 3.13 and 3.14.
Changes include:
Some incidental changes include:
actions/checkout: 4.2.2 → 6.xactions/setup-python: 5.x → 6.x