Skip to content

Commit

Permalink
try to fix docker build failing on pyyaml 6.0, slighty update pip req…
Browse files Browse the repository at this point in the history
…uirements
  • Loading branch information
indy-independence committed Jan 26, 2024
1 parent 8e2594b commit 54e2387
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN apt-get update \
python3-gevent\

&& pip3 install --no-cache-dir uwsgi --break-system-packages
&& pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==6.0
# ^ https://github.com/yaml/pyyaml/issues/724#issuecomment-1638636728
# && apt-get install -y uwsgi

#RUN pip3 install uwsgi
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ flask-restx==1.0.5
flask==2.2.5
Flask-SocketIO==5.3.1
gevent==22.10.2
GitPython==3.1.37
GitPython==3.1.41
mypy==0.971
mypy-extensions==0.4.3
markupsafe==2.1.1
nornir==3.3.0
nornir-jinja2==0.2.0
nornir-napalm==0.4.0
nornir-netmiko==0.2.0
nornir-netmiko==1.0.1
nornir-utils==0.2.0
napalm==4.1.0
nose==1.3.7
Expand All @@ -32,7 +32,6 @@ SQLAlchemy-Utils==0.38.3
pydantic==2.3.0
Werkzeug==3.0.1
greenlet==3.0.1
pyyaml!=6.0.0,!=5.4.0,!=5.4.1
pydantic_settings==2.1.0
Authlib==1.0.1
python-jose==3.1.0

0 comments on commit 54e2387

Please sign in to comment.