Skip to content
Snippets Groups Projects
Commit f3ab2592 authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

Fix broken tests for py<3.8

parent 1d5eca8d
No related branches found
No related tags found
1 merge request!11Filter for only allowed engine keywords
Pipeline #21289 passed
...@@ -37,7 +37,7 @@ setup( ...@@ -37,7 +37,7 @@ setup(
entry_points={ entry_points={
"console_scripts": [f"{find_key(key='PROGRAM_NAME')} = rechunk_data:cli"] "console_scripts": [f"{find_key(key='PROGRAM_NAME')} = rechunk_data:cli"]
}, },
install_requires=["argparse", "dask", "xarray", "h5netcdf", "netCDF4"], install_requires=["argparse", "dask", "xarray", "h5netcdf", "netCDF4", "typing_extensions"],
extras_require={ extras_require={
"test": [ "test": [
"black", "black",
......
...@@ -10,7 +10,7 @@ from ._rechunk import ( ...@@ -10,7 +10,7 @@ from ._rechunk import (
logger, logger,
) )
__version__ = "2206.0.3" __version__ = "2208.0.1"
PROGRAM_NAME = "rechunk-data" PROGRAM_NAME = "rechunk-data"
......
...@@ -8,10 +8,10 @@ from typing import ( ...@@ -8,10 +8,10 @@ from typing import (
Dict, Dict,
Hashable, Hashable,
List, List,
Literal,
Optional, Optional,
Tuple, Tuple,
) )
from typing_extensions import Literal
import xarray as xr import xarray as xr
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
import os import os
import logging import logging
from pathlib import Path from pathlib import Path
from typing import cast, Any, Literal, Dict, Hashable, Generator, Optional, Tuple from typing import cast, Any, Dict, Hashable, Generator, Optional, Tuple
from typing_extensions import Literal
from dask.utils import format_bytes from dask.utils import format_bytes
from dask.array.core import Array from dask.array.core import Array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment