Skip to content

Commit

Permalink
Update Sphinx in order to fix jinja2 deprecated dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Apr 11, 2022
1 parent ef698d4 commit ce7a5ee
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -115,7 +115,14 @@ jobs:
run: PWNLIB_NOTERM=1 python -bb -c 'from pwn import *; print(pwnlib.term.term_mode)'

- name: Install documentation dependencies
run: pip install -r docs/requirements.txt
run: |
export PYTHON_VERSION="$(python --version)"
if [ "${PYTHON_VERSION}" = "Python 3.8.12" ]
then
pip install -r docs/requirements.txt
else
pip install -r docs/python2-requirements.txt
fi
- name: Manually install non-broken Unicorn
run: pip install unicorn==1.0.2rc3
Expand Down
18 changes: 18 additions & 0 deletions docs/python2-requirements.txt
@@ -0,0 +1,18 @@
capstone
coveralls
doc2dash
docutils<0.18
isort
mako>=1.0.0
paramiko>=1.15.2
pip>=6.0.8
pyelftools>=0.2.3
pygments>=2.0
pypandoc
pyserial>=2.7
requests>=2.5.1
ropgadget>=5.3
Sphinx==1.8.6
sphinx_rtd_theme
sphinxcontrib-napoleon
sphinxcontrib-autoprogram<=0.1.5
4 changes: 2 additions & 2 deletions docs/requirements.txt
Expand Up @@ -12,7 +12,7 @@ pypandoc
pyserial>=2.7
requests>=2.5.1
ropgadget>=5.3
sphinx<3.4
Sphinx==4.5.0
sphinx_rtd_theme
sphinxcontrib-napoleon
sphinxcontrib-autoprogram<=0.1.5
sphinxcontrib-autoprogram<=0.1.5

0 comments on commit ce7a5ee

Please sign in to comment.