From e67ce8d5241eb610d3b9b749f3ffe0bcd8e0fac5 Mon Sep 17 00:00:00 2001 From: kczimm <4733573+kczimm@users.noreply.github.com> Date: Mon, 10 Feb 2025 11:55:15 -0600 Subject: [PATCH 1/2] Update build.sh --- packages/postgresml-python/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/postgresml-python/build.sh b/packages/postgresml-python/build.sh index 2d3ad2fde..952164531 100644 --- a/packages/postgresml-python/build.sh +++ b/packages/postgresml-python/build.sh @@ -58,6 +58,8 @@ echo "Creating Python virtual environment with Python ${PYTHON_VERSION}" virtualenv --python="python${PYTHON_VERSION}" "$deb_dir/var/lib/postgresml-python/pgml-venv" source "$deb_dir/var/lib/postgresml-python/pgml-venv/bin/activate" +export SETUPTOOLS_USE_DISTUTILS=stdlib + python -m pip install -r "${deb_dir}/etc/postgresml-python/requirements.txt" deactivate @@ -71,4 +73,4 @@ dpkg-deb \ --build "$deb_dir" \ "postgresml-python-${PACKAGE_VERSION}-ubuntu${UBUNTU_VERSION}-${ARCH}.deb" -rm -rf "$deb_dir" \ No newline at end of file +rm -rf "$deb_dir" From 9a837dd38e7b2fd29991938d12091876e1c51ecf Mon Sep 17 00:00:00 2001 From: kczimm <4733573+kczimm@users.noreply.github.com> Date: Mon, 10 Feb 2025 11:59:23 -0600 Subject: [PATCH 2/2] Update build.sh --- packages/postgresml-python/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/postgresml-python/build.sh b/packages/postgresml-python/build.sh index 952164531..5d724e9fa 100644 --- a/packages/postgresml-python/build.sh +++ b/packages/postgresml-python/build.sh @@ -58,7 +58,7 @@ echo "Creating Python virtual environment with Python ${PYTHON_VERSION}" virtualenv --python="python${PYTHON_VERSION}" "$deb_dir/var/lib/postgresml-python/pgml-venv" source "$deb_dir/var/lib/postgresml-python/pgml-venv/bin/activate" -export SETUPTOOLS_USE_DISTUTILS=stdlib +pip install --upgrade setuptools python -m pip install -r "${deb_dir}/etc/postgresml-python/requirements.txt"
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: