Files
notifications-api/pyproject.toml
Carlo Costino 75631b94f5 Downgrade eventlet to 0.33.3
This changeset reverts a recent Dependabot update for eventlet back to 0.33.3, the last known working version for deployment.  The 0.34.1 release changed a bunch of deployment related things, including an overhaul of the eventlet/__init__.py file that removed the __version__ attribute.  This is checked when the deployment takes place in a Cloud Foundry environment (e.g., cloud.gov), ultimately by something internal within gunicorn.

It is unclear if the breakdown is with gunicorn itself or with the way that the Cloud Foundry Python buildpack operates during deployment, but it seems that either we will have to wait for an eventlet bug fix and/or updates to gunicorn and the Cloud Foundry Python buildack before we can update eventlet itself again.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-12-21 10:16:12 -05:00

82 lines
1.9 KiB
TOML

[tool.poetry]
name = "notifications-api"
version = "0.1.0"
description = "Notify.gov backend"
authors = ["Your Name <you@example.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
alembic = "==1.13.1"
amqp = "==5.2.0"
beautifulsoup4 = "==4.12.2"
boto3 = "^1.29.6"
botocore = "^1.32.6"
cachetools = "==5.3.2"
celery = {version = "==5.3.6", extras = ["redis"]}
certifi = ">=2022.12.7"
cffi = "==1.16.0"
charset-normalizer = "^3.1.0"
click = "==8.1.7"
click-datetime = "==0.2"
click-didyoumean = "==0.3.0"
click-plugins = "==1.1.1"
click-repl = "==0.3.0"
deprecated = "==1.2.14"
eventlet = "==0.33.3"
flask = "~=2.3"
flask-bcrypt = "==1.0.1"
flask-marshmallow = "==0.14.0"
flask-migrate = "==4.0.5"
flask-redis = "==0.4.0"
flask-sqlalchemy = "==3.0.5"
gunicorn = {version = "==21.2.0", extras = ["eventlet"]}
iso8601 = "==2.1.0"
jsonschema = {version = "==4.20.0", extras = ["format"]}
lxml = "==4.9.4"
marshmallow = "==3.20.1"
marshmallow-sqlalchemy = "==0.29.0"
newrelic = "*"
notifications-python-client = "==8.1.0"
notifications-utils = {git = "https://github.com/GSA/notifications-utils.git"}
oscrypto = "==1.3.0"
packaging = "==23.2"
poetry-dotenv-plugin = "==0.2.0"
psycopg2-binary = "==2.9.9"
pyjwt = "==2.8.0"
python-dotenv = "==1.0.0"
sqlalchemy = "==1.4.40"
werkzeug = "^3.0.1"
[tool.poetry.group.dev.dependencies]
awscli = "^1.29.74"
bandit = "*"
black = "^23.12.0"
cloudfoundry-client = "*"
exceptiongroup = "==1.2.0"
flake8 = "^6.1.0"
flake8-bugbear = "^23.12.2"
freezegun = "^1.4.0"
honcho = "*"
isort = "^5.13.2"
jinja2-cli = {version = "==0.8.2", extras = ["yaml"]}
moto = "==4.2.12"
pip-audit = "*"
pre-commit = "^3.6.0"
pytest = "^7.4.3"
pytest-env = "^1.1.3"
pytest-mock = "^3.12.0"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.5.0"
radon = "^6.0.1"
requests-mock = "^1.11.0"
setuptools = "^69.0.2"
vulture = "^2.10"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"