Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix importing in Python 3.7 #75

Merged
merged 4 commits into from
Apr 6, 2024
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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:
- "tests/**"
- ".github/workflows/ci.yml"
- "environment.yml"
- "setup.cfg"

jobs:
# Lint with black and docstring check with pydocstyle
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion sleap_io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions sleap_io/io/jabs.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading