Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@
"tqdm>=4.67",
"websockets>=14.0",
],
extras_require={
"ml": ["dataproc-ml>=1.0.0-rc1,<=1.0"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The version specifier for dataproc-ml is very restrictive. The upper bound <=1.0 will prevent users from installing patch releases (e.g., 1.0.1) which may contain important bug fixes. It's better to allow for compatible future releases by specifying a more flexible upper bound for the version. Using <1.1 would allow for all 1.0.x releases, which is a common and recommended practice for libraries that follow semantic versioning.

Suggested change
"ml": ["dataproc-ml>=1.0.0-rc1,<=1.0"],
"ml": ["dataproc-ml>=1.0.0-rc1,<1.1"],

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we going to adhere to semver for dataproc-ml? I.e. will 1.1 have backward compatibility with 1.0?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we need to add other deps that we need to match between client and server. For example we had issues w/ numpy, is there anything else that we care about? cc @jayadeep-jayaraman

},
)
Loading