Skip to content

Commit

Permalink
Updating gevents version (#266)
Browse files Browse the repository at this point in the history
* Updating gevents version

* removing one gevents

* updating python version
  • Loading branch information
labhvam5 authored Oct 20, 2023
1 parent c0750cd commit fcf91ad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 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 @@ -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
Expand All @@ -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
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit fcf91ad

Please sign in to comment.