This commit is contained in:
William Fu-Hinthorn
2023-07-25 23:43:23 -07:00
parent 01790b9711
commit 7a5398169f
2 changed files with 9 additions and 12 deletions

View File

@@ -102,6 +102,10 @@ def replace_imports(file):
except AttributeError as e:
logger.warning(f"Could not find module for {class_name}, {e}")
continue
except ImportError as e:
# Some CentOS OpenSSL issues can cause this to fail
logger.warning(f"Failed to load for class {class_name}, {e}")
continue
url = (
_BASE_URL

View File

@@ -1,19 +1,12 @@
#!/bin/bash
yum remove openssl-devel -y
yum install openssl11 openssl11-devel -y
yum update -y
yum install python3.11 -y
python3.11 --version
cd ..
python3.11 --version
python3.11 -m venv .venv
python3 --version
python3 -m venv .venv
source .venv/bin/activate
python3.11 -m pip install --upgrade pip
python3.11 -m pip install -r vercel_requirements.txt
python3.11 -c "from requests import HTTPError, Response; print(HTTPError, Response)"
python3 -m pip install --upgrade pip
python3 -m pip install -r vercel_requirements.txt
cp -r extras/* docs_skeleton/docs
cd docs_skeleton
nbdoc_build
python3.11 generate_api_reference_links.py
python3 generate_api_reference_links.py