Skip to content

Commit caef840

Browse files
committed
no-binary test
Signed-off-by: Tommy Hughes <[email protected]>
1 parent 1a8b86f commit caef840

8 files changed

+27
-63
lines changed

.github/workflows/java_master_only.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,8 @@ jobs:
121121
- name: Install the latest version of uv and set the python version
122122
uses: astral-sh/setup-uv@v5
123123
with:
124+
enable-cache: true
124125
python-version: ${{ matrix.python-version }}
125-
- name: Get uv cache dir
126-
id: uv-cache
127-
run: |
128-
echo "::set-output name=dir::$(uv cache dir)"
129-
- name: uv cache
130-
uses: actions/cache@v4
131-
with:
132-
path: ${{ steps.uv-cache.outputs.dir }}
133-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
134-
135126
- name: Install Python dependencies
136127
run: make install-python-dependencies-ci
137128
- uses: actions/cache@v4
@@ -159,4 +150,6 @@ jobs:
159150
- name: Use AWS CLI
160151
run: aws sts get-caller-identity
161152
- name: Run integration tests
162-
run: make test-java-integration
153+
run: uv run --active make test-java-integration
154+
- name: Minimize uv cache
155+
run: uv cache prune --ci

.github/workflows/java_pr.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,8 @@ jobs:
170170
- name: Install the latest version of uv and set the python version
171171
uses: astral-sh/setup-uv@v5
172172
with:
173+
enable-cache: true
173174
python-version: 3.11
174-
- name: Get uv cache dir
175-
id: uv-cache
176-
run: |
177-
echo "::set-output name=dir::$(uv cache dir)"
178-
- name: uv cache
179-
uses: actions/cache@v4
180-
with:
181-
path: ${{ steps.uv-cache.outputs.dir }}
182-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
183175
- name: Install dependencies
184176
run: make install-python-dependencies-ci
185177
- name: Run integration tests

.github/workflows/master_only.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,8 @@ jobs:
5656
- name: Install the latest version of uv and set the python version
5757
uses: astral-sh/setup-uv@v5
5858
with:
59+
enable-cache: true
5960
python-version: ${{ matrix.python-version }}
60-
- name: Get uv cache dir
61-
id: uv-cache
62-
run: |
63-
echo "::set-output name=dir::$(uv cache dir)"
64-
- name: uv cache
65-
uses: actions/cache@v4
66-
with:
67-
path: ${{ steps.uv-cache.outputs.dir }}
68-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
6961
- name: Install dependencies
7062
run: make install-python-dependencies-ci
7163
- name: Setup Redis Cluster
@@ -87,9 +79,11 @@ jobs:
8779
SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}
8880
SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}
8981
SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}
90-
run: pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data --durations=5
82+
run: uv run --active pytest --verbose --color=yes sdk/python/tests --integration --benchmark --benchmark-autosave --benchmark-save-data --durations=5
9183
- name: Upload Benchmark Artifact to S3
9284
run: aws s3 cp --recursive .benchmarks s3://feast-ci-pytest-benchmark
85+
- name: Minimize uv cache
86+
run: uv cache prune --ci
9387

9488
build-all-docker-images:
9589
if: github.repository == 'feast-dev/feast'

.github/workflows/pr_integration_tests.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,8 @@ jobs:
8181
- name: Install the latest version of uv and set the python version
8282
uses: astral-sh/setup-uv@v5
8383
with:
84+
enable-cache: true
8485
python-version: ${{ matrix.python-version }}
85-
- name: Get uv cache dir
86-
id: uv-cache
87-
run: |
88-
echo "::set-output name=dir::$(uv cache dir)"
89-
- name: uv cache
90-
uses: actions/cache@v4
91-
with:
92-
path: ${{ steps.uv-cache.outputs.dir }}
93-
key: ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
9486
- name: Install dependencies
9587
run: make install-python-dependencies-ci
9688
- name: Setup Redis Cluster
@@ -106,4 +98,6 @@ jobs:
10698
SNOWFLAKE_CI_PASSWORD: ${{ secrets.SNOWFLAKE_CI_PASSWORD }}
10799
SNOWFLAKE_CI_ROLE: ${{ secrets.SNOWFLAKE_CI_ROLE }}
108100
SNOWFLAKE_CI_WAREHOUSE: ${{ secrets.SNOWFLAKE_CI_WAREHOUSE }}
109-
run: make test-python-integration
101+
run: uv run --active make test-python-integration
102+
- name: Minimize uv cache
103+
run: uv cache prune --ci

