29
29
30
30
jobs :
31
31
build-python-wheel :
32
- name : Build wheels
32
+ name : Build wheels and source
33
33
runs-on : ubuntu-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
@@ -50,66 +50,26 @@ jobs:
50
50
with :
51
51
custom_version : ${{ github.event.inputs.custom_version }}
52
52
token : ${{ github.event.inputs.token }}
53
- - name : Build wheels
53
+ - name : Checkout version and install dependencies
54
54
env :
55
55
VERSION : ${{ steps.get-version.outputs.release_version }}
56
56
PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
57
57
run : |
58
58
git fetch --tags
59
59
git checkout ${VERSION}
60
60
python -m pip install build
61
- python -m build --wheel --outdir wheelhouse/
61
+ - name : Build feast
62
+ run : python -m build
62
63
- uses : actions/upload-artifact@v4
63
64
with :
64
65
name : python-wheels
65
- path : ./wheelhouse/*.whl
66
-
67
- build-source-distribution :
68
- name : Build source distribution
69
- runs-on : macos-13
70
- steps :
71
- - uses : actions/checkout@v4
72
- - name : Setup Python
73
- id : setup-python
74
- uses : actions/setup-python@v5
75
- with :
76
- python-version : " 3.11"
77
- architecture : x64
78
- - name : Setup Node
79
- uses : actions/setup-node@v3
80
- with :
81
- node-version-file : ' ./ui/.nvmrc'
82
- registry-url : ' https://registry.npmjs.org'
83
- - id : get-version
84
- uses : ./.github/actions/get-semantic-release-version
85
- with :
86
- custom_version : ${{ github.event.inputs.custom_version }}
87
- token : ${{ github.event.inputs.token }}
88
- - name : Build and install dependencies
89
- env :
90
- VERSION : ${{ steps.get-version.outputs.release_version }}
91
- # There's a `git restore` in here because `make install-go-ci-dependencies` is actually messing up go.mod & go.sum.
92
- run : |
93
- git fetch --tags
94
- git checkout ${VERSION}
95
- pip install -U pip setuptools wheel twine
96
- make build-ui
97
- git status
98
- git restore go.mod go.sum
99
- git restore sdk/python/feast/ui/yarn.lock
100
- - name : Build
101
- run : |
102
- python3 setup.py sdist
103
- - uses : actions/upload-artifact@v4
104
- with :
105
- name : source-distribution
106
66
path : dist/*
107
67
108
68
# We add this step so the docker images can be built as part of the pre-release verification steps.
109
69
build-docker-images :
110
70
name : Build Docker images
111
71
runs-on : ubuntu-latest
112
- needs : [ build-python-wheel, build-source-distribution ]
72
+ needs : [ build-python-wheel ]
113
73
strategy :
114
74
matrix :
115
75
component : [ feature-server-dev, feature-server-java, feature-transformation-server, feast-operator ]
137
97
verify-python-wheels :
138
98
name : Verify Python wheels
139
99
runs-on : ${{ matrix.os }}
140
- needs : [ build-python-wheel, build-source-distribution ]
100
+ needs : [ build-python-wheel ]
141
101
strategy :
142
102
matrix :
143
103
os : [ ubuntu-latest, macos-13 ]
@@ -168,10 +128,6 @@ jobs:
168
128
with :
169
129
name : python-wheels
170
130
path : dist
171
-
172
- with :
173
- name : source-distribution
174
- path : dist
175
131
- name : Install OS X dependencies
176
132
if : matrix.os == 'macos-13'
177
133
run : brew install coreutils
0 commit comments