Skip to content

Commit

Permalink
Test Python 3.13 rc (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Sep 23, 2024
1 parent e1d2677 commit 9143857
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions holonote/tests/test_annotators_advanced.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

from contextlib import suppress

import holoviews as hv
import numpy as np
import pandas as pd
Expand Down Expand Up @@ -183,6 +185,11 @@ def test_reconnect(method, tmp_path):
pd.testing.assert_frame_equal(a1_region, a2_region)
pd.testing.assert_frame_equal(a1_field, a2_field)

with suppress(Exception):
conn1.close()
with suppress(Exception):
conn2.close()


def test_define_annotations_multiple_without_without_all_fields(conn_sqlite_uuid) -> None:
annotator = Annotator(
Expand Down
10 changes: 8 additions & 2 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-39 = ["py39", "test-core", "test", "test-unit-task", "example", "test-examp
test-310 = ["py310", "test-core", "test", "test-unit-task", "example", "test-example"]
test-311 = ["py311", "test-core", "test", "test-unit-task", "example", "test-example"]
test-312 = ["py312", "test-core", "test", "test-unit-task", "example", "test-example"]
test-core = ["py312", "test-core", "test-unit-task"]
test-core = ["py313", "test-core", "test-unit-task"]
test-benchmark = ["py312", "test-benchmark", "test"]
docs = ["py311", "example", "doc"]
build = ["py311", "build"]
Expand All @@ -38,8 +38,14 @@ python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"

[feature.py313]
channels = ["pyviz/label/dev", "conda-forge/label/python_rc", "conda-forge"]

[feature.py313.dependencies]
python = "3.13.*"

[feature.example.dependencies]
dask = "*"
dask-core = "*"
datashader = "*"
hvplot = "*"
scipy = "*"
Expand Down

0 comments on commit 9143857

Please sign in to comment.