Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

[build-system]
requires = [
"setuptools~=70.1.1",
"wheel~=0.43.0"
"setuptools~=75.3.0",
"wheel~=0.45.1"
]
build-backend = "setuptools.build_meta"

Expand Down
16 changes: 11 additions & 5 deletions scripts/dist_install_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@
set -e

function cleanup() {
rm -f dist/apache*libcloud*.*
rm -rf dist/apache*libcloud*.*
pip uninstall -y apache-libcloud || true
}

cleanup

trap cleanup EXIT

# Verify library installs without any dependencies when using python setup.py
# install
# Verify library installs without any dependencies when using source
# tarball
echo "Running dist install checks"
python --version

Expand All @@ -37,9 +38,14 @@ pip show typing && exit 1
pip show enum34 && exit 1
pip show apache-libcloud && exit 1

# Install the library
pip install .
# Build and install the library
pip install build
python -m build
pip install dist/apache_libcloud-*.tar.gz

# Verify the library has been installed and perform basic sanity check
pip show apache-libcloud
python -c "import libcloud; print(libcloud.__version__)"

# Verify all dependencies were installed
pip show requests
Expand Down
7 changes: 6 additions & 1 deletion scripts/dist_wheel_install_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
set -e

function cleanup() {
rm -f dist/apache*libcloud*.*
rm -rf dist/apache*libcloud*.*
pip uninstall -y apache-libcloud || true
}

cleanup
Expand All @@ -42,6 +43,10 @@ pip install build
python -m build
pip install dist/apache_libcloud-*.whl

# Verify the library has been installed and perform basic sanity check
pip show apache-libcloud
python -c "import libcloud; print(libcloud.__version__)"

# Verify all dependencies were installed
pip show requests
pip show typing && exit 1
Expand Down
Loading