Skip to content

Commit

Permalink
upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alvertogit committed Jul 14, 2024
1 parent ce0768e commit 889abfe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ RUN mkdir -p /app
WORKDIR /app
COPY requirements.txt /app
RUN python3 -m venv .
RUN python3 -m pip install pip==24.1
RUN python3 -m pip install setuptools==70.1.0
RUN python3 -m pip install pip==24.1.2
RUN python3 -m pip install setuptools==70.3.0
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./app /app
EXPOSE 5000
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ The code has been tested using:
- [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions.
- [Gunicorn] (22.0): a [Python] [WSGI] HTTP Server for UNIX.
- [NGINX] (1.27): a free, open-source, high-performance HTTP server, reverse proxy, and IMAP/POP3 proxy server.
- [Docker] (26.1): an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
- [Docker Compose] (2.27): a tool for defining and running multi-container [Docker] applications.
- [Docker] (27.0): an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
- [Docker Compose] (2.28): a tool for defining and running multi-container [Docker] applications.
- [Keras] ([TensorFlow] built-in): a high-level neural networks [API], written in [Python] and capable of running on top of [TensorFlow].
- [TensorFlow] (2.16): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs.
- [TensorFlow] (2.17): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs.
- [Matplotlib] (3.9): a plotting library for [Python] and its numerical mathematics extension [NumPy].
- [NumPy] (1.26): a library for [Python], adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
- [Ruff] (0.4): An extremely fast Python linter and code formatter, written in Rust.
- [Ruff] (0.5): An extremely fast Python linter and code formatter, written in Rust.
- [scikit-image] (0.24): a collection of algorithms for image processing with [Python].

### PYTHON VIRTUAL ENVIRONMENT
Expand All @@ -43,8 +43,8 @@ Command to configure virtual environment with [venv]:
```bash
~/deeplearning_flask$ python3 -m venv .venv
~/deeplearning_flask$ source .venv/bin/activate
(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.1
(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==70.1.0
(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.1.2
(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==70.3.0
(.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt
```

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Flask==3.0.3
gunicorn==22.0.0
numpy==1.26.4
Pillow==10.3.0
Pillow==10.4.0
pur==7.3.2
pytest==8.2.2
requests==2.32.3
ruff==0.4.10
ruff==0.5.1
scikit-image==0.24.0
tensorflow==2.16.1
tensorflow==2.17.0
4 changes: 2 additions & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r requirements.txt
jupyterlab==4.2.2
matplotlib==3.9.0
jupyterlab==4.2.3
matplotlib==3.9.1

0 comments on commit 889abfe

Please sign in to comment.