diff options
-rw-r--r-- | doc/source/conf.py | 2 | ||||
-rw-r--r-- | prepare-release.sh | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index e32d6b8..15e258b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,7 +50,7 @@ copyright = u'2004-2023, Leonard Richardson' # The short X.Y version. version = '4' # The full version, including alpha/beta/rc tags. -release = '4.9.0' +release = '4.12.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/prepare-release.sh b/prepare-release.sh index 972b396..599e92b 100644 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -27,15 +27,13 @@ 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 pytest lxml html5lib soupsieve -pytest ../py3-install-test-virtualenv/lib/python3.10/site-packages/bs4/tests/ +python -m pytest ../py3-install-test-virtualenv/lib/python3.10/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('<a>foo', 'html.parser'))") # That should print '<a>foo</a>' deactivate rm -rf ../py3-install-test-virtualenv -# - # Upload to test twine upload --repository-url https://test.pypi.org/legacy/ dist/* @@ -44,8 +42,9 @@ twine upload --repository-url https://test.pypi.org/legacy/ dist/* rm -rf ../py3-install-test-virtualenv virtualenv -p /usr/bin/python3 ../py3-install-test-virtualenv source ../py3-install-test-virtualenv/bin/activate +pip install pytest lxml html5lib pip install -i https://testpypi.python.org/pypi beautifulsoup4 --extra-index-url=https://pypi.python.org/pypi -pytest ../py3-install-test-virtualenv/lib/python3.10/site-packages/bs4/tests/ +python -m pytest ../py3-install-test-virtualenv/lib/python3.10/site-packages/bs4/tests/ echo "EXPECT HTML ON LINE BELOW" (cd .. && python -c "from bs4 import _s; print(_s('<a>foo', 'html.parser'))") # That should print '<a>foo</a>' |