I've had some trouble running the smoke tester since the previous release because of the recent changes to it, which I think effectively require Python 3.12+. I've opened an issue to discuss: https://github.com/apache/lucene/issues/14556
In particular, if anyone else is using an Amazon Linux 2 host to run the smoke tester, you have to install your own Python (and potentially OpenSSL) from source. I'm documenting a solution here for posterity because it was painful to figure out. 1. Install Python 3.13 and OpenSSL 1.1.1 from source. OPENSSL_VERSION=1.1.1w sudo wget https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz sudo tar -xzf openssl-$OPENSSL_VERSION.tar.gz cd openssl-$OPENSSL_VERSION sudo ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib sudo make -j$(nproc) sudo make install PYTHON_VERSION=3.13.3 sudo wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz sudo tar -xzf Python-$PYTHON_VERSION.tgz cd Python-$PYTHON_VERSION # vim Modules/Setup and uncomment the lines with build targets _ssl and _hashlib export CPPFLAGS="-I/usr/local/openssl/include" export LDFLAGS="-L/usr/local/openssl/lib" export LD_LIBRARY_PATH="/usr/local/openssl/lib:$LD_LIBRARY_PATH" sudo ./configure --prefix=/usr/local --enable-optimizations --with-openssl=/usr/local/openssl sudo make -j$(nproc) sudo make altinstall 2. Put the OpenSSL build where Python can find it SSL_SO=$(find build -name "_ssl*.so" | head -n 1 || true) sudo cp "$SSL_SO" /usr/local/lib/python3.13/lib-dynload/ # for me that meant: sudo cp /usr/src/Python-3.13.3/build/lib.linux-aarch64-3.13/_ ssl.cpython-313-aarch64-linux-gnu.so /usr/local/lib/python3.13/lib-dynload/ 3. SSL certificates In `~/.zshrc` add `export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt`. 4. Run the smoketester with python3.13 On Fri, 25 Apr 2025 at 00:54, Stefan Vodita <stefan.vod...@gmail.com> wrote: > +1 SUCCESS! [0:47:56.228055] > > On Thu, 24 Apr 2025 at 17:07, Chris Hegarty > <christopher.hega...@elastic.co.invalid> wrote: > >> Please vote for release candidate 1 for Lucene 10.2.1 >> >> The artifacts can be downloaded from: >> >> https://dist.apache.org/repos/dist/dev/lucene/lucene-10.2.1-RC1-rev-02cf96b8f7c87fdf5eab864bfc242d36aa2086e7 >> >> You can run the smoke tester directly with this command: >> >> python3 -u dev-tools/scripts/smokeTestRelease.py \ >> >> https://dist.apache.org/repos/dist/dev/lucene/lucene-10.2.1-RC1-rev-02cf96b8f7c87fdf5eab864bfc242d36aa2086e7 >> >> The vote will be open for at least 72 hours (excluding weekends) i.e. >> until 2025-04-29 17:00 UTC. >> >> [ ] +1 approve >> [ ] +0 no opinion >> [ ] -1 disapprove (and reason why) >> >> Here is my +1 >> >> Draft release notes: >> https://cwiki.apache.org/confluence/display/LUCENE/ReleaseNote10_2_1 >> >> -Chris. >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> >>