From dbe6d9e43bcb11e101147da9a7d54380a1109a04 Mon Sep 17 00:00:00 2001 From: Anish Kr Singh <116036738+anishfyle@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:45:09 +0530 Subject: [PATCH] Bump gevent (#431) * Bump gevent * rem gevent --- Dockerfile | 2 +- requirements.txt | 3 +-- tests/conftest.py | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 23ac0b52..4d3685e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/requirements.txt b/requirements.txt index fc278e19..b72f180d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ fyle-integrations-platform-connector==1.32.3 fyle-accounting-mappings==1.26.0 fyle-rest-auth==1.5.0 gunicorn==20.1.0 -gevent==22.10.2 +gevent==23.9.1 idna==2.8 iniconfig==1.1.1 isodate==0.6.0 @@ -62,4 +62,3 @@ urllib3==1.26.11 wcwidth==0.1.8 wrapt==1.12.1 zeep==4.1.0 -gevent==22.10.2 diff --git a/tests/conftest.py b/tests/conftest.py index 1996d25b..25f9dac6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -126,8 +126,3 @@ def default_session_fixture(request): return_value=None ) patched_7.__enter__() - - def unpatch(): - patched_1.__exit__() - - request.addfinalizer(unpatch)