Skip to content

Commit cb7dbb4

Browse files
committed
Fully align conda-build.yml wheel build/install step on master
1 parent 6d85603 commit cb7dbb4

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

.github/workflows/conda-build.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,11 @@ jobs:
6666
python -m pip install numpy>=1.22.0
6767
python -m pip install --upgrade pip build wheel "setuptools<69.3"
6868
69-
- name: Build the package
69+
- name: Build and install package
7070
shell: bash -l {0}
7171
run: |
7272
python -m build --wheel --no-isolation
73-
74-
- name: Install wheel and dependencies
75-
shell: bash -l {0}
76-
run: |
77-
export TFX_DEPENDENCY_SELECTOR=GIT_MASTER
78-
export USE_BAZEL_VERSION=7.7.0
79-
python -m pip install "apache-beam[gcp]>=2.53,<3" "pandas>=1.0,<3" "numpy>=1.22.0"
80-
python -m pip install git+https://github.com/tensorflow/metadata.git@master --no-deps
81-
# Bypasses PyPI lack of uncompiled prebuilt wheels over modern setups stably
82-
python -m pip install git+https://github.com/tensorflow/tfx-bsl.git@master --no-deps
83-
python -m pip install "tensorflow>=2.21,<2.22"
84-
python -m pip install "absl-py>=0.9,<2.0.0" "joblib>=1.2.0" "pyarrow>=14" "pyfarmhash>=0.2.2,<0.4" "six>=1.12,<2" "dill" "scipy" "scikit-learn"
85-
python -m pip install "protobuf==6.31.1" --force-reinstall
86-
python -m pip install dist/*.whl --no-deps
87-
python -m pip install pytest
73+
python -m pip install "dist/*.whl[all,test]"
8874
8975
- name: Run tests
9076
shell: bash -l {0}

0 commit comments

Comments
 (0)