Skip to content

Commit

Permalink
upgraded dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alvertogit committed Sep 15, 2024
1 parent d91f90b commit 820b5cc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.3
rev: v0.6.5
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /app
COPY requirements.txt /app
RUN python3 -m venv .
RUN python3 -m pip install pip==24.2
RUN python3 -m pip install setuptools==74.0.0
RUN python3 -m pip install setuptools==74.1.2
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./app /app
EXPOSE 5000
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Command to configure virtual environment with [venv]:
~/deeplearning_flask$ python3 -m venv .venv
~/deeplearning_flask$ source .venv/bin/activate
(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.2
(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==74.0.0
(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==74.1.2
(.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt
(.venv)~/deeplearning_flask$ pre-commit install
```
Expand Down
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
[project]
name = "deeplearning_flask"
version = "1.0.0"
authors = [
{ name="alvertogit" },
]
description = "An example project combining Deep Learning and Flask"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
]

[project.urls]
Homepage = "https://github.com/alvertogit/deeplearning_flask"

[tool.ruff]
extend-include = ["*.ipynb"]

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ numpy==1.26.4
Pillow==10.4.0
pre-commit==3.8.0
pur==7.3.2
pytest==8.3.2
pytest==8.3.3
requests==2.32.3
ruff==0.6.3
ruff==0.6.5
scikit-image==0.24.0
tensorflow==2.17.0

0 comments on commit 820b5cc

Please sign in to comment.