-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Dropping the support for python 3.8 version from feast (#4010)
* Dropping the support for python 3.8 version from feast Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> * updating the pyproject.toml to use the python 3.9 version. Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> * Dropping the support for python 3.8 but these are required to merge the PR as the PR build needs these files because it runs based on the master files. We will be deleting these files once the PR is merged. Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> * Adding missed file. dropping the support for python 3.8. Dropping the support for python 3.8 but these are required to merge the PR as the PR build needs these files because it runs based on the master files. We will be deleting these files once the PR is merged. Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> * Trying to fix the integration test failures with drop python 3.8 version PR. Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com> --------- Signed-off-by: Lokesh Rangineni <lokeshforjava@gmail.com>
- Loading branch information
1 parent
be52772
commit a0f7472
Showing
17 changed files
with
77 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
1. install anaconda, install docker | ||
2. create an environment for feast, selecting python 3.9. Activate the environment: | ||
```bash | ||
conda create --name feast python=3.9 | ||
conda activate feast | ||
``` | ||
3. install dependencies: | ||
```bash | ||
pip install pip-tools | ||
brew install mysql | ||
brew install xz protobuf openssl zlib | ||
pip install cryptography -U | ||
conda install protobuf | ||
conda install pymssql | ||
pip install -e ".[dev]" | ||
make install-protoc-dependencies PYTHON=3.9 | ||
make install-python-ci-dependencies PYTHON=3.9 | ||
``` | ||
4. start the docker daemon | ||
5. run unit tests: | ||
```bash | ||
make test-python | ||
``` |
2 changes: 1 addition & 1 deletion
2
java/serving/src/test/resources/docker-compose/feast10/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.8 | ||
FROM python:3.9 | ||
|
||
WORKDIR /usr/src/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 16 additions & 16 deletions
32
sdk/python/feast/infra/utils/snowflake/snowpark/snowflake_python_udfs_creation.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,127 +1,127 @@ | ||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_binary_to_bytes_proto(df BINARY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_binary_to_bytes_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_varchar_to_string_proto(df VARCHAR) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_varchar_to_string_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_bytes_to_list_bytes_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_bytes_to_list_bytes_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_varchar_to_list_string_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_varchar_to_list_string_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_number_to_list_int32_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_number_to_list_int32_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_number_to_list_int64_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_number_to_list_int64_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_float_to_list_double_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_float_to_list_double_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_boolean_to_list_bool_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_boolean_to_list_bool_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_array_timestamp_to_list_unix_timestamp_proto(df ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_array_timestamp_to_list_unix_timestamp_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_number_to_int32_proto(df NUMBER) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_number_to_int32_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_number_to_int64_proto(df NUMBER) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_number_to_int64_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_float_to_double_proto(df DOUBLE) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_float_to_double_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_boolean_to_bool_proto(df BOOLEAN) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_boolean_to_bool_boolean_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_snowflake_timestamp_to_unix_timestamp_proto(df NUMBER) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_snowflake_timestamp_to_unix_timestamp_proto' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_serialize_entity_keys(names ARRAY, data ARRAY, types ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_serialize_entity_keys' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip'); | ||
|
||
CREATE FUNCTION IF NOT EXISTS feast_PROJECT_NAME_entity_key_proto_to_string(names ARRAY, data ARRAY, types ARRAY) | ||
RETURNS BINARY | ||
LANGUAGE PYTHON | ||
RUNTIME_VERSION = '3.8' | ||
RUNTIME_VERSION = '3.9' | ||
PACKAGES = ('protobuf', 'pandas') | ||
HANDLER = 'feast.infra.utils.snowflake.snowpark.snowflake_udfs.feast_entity_key_proto_to_string' | ||
IMPORTS = ('@STAGE_HOLDER/feast.zip') |
Oops, something went wrong.