|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +# |
| 17 | + |
| 18 | +# Constraints file to pin versions and avoid pip ResolutionTooDeep. |
| 19 | +# This file is used with: pip install -c constraints.txt -r requirements.txt |
| 20 | + |
| 21 | +# Core dependencies |
| 22 | +tfx_bsl==1.15.1 |
| 23 | +tensorflow-transform==1.15.0 |
| 24 | + |
| 25 | +# TensorFlow ecosystem |
| 26 | +tensorflow==2.15.1 |
| 27 | +tensorflow-metadata==1.15.0 |
| 28 | +tf-keras==2.15.1 |
| 29 | + |
| 30 | +# NumPy and data handling |
| 31 | +numpy==1.26.4 |
| 32 | +pyarrow==10.0.1 |
| 33 | + |
| 34 | +# Google Cloud (pin to avoid transitive resolution) |
| 35 | +google-cloud-aiplatform==1.60.0 |
| 36 | +google-api-core==2.19.1 |
| 37 | + |
| 38 | +# Note: google-auth is NOT constrained - let pip resolve it to satisfy |
| 39 | +# apache-beam's google-genai requirement (>=2.48.1) |
| 40 | + |
| 41 | +# Note: tensorflow-serving-api is NOT constrained - let pip resolve it within |
| 42 | +# the range specified in requirements.txt (>=2.15,<2.16) |
0 commit comments