summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2024-07-19 18:49:11 +0200
committerMatt Clay <matt@mystile.com>2024-07-19 19:03:29 +0200
commitf261a6142f2f56f69ee2896229c07814b3880095 (patch)
tree74fa26e628b372ea26ea3c6375e31fd317140d25 /test
parentRevert "🧪 Use `setuptools [core]` @ collections_runtime_pythonpath (#83627)" (diff)
downloadansible-f261a6142f2f56f69ee2896229c07814b3880095.tar.xz
ansible-f261a6142f2f56f69ee2896229c07814b3880095.zip
Use build instead of pep517 for integration test
Diffstat (limited to 'test')
-rw-r--r--test/integration/targets/collections_runtime_pythonpath/ansible-collection-python-dist-boo/pyproject.toml1
-rwxr-xr-xtest/integration/targets/collections_runtime_pythonpath/runme.sh6
2 files changed, 3 insertions, 4 deletions
diff --git a/test/integration/targets/collections_runtime_pythonpath/ansible-collection-python-dist-boo/pyproject.toml b/test/integration/targets/collections_runtime_pythonpath/ansible-collection-python-dist-boo/pyproject.toml
index feec734a6b..509374b535 100644
--- a/test/integration/targets/collections_runtime_pythonpath/ansible-collection-python-dist-boo/pyproject.toml
+++ b/test/integration/targets/collections_runtime_pythonpath/ansible-collection-python-dist-boo/pyproject.toml
@@ -1,6 +1,5 @@
[build-system]
requires = [
"setuptools >= 44",
- "wheel",
]
build-backend = "setuptools.build_meta"
diff --git a/test/integration/targets/collections_runtime_pythonpath/runme.sh b/test/integration/targets/collections_runtime_pythonpath/runme.sh
index 2ec8e7d56c..9540784ecd 100755
--- a/test/integration/targets/collections_runtime_pythonpath/runme.sh
+++ b/test/integration/targets/collections_runtime_pythonpath/runme.sh
@@ -19,11 +19,11 @@ ansible \
>&2 echo '=== Test that the module gets picked up if installed into site-packages ==='
-python -m pip install pep517
-( # Build a binary Python dist (a wheel) using PEP517:
+python -m pip install build
+( # Build a binary Python dist (a wheel) using build:
cp -r ansible-collection-python-dist-boo "${OUTPUT_DIR}/"
cd "${OUTPUT_DIR}/ansible-collection-python-dist-boo"
- python -m pep517.build --binary --out-dir dist .
+ python -m build -w -o dist .
)
# Install a pre-built dist with pip:
python -m pip install \