Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
python -m build --sdist --outdir "$RUNNER_TEMP/varcode-dist"
mkdir "$RUNNER_TEMP/varcode-sdist"
tar -xzf "$RUNNER_TEMP"/varcode-dist/varcode-*.tar.gz --strip-components=1 -C "$RUNNER_TEMP/varcode-sdist"
# Osteosarc 0.14.x supports every Python version in this matrix;
# The supported Osteosarc range covers this Python matrix;
# run native adapter checks against the bundled historical snapshot.
python -m pip install "$RUNNER_TEMP/varcode-sdist[test-data]"
python -m pip check
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [v10.11.10](https://github.com/openvax/varcode/tree/v10.11.10) (2026-10-08)

- Allow osteosarc 0.15.x in the optional `test-data` extra and the snapshot
fixture's version check (`>=0.14.4,<0.16`), fixing five dataset tests that
errored during setup with osteosarc 0.15.5 (#581).

## [v10.11.9](https://github.com/openvax/varcode/tree/v10.11.9) (2026-10-06)

- Require gtfparse 3.0.2+ across the supported Python/pandas matrix, coordinated
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ include = ["varcode", "varcode.*"]

[project.optional-dependencies]
rna = ["pysam>=0.21"]
test-data = ["osteosarc>=0.14.4,<0.15"]
test-data = ["osteosarc>=0.14.4,<0.16"]

[project.scripts]
varcode-genes = "varcode.cli.genes_script:main"
Expand Down
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ separate from export and tests.

The targeted GPX4 and BRCA1 regressions use Ensembl 81. Offline integration
checks use the public osteosarc dataset through the published
osteosarc 0.14.x adapter (`>=0.14.4,<0.15`) from the optional `test-data` extra
osteosarc 0.14.x/0.15.x adapter (`>=0.14.4,<0.16`) from the optional `test-data` extra
(Python 3.9+):

```sh
Expand Down Expand Up @@ -141,7 +141,7 @@ To test an existing shared cache explicitly, set both
identity must match. Missing packages, objects, or a mismatched snapshot then
fail; the tests never fall back to the bundled snapshot. Without an explicit
snapshot, these checks skip only when the optional Osteosarc dependency is
absent. Osteosarc 0.7.x supports every Python version in the CI matrix.
absent. The supported Osteosarc range covers every Python version in the CI matrix.

These snapshot integration tests never download data or refresh sources. `Dataset.sync` acquires new
snapshots separately; current remote sources do not reproduce the historical
Expand Down
2 changes: 1 addition & 1 deletion tests/test_osteosarc_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def dataset(tmp_path_factory):
from osteosarc import Cache, Dataset

installed = tuple(int(part) for part in version("osteosarc").split(".")[:3])
assert (0, 14, 4) <= installed < (0, 15, 0) # the test-data extra's range
assert (0, 14, 4) <= installed < (0, 16, 0) # the test-data extra's range
cache = Cache(cache_root, offline=True)
data = Dataset.open(snapshot, cache=cache, offline=True)
assert data.id == SNAPSHOT_ID
Expand Down
2 changes: 1 addition & 1 deletion varcode/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "10.11.9"
__version__ = "10.11.10"
Loading