Skip to content

Commit 4c39375

Browse files
committed
Fix yanked fsspec pip resolution issue
1 parent 033d3d4 commit 4c39375

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ azure-storage-blob = { version = ">=12.0.0", optional = true }
114114
azure-mgmt-resource = { version = ">=21.0.0", optional = true }
115115

116116
# Optional dependencies for the S3 artifact store
117-
s3fs = { version = ">=2022.11.0", optional = true }
117+
s3fs = { version = ">=2022.11.0,!=2025.3.1", optional = true }
118118

119119
# Optional dependencies for the Sagemaker orchestrator
120120
sagemaker = { version = ">=2.199.0", optional = true }

src/zenml/client.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,6 @@ def create_stack(
12131213
name=name,
12141214
components=stack_components,
12151215
stack_spec_path=stack_spec_file,
1216-
project=self.active_project.id,
12171216
labels=labels,
12181217
)
12191218

@@ -1339,7 +1338,6 @@ def update_stack(
13391338

13401339
# Create the update model
13411340
update_model = StackUpdate(
1342-
project=self.active_project.id,
13431341
stack_spec_path=stack_spec_file,
13441342
)
13451343

@@ -2027,7 +2025,6 @@ def create_stack_component(
20272025
type=component_type,
20282026
flavor=flavor,
20292027
configuration=configuration,
2030-
project=self.active_project.id,
20312028
labels=labels,
20322029
)
20332030

@@ -2075,9 +2072,7 @@ def update_stack_component(
20752072
allow_name_prefix_match=False,
20762073
)
20772074

2078-
update_model = ComponentUpdate(
2079-
project=self.active_project.id,
2080-
)
2075+
update_model = ComponentUpdate()
20812076

20822077
if name is not None:
20832078
existing_components = self.list_stack_components(

src/zenml/integrations/s3/__init__.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,10 @@ class S3Integration(Integration):
3131
NAME = S3
3232
# boto3 isn't required for the filesystem to work, but it is required
3333
# for the AWS/S3 connector that can be used with the artifact store.
34-
# NOTE: to keep the dependency resolution for botocore consistent and fast
35-
# between s3fs and boto3, the boto3 upper version used here should be the
36-
# same as the one resolved by pip when installing boto3 without a
37-
# restriction alongside s3fs, e.g.:
38-
#
39-
# pip install 's3fs>2022.3.0,<=2023.4.0' boto3
40-
#
41-
# The above command installs boto3==1.26.76, so we use the same version
42-
# here to avoid the dependency resolution overhead.
4334
REQUIREMENTS = [
44-
"s3fs>2022.3.0",
35+
# Explicitly exclude 2025.3.1 to avoid pulling in the yanked fsspec
36+
# package with the same version
37+
"s3fs>2022.3.0,!=2025.3.1",
4538
"boto3",
4639
# The following dependencies are only required for the AWS connector.
4740
"aws-profile-manager",

0 commit comments

Comments
 (0)