.github/workflows/pr_local_integration_tests.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,8 @@ jobs:
4343
- name: Install the latest version of uv and set the python version
4444
uses: astral-sh/setup-uv@v5
4545
with:
46+
enable-cache: true
4647
python-version: ${{ matrix.python-version }}
47-
- name: Get uv cache dir
48-
id: uv-cache
49-
run: |
50-
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
51-
- name: uv cache
52-
uses: actions/cache@v4
53-
with:
54-
path: ${{ steps.uv-cache.outputs.dir }}
55-
key: ${{ runner.os }}-${{ matrix.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', matrix.python-version)) }}
5648
- name: Install dependencies
5749
run: make install-python-dependencies-ci
5850
- name: Test local integration tests
@@ -64,3 +56,5 @@ jobs:
6456
go-version: 1.22.9
6557
- name: Operator Data Source types test
6658
run: make -C infra/feast-operator test-datasources
59+
- name: Minimize uv cache
60+
run: uv cache prune --ci

.github/workflows/pr_remote_rbac_integration_tests.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,12 @@ jobs:
4343
- name: Install the latest version of uv and set the python version
4444
uses: astral-sh/setup-uv@v5
4545
with:
46+
enable-cache: true
4647
python-version: ${{ matrix.python-version }}
47-
- name: Get uv cache dir
48-
id: uv-cache
49-
run: |
50-
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT
51-
- name: uv cache
52-
uses: actions/cache@v4
53-
with:
54-
path: ${{ steps.uv-cache.outputs.dir }}
55-
key: ${{ runner.os }}-${{ matrix.python-version }}-uv-${{ hashFiles(format('**/py{0}-ci-requirements.txt', matrix.python-version)) }}
5648
- name: Install dependencies
5749
run: make install-python-dependencies-ci
5850
- name: Test rbac and remote feature integration tests
5951
if: ${{ always() }} # this will guarantee that step won't be canceled and resources won't leak
6052
run: uv run --active make test-python-integration-rbac-remote
53+
- name: Minimize uv cache
54+
run: uv cache prune --ci

.github/workflows/smoke_tests.yml

+3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
- name: Install the latest version of uv and set the python version
2929
uses: astral-sh/setup-uv@v5
3030
with:
31+
enable-cache: true
3132
python-version: ${{ matrix.python-version }}
3233
- name: Install dependencies
3334
run: |
3435
uv pip sync --system sdk/python/requirements/py${{ matrix.python-version }}-requirements.txt
3536
uv pip install --system --no-deps .
3637
- name: Test Imports
3738
run: uv run --active python -c "from feast import cli"
39+
- name: Minimize uv cache
40+
run: uv cache prune --ci

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"Jinja2>=2,<4",
3838
"jsonschema",
3939
"mmh3",
40-
"numpy>=1.22,<2",
41-
"pandas>=1.4.3,<3",
42-
"pyarrow<18.1.0",
40+
"numpy==1.26.4",
41+
"pandas==2.1.4",
42+
"pyarrow==16.1.0",
4343
"pydantic>=2.0.0",
4444
"pygments>=2.12.0,<3",
4545
"PyYAML>=5.4.0,<7",
@@ -95,7 +95,7 @@
9595
TRINO_REQUIRED = ["trino>=0.305.0,<0.400.0", "regex"]
9696

9797
POSTGRES_REQUIRED = [
98-
"psycopg[binary,pool]>=3.0.0,<4",
98+
"psycopg[binary,pool]==3.2.5",
9999
]
100100

101101
OPENTELEMETRY = ["prometheus_client", "psutil"]
@@ -204,7 +204,7 @@
204204
"pre-commit<3.3.2",
205205
"assertpy==1.1",
206206
"pip-tools",
207-
"pybindgen",
207+
"pybindgen==0.22.0",
208208
"types-protobuf~=3.19.22",
209209
"types-python-dateutil",
210210
"types-pytz",

0 commit comments

Comments
 (0)