chore(python): update dependencies to their latest versions

Also, migrate `pyproject.toml` to comply with check validation.
This commit is contained in:
João Paulo Dubas 2025-05-07 18:39:19 +00:00
parent ae71bfdb85
commit f20413771a
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA
4 changed files with 551 additions and 345 deletions

View File

@ -63,6 +63,7 @@ RUN ln -s /usr/local/lib/libpostal.so.1.0.1 /usr/local/lib/libpostal.so.1 \
WORKDIR /opt/src/app
COPY ./py/pyproject.toml .
COPY ./py/poetry.lock .
COPY ./py/README.md .
RUN poetry install
COPY ./py .

0
py/README.md Normal file
View File

874
py/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,22 @@
[tool.poetry]
[project]
name = "addressex"
version = "0.1.0"
description = "Address parser API"
authors = ["EmCasa Developer <dev@emcasa.com>"]
authors = [{ name = "EmCasa Developer", email = "dev@emcasa.com>" }]
readme = "README.md"
requires-python = ">=3.13,<4.0"
dependencies = [
"postal>=1.1.10",
"pynest-api>=0.3.0,<1.0.0"
]
[tool.poetry.dependencies]
python = "^3.12"
postal = "^1.1.10"
pynest-api = "^0.1.2"
[tool.poetry]
package-mode = false
[tool.poetry.group.dev.dependencies]
ipython = "^8.20.0"
pytest = "^7.4.4"
black = "^23.11.0"
ipython = "^9.2.0"
pytest = "^8.3.5"
black = "^25.1.0"
[build-system]
requires = ["poetry-core"]