Skip to content

Commit

Permalink
Bump a few dependencies to newer versions (2024-07) (#119)
Browse files Browse the repository at this point in the history
* build: Bump flask-mail, v0.9 => v0.10

* build: Bump ruff, v0.4 => v0.5

* build: Bump psycopg, v3.1 => v3.2

* build: Bump marshmallow, v3.19 => v3.20

* build: Bump python-dateutil, v2.8 => v2.9
  • Loading branch information
bdewilde authored Jul 13, 2024
1 parent 681cef8 commit 1f8e0f8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
19 changes: 10 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ dependencies = [
"flask~=3.0",
"flask-caching~=2.1.0",
"flask-jwt-extended~=4.6.0",
"flask_mail>=0.9.1", # TODO: this package is dead, we should replace it
"flask_mail~=0.10.0",
"flask_migrate~=4.0.0",
"flask_sqlalchemy~=3.1.0", # constrained by sqlalchemy
"flask_sqlalchemy~=3.1.0",
"flask-restx~=1.3.0",
"ftfy~=6.0",
"gunicorn~=21.0",
"jinja2~=3.0",
"joblib~=1.4",
"markupsafe~=2.0",
"marshmallow~=3.19.0",
"marshmallow~=3.20.0",
"numpy~=1.20",
"psycopg[binary,pool]~=3.1.0",
"psycopg[binary,pool]~=3.2.0",
"pymupdf~=1.24.0",
"python-dateutil~=2.8",
"python-dateutil~=2.9",
"python-dotenv~=1.0.0",
"redis~=5.0",
"rispy~=0.9.0",
Expand All @@ -57,7 +57,7 @@ dev = [
"pytest~=8.0",
"pytest-postgresql~=6.0",
"SQLAlchemy-Utils~=0.41.0",
"ruff~=0.4.0",
"ruff~=0.5.0",
]

[tool.setuptools.packages.find]
Expand All @@ -77,9 +77,6 @@ addopts = "--verbose"
testpaths = ["tests"]

[tool.ruff]
# ignore line-length violations, None comparisons, unused imports
ignore = ["E501", "E711", "F401"]
ignore-init-module-imports = true
line-length = 88
indent-width = 4
target-version = "py310"
Expand All @@ -91,6 +88,10 @@ indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

[tool.ruff.lint]
# ignore line-length violations, None comparisons, unused imports
ignore = ["E501", "E711", "F401"]

[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["colandr"]
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ mypy~=1.0
pytest~=8.0
pytest-postgresql~=6.0
SQLAlchemy-Utils~=0.41.0
ruff~=0.4.0
ruff~=0.5.0
8 changes: 4 additions & 4 deletions requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dedupe~=3.0.1
flask~=3.0.0
flask-caching~=2.1.0
flask-jwt-extended~=4.6.0
flask_mail>=0.9.1
flask_mail~=0.10.0
flask_migrate~=4.0.0
flask_sqlalchemy~=3.1.0
flask-restx~=1.3.0
Expand All @@ -18,11 +18,11 @@ gunicorn~=21.0
jinja2~=3.0
joblib~=1.4
markupsafe~=2.0
marshmallow~=3.19.0
marshmallow~=3.20.0
numpy~=1.20
psycopg[binary,pool]~=3.1.0
psycopg[binary,pool]~=3.2.0
pymupdf~=1.24.0
python-dateutil~=2.8
python-dateutil~=2.9
python-dotenv~=1.0.0
redis~=5.0
rispy~=0.9.0
Expand Down

0 comments on commit 1f8e0f8

Please sign in to comment.