ci: Maturin-related builds from source by tchughesiv · Pull Request #5270 · feast-dev/feast
What this PR does / why we need it:
Continues efforts toward a complete build from source for the feature-server image. This PR gets us almost all the way there... only 1 package remains as a binary install. This PR supports source builds for the following addional python package dependencies -
- pydantic_core
- watchfiles
- rpds-py
- cryptography
- aiohttp
- psycopg-c
Also, for our minimal install in the feature-server image ... we replace the psycopg-binary with a psycopg[c] install. This package is a direct replacement, is recommended in production installs, and it allows us to build the full psycopg adapter from source. This has been tested in a feature store environment with a PostgreSQL data store.
https://www.psycopg.org/psycopg3/docs/basic/install.html#local-installation
Which issue(s) this PR fixes:
Misc
A milvus-lite package source build will require enhancements from the hermeto tool in order to support fetches for the conan package manager.
We added separate release offline script/Dockerfile
source ./infra/scripts/offline-release-build.sh # leverages sdk/python/feast/infra/feature_servers/multicloud/offline/Dockerfile.sdist.release
source ./infra/scripts/offline-binary-release-build.sh # leverages sdk/python/feast/infra/feature_servers/multicloud/offline/Dockerfile.binary.release