-
Notifications
You must be signed in to change notification settings - Fork 12
feat: Define "extra" optional dependencies with ml, starting with ins… #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,4 +35,7 @@ | |
| "tqdm>=4.67", | ||
| "websockets>=14.0", | ||
| ], | ||
| extras_require={ | ||
| "ml": ["dataproc-ml>=1.0.0-rc1,<=1.0"], | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we going to adhere to semver for
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| }, | ||
| ) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version specifier for
dataproc-mlis very restrictive. The upper bound<=1.0will 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.1would allow for all1.0.xreleases, which is a common and recommended practice for libraries that follow semantic versioning.