Skip to content

Commit

Permalink
Gevent changes (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh authored Oct 20, 2023
1 parent 06208e4 commit 2d24ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pull python base image
FROM python:3.7.4-slim
FROM python:3.10-slim

# install the requirements from the requirements.txt file via git
RUN apt-get update && apt-get -y install libpq-dev gcc && apt-get install git -y --no-install-recommends
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ django-q==1.3.4
dj-database-url==0.5.0

# API server
gevent==22.10.2
gevent==23.9.1
gunicorn==20.1.0

# Platform SDK
Expand Down Expand Up @@ -48,5 +48,4 @@ pytest-mock==3.8.2

# Sendgrid for sending emails_selected
sendgrid==6.9.7
sentry-sdk==1.19.1
gevent==22.10.2
sentry-sdk==1.19.1
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,6 @@ def default_session_fixture(request):
)
patched_5.__enter__()

def unpatch():
patched_1.__exit__()
patched_2.__exit__()
patched_3.__exit__()
patched_4.__exit__()
patched_5.__exit__()

request.addfinalizer(unpatch)


@pytest.fixture
@pytest.mark.django_db(databases=['default'])
Expand Down

0 comments on commit 2d24ecf

Please sign in to comment.