diff --git a/melamine/filesystems/zfs.py b/melamine/filesystems/zfs.py index 8b4c6c6..2657e9e 100644 --- a/melamine/filesystems/zfs.py +++ b/melamine/filesystems/zfs.py @@ -1,7 +1,7 @@ from collections.abc import Generator from pathlib import Path -import pyzfs +import libzfs class ZFSHandler: @@ -12,7 +12,7 @@ class ZFSHandler: path = path.resolve().absolute() inode = path.stat().st_ino - zfs = pyzfs.ZFS() + zfs = libzfs.ZFS() dataset = zfs.get_dataset_by_path(str(path)) if dataset is not None: pool = dataset.pool diff --git a/pyproject.toml b/pyproject.toml index 0e721d9..3be8c1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ dependencies = [ "loguru==0.7.0", "aiofiles==23.1.0", "uvloop==0.17.0", - "pyzfs==0.2.3", "asyncstdlib==3.10.8", "psutil==5.9.5", ]