From fcf91adecdb2de8b68e45d10835864f4da9cb150 Mon Sep 17 00:00:00 2001 From: labhvam5 <88420539+labhvam5@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:40:15 +0530 Subject: [PATCH] Updating gevents version (#266) * Updating gevents version * removing one gevents * updating python version --- Dockerfile | 2 +- requirements.txt | 3 +-- tests/conftest.py | 9 --------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8081be23..01fa3375 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/requirements.txt b/requirements.txt index 871ab84a..81de6055 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ fyle==0.30.0 fyle-accounting-mappings==1.26.2 fyle-integrations-platform-connector==1.32.2 fyle-rest-auth==1.3.1 -gevent==22.10.2 +gevent==23.9.1 gunicorn==20.1.0 idna==2.8 isort==5.10.1 @@ -46,5 +46,4 @@ pytest==7.1.2 pytest-cov==3.0.0 pytest-django==4.5.2 pytest-mock==3.8.2 -gevent==22.10.2 django-filter==21.1 diff --git a/tests/conftest.py b/tests/conftest.py index 4c879938..2ebf3e6c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -55,15 +55,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() def test_connection(db):