diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 8f71b41d08b..15a6571367c 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -29,7 +29,7 @@ on: jobs: build-python-wheel: - name: Build wheels + name: Build wheels and source runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -50,7 +50,7 @@ jobs: with: custom_version: ${{ github.event.inputs.custom_version }} token: ${{ github.event.inputs.token }} - - name: Build wheels + - name: Checkout version and install dependencies env: VERSION: ${{ steps.get-version.outputs.release_version }} PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} @@ -58,58 +58,18 @@ jobs: git fetch --tags git checkout ${VERSION} python -m pip install build - python -m build --wheel --outdir wheelhouse/ + - name: Build feast + run: python -m build - uses: actions/upload-artifact@v4 with: name: python-wheels - path: ./wheelhouse/*.whl - - build-source-distribution: - name: Build source distribution - runs-on: macos-13 - steps: - - uses: actions/checkout@v4 - - name: Setup Python - id: setup-python - uses: actions/setup-python@v5 - with: - python-version: "3.11" - architecture: x64 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version-file: './ui/.nvmrc' - registry-url: 'https://registry.npmjs.org' - - id: get-version - uses: ./.github/actions/get-semantic-release-version - with: - custom_version: ${{ github.event.inputs.custom_version }} - token: ${{ github.event.inputs.token }} - - name: Build and install dependencies - env: - VERSION: ${{ steps.get-version.outputs.release_version }} - # There's a `git restore` in here because `make install-go-ci-dependencies` is actually messing up go.mod & go.sum. - run: | - git fetch --tags - git checkout ${VERSION} - pip install -U pip setuptools wheel twine - make build-ui - git status - git restore go.mod go.sum - git restore sdk/python/feast/ui/yarn.lock - - name: Build - run: | - python3 setup.py sdist - - uses: actions/upload-artifact@v4 - with: - name: source-distribution path: dist/* # We add this step so the docker images can be built as part of the pre-release verification steps. build-docker-images: name: Build Docker images runs-on: ubuntu-latest - needs: [ build-python-wheel, build-source-distribution ] + needs: [ build-python-wheel ] strategy: matrix: component: [ feature-server-dev, feature-server-java, feature-transformation-server, feast-operator ] @@ -137,7 +97,7 @@ jobs: verify-python-wheels: name: Verify Python wheels runs-on: ${{ matrix.os }} - needs: [ build-python-wheel, build-source-distribution ] + needs: [ build-python-wheel ] strategy: matrix: os: [ ubuntu-latest, macos-13 ] @@ -168,10 +128,6 @@ jobs: with: name: python-wheels path: dist - - uses: actions/download-artifact@v4.1.7 - with: - name: source-distribution - path: dist - name: Install OS X dependencies if: matrix.os == 'macos-13' run: brew install coreutils