Skip to content

Commit

Permalink
Gevent API changes (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh authored Oct 20, 2023
1 parent 825f272 commit f2ab6a7
Show file tree
Hide file tree
Showing 3 changed files with 2 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

# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ django-rest-framework==0.1.0
djangorestframework==3.11.2
fyle==v0.29.0
fyle-rest-auth==1.2.0
gevent==22.10.2
gevent==23.9.1
gunicorn==20.1.0
psycopg2-binary==2.8.4
pylint==2.7.4
Expand All @@ -20,4 +20,3 @@ pytest-cov==2.12.1
pytest-django==4.4.0
pytest-mock==3.6.1
sentry-sdk==1.19.1
gevent==22.10.2
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ def default_session_fixture(request):
)
patched_6.__enter__()

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

request.addfinalizer(unpatch)


@pytest.fixture()
def access_token():
Expand Down

0 comments on commit f2ab6a7

Please sign in to comment.