Skip to content

Commit

Permalink
[networkx] Fix Broken Build by Using Python 3.10
Browse files Browse the repository at this point in the history
NetworkX requires Python 3.10 and upgrading Pyinstaller ensures all of
its dependencies are properly bundled using the latest available
pyintaller-hooks-contrib package.
  • Loading branch information
DaveLak committed Jun 4, 2024
1 parent 21ac68e commit fc2f8c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions projects/networkx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@
# limitations under the License.
FROM gcr.io/oss-fuzz-base/base-builder-python

# Ensure we work from right python version
RUN apt-get install -y python3.9 python3.9-dev && \
ln --force -s /usr/bin/python3.9 /usr/local/bin/python3 && \
apt-get install -y python3-pip && \
python3 -m pip install cython "atheris>=2.1.1" "pyinstaller==5.0.1" "coverage==6.3.2"

RUN python3 -m pip install cython 'pyinstaller==6.7.0'
RUN git clone https://github.com/networkx/networkx networkx
RUN git clone --depth=1 https://github.com/prefuse/Prefuse prefuse
COPY *.sh *py $SRC/
Expand Down

0 comments on commit fc2f8c5

Please sign in to comment.