diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34486f7b..f3bc1724 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,6 @@ on: - "tests/**" - ".github/workflows/ci.yml" - "environment.yml" - - "setup.cfg" jobs: # Lint with black and docstring check with pydocstyle @@ -89,6 +88,13 @@ jobs: micromamba list pip freeze + - name: Install graphics dependencies on Ubuntu + # https://github.com/conda-forge/opencv-feedstock/issues/401 + if: ${{ startsWith(matrix.os, 'ubuntu') }} + shell: bash -l {0} + run: | + sudo apt-get update && sudo apt-get install libglapi-mesa libegl-mesa0 libegl1 libopengl0 libgl1-mesa-glx + - name: Test with pytest if: ${{ !(startsWith(matrix.os, 'ubuntu') && matrix.python == 3.9) }} shell: bash -l {0} diff --git a/sleap_io/__init__.py b/sleap_io/__init__.py index 147a2dcc..b7f19663 100644 --- a/sleap_io/__init__.py +++ b/sleap_io/__init__.py @@ -2,7 +2,7 @@ # Define package version. # This is read dynamically by setuptools in pyproject.toml to determine the release version. -__version__ = "0.0.13" +__version__ = "0.0.14" from sleap_io.model.skeleton import Node, Edge, Skeleton, Symmetry from sleap_io.model.video import Video diff --git a/sleap_io/io/jabs.py b/sleap_io/io/jabs.py index 12515ef5..0237a746 100644 --- a/sleap_io/io/jabs.py +++ b/sleap_io/io/jabs.py @@ -1,5 +1,7 @@ """This module handles direct I/O operations for working with JABS files.""" +from __future__ import annotations + import h5py import re import os