Skip to content

Commit d28de7a

Browse files
authored
fix: compatibility with dagster==1.11.1 (#34)
1 parent e6e6180 commit d28de7a

File tree

7 files changed

+33
-31
lines changed

7 files changed

+33
-31
lines changed

libraries/dagster-delta/dagster_delta/_db_io_manager/custom_db_io_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
cast,
66
)
77

8-
from dagster._core.definitions.multi_dimensional_partitions import (
8+
from dagster._core.definitions.partitions.definition.multi import (
99
MultiPartitionsDefinition,
1010
)
11-
from dagster._core.definitions.time_window_partitions import (
11+
from dagster._core.definitions.partitions.definition.time_window import (
1212
TimeWindowPartitionsDefinition,
1313
)
1414
from dagster._core.execution.context.input import InputContext

libraries/dagster-delta/dagster_delta/_db_io_manager/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
MultiPartitionsDefinition,
1111
TimeWindowPartitionsDefinition,
1212
)
13-
from dagster._core.definitions.time_window_partitions import TimeWindow
13+
from dagster._core.definitions.partitions.utils import TimeWindow
1414
from dagster._core.storage.db_io_manager import TablePartitionDimension
1515
from pendulum import instance as pdi
1616

libraries/dagster-delta/dagster_delta/_handler/utils/date_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
MultiPartitionsDefinition,
66
OutputContext,
77
)
8-
from dagster._core.definitions.time_window_partitions import (
8+
from dagster._core.definitions.partitions.definition.time_window import (
99
TimeWindowPartitionsDefinition,
1010
)
1111

libraries/dagster-delta/dagster_delta/_handler/utils/dnf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from collections.abc import Iterable, Sequence
22
from typing import Optional, Union, cast
33

4-
from dagster._core.definitions.time_window_partitions import (
4+
from dagster._core.definitions.partitions.utils import (
55
TimeWindow,
66
)
77
from dagster._core.storage.db_io_manager import TablePartitionDimension

libraries/dagster-delta/dagster_delta/io_manager/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from dagster import InputContext, OutputContext
1010
from dagster._config.pythonic_config import ConfigurableIOManagerFactory
11-
from dagster._core.definitions.time_window_partitions import TimeWindow
11+
from dagster._core.definitions.partitions.utils import TimeWindow
1212
from dagster._core.storage.db_io_manager import (
1313
DbClient,
1414
DbTypeHandler,

libraries/dagster-delta/pyproject.toml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
[project]
22
name = "dagster-delta"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
description = "Deltalake IO Managers for Dagster with pyarrow and Polars support."
55
readme = "README.md"
66
requires-python = ">=3.9"
7-
dependencies = [
8-
"dagster>=1.8,<2.0",
9-
"deltalake>=1.0.0",
10-
"pendulum>=3.0.0",
11-
]
12-
authors = [{name = "Ion Koutsouris"}]
7+
dependencies = ["dagster>=1.11.1,<2.0", "deltalake>=1.0.0", "pendulum>=3.0.0"]
8+
authors = [{ name = "Ion Koutsouris" }]
139
license-files = ["LICENSE", "licenses/elementl LICENSE"]
1410
classifiers = [
1511
"License :: OSI Approved :: Apache Software License",
1612
"Programming Language :: Python :: 3.9",
1713
"Programming Language :: Python :: 3.10",
1814
"Programming Language :: Python :: 3.11",
19-
"Programming Language :: Python :: 3.12"
15+
"Programming Language :: Python :: 3.12",
16+
]
17+
keywords = [
18+
"dagster",
19+
"deltalake",
20+
"delta",
21+
"datalake",
22+
"io manager",
23+
"polars",
24+
"pyarrow",
2025
]
21-
keywords = ["dagster", "deltalake", "delta","datalake", "io manager", "polars", "pyarrow"]
2226

2327
[project.optional-dependencies]
24-
polars = [
25-
"polars>=1.31.0"
26-
]
28+
polars = ["polars>=1.31.0"]
2729

2830
[build-system]
2931
requires = ["hatchling"]
@@ -32,7 +34,7 @@ build-backend = "hatchling.build"
3234
[tool.pyright]
3335

3436
typeCheckingMode = 'basic'
35-
reportUnknownMemberType = false
37+
reportUnknownMemberType = false
3638
exclude = [
3739
".bzr",
3840
".direnv",
@@ -59,7 +61,7 @@ exclude = [
5961
venvPath = "."
6062
venv = ".venv"
6163
reportMissingImports = false
62-
pythonVersion = "3.10"
64+
pythonVersion = "3.10"
6365

6466
[tool.ruff]
6567

libraries/dagster-delta/uv.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)