From bae2e2ca3565a75fcff1d2bc911f0a2e022761b4 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 10 Apr 2022 13:04:30 -0400 Subject: Install more dependencies before running the pre-release tests. --- prepare-release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'prepare-release.sh') diff --git a/prepare-release.sh b/prepare-release.sh index f3ba517..29604a2 100644 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -26,7 +26,8 @@ python3 setup.py sdist bdist_wheel rm -rf ../py3-install-test-virtualenv virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv source ../py3-install-test-virtualenv/bin/activate -pip install dist/beautifulsoup4-*.whl +pip install dist/beautifulsoup4-*.whl lxml html5lib +pytest ../py3-install-test-virtualenv/lib/python3.8/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('foo', 'html.parser'))") # That should print 'foo' @@ -44,6 +45,7 @@ rm -rf ../py3-install-test-virtualenv virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv source ../py3-install-test-virtualenv/bin/activate pip install -i https://testpypi.python.org/pypi beautifulsoup4 --extra-index-url=https://pypi.python.org/pypi +pytest ../py3-install-test-virtualenv/lib/python3.8/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('foo', 'html.parser'))") # That should print 'foo' -- cgit v1.2.3