Unverified Commit f4b66873 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

Fix warnings spotted in prototype datasets tests (#4668)

* fix category file inclusion

* fix deprecated import
parent a3541eb2
...@@ -466,7 +466,7 @@ if __name__ == "__main__": ...@@ -466,7 +466,7 @@ if __name__ == "__main__":
license="BSD", license="BSD",
# Package info # Package info
packages=find_packages(exclude=("test",)), packages=find_packages(exclude=("test",)),
package_data={package_name: ["*.dll", "*.dylib", "*.so", "*.categories"]}, package_data={package_name: ["*.dll", "*.dylib", "*.so", "prototype/datasets/_builtin/*.categories"]},
zip_safe=False, zip_safe=False,
install_requires=requirements, install_requires=requirements,
extras_require={ extras_require={
......
...@@ -5,7 +5,7 @@ import os ...@@ -5,7 +5,7 @@ import os
import pathlib import pathlib
import textwrap import textwrap
import warnings import warnings
from collections import Mapping from collections.abc import Mapping
from typing import ( from typing import (
Any, Any,
Callable, Callable,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment