-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix pip ResolutionTooDeep #39017
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: master
Are you sure you want to change the base?
Fix pip ResolutionTooDeep #39017
Changes from 3 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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| "comment": "Modify this file in a trivial way to cause this test suite to run.", | ||
| "modification": 3 | ||
| "modification": 5 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| # Constraints file to pin versions and avoid pip ResolutionTooDeep. | ||
| # This file is used with: pip install -c constraints.txt -r requirements.txt | ||
|
|
||
| # Core dependencies | ||
| tfx_bsl==1.15.1 | ||
| tensorflow-transform==1.15.0 | ||
|
|
||
| # TensorFlow ecosystem | ||
| tensorflow==2.15.1 | ||
| tensorflow-metadata==1.15.0 | ||
| tf-keras==2.15.1 | ||
|
|
||
| # NumPy and data handling | ||
| numpy==1.26.4 | ||
| pyarrow==10.0.1 | ||
|
|
||
| # Google Cloud (pin to avoid transitive resolution) | ||
| google-cloud-aiplatform==1.60.0 | ||
| google-api-core==2.19.1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,12 +15,13 @@ | |
| # limitations under the License. | ||
| # | ||
|
|
||
| dill==0.4.1 | ||
| tfx_bsl==1.16.1 | ||
| tensorflow-transform==1.16.0 | ||
| tensorflow>=2.16,<2.17 | ||
| # Core TFT dependencies with version bounds | ||
|
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. To prevent developers or automated scripts from hitting
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. Could you add this comment please? |
||
| dill>=0.3,<0.5 | ||
| tfx_bsl>=1.15,<1.17 | ||
| tensorflow-transform>=1.15,<1.17 | ||
| tensorflow>=2.15,<2.16 | ||
| numpy>=1.22.0,<2.0 | ||
| tensorflow-metadata>=1.16.1,<1.17.0 | ||
| tensorflow-metadata>=1.15,<1.16 | ||
| pyarrow>=10,<11 | ||
| tensorflow-serving-api>=2.16.1,<2.20 | ||
| tf-keras>=2.16.0,<2.17 | ||
| tensorflow-serving-api>=2.15,<2.16 | ||
| tf-keras>=2.15,<2.16 | ||
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.
For completeness and to ensure consistent resolution of all TensorFlow ecosystem packages, consider pinning
tensorflow-serving-apiin the constraints file as well, since it is specified inrequirements.txt.