Skip to content

Commit

Permalink
Merge pull request #4 from rewardStyle/feature/update-dependencies
Browse files Browse the repository at this point in the history
[REV-1681] Update Dependencies
  • Loading branch information
multifascinated authored Sep 3, 2024
2 parents 9451a7b + 809abfd commit c5e6838
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/dependency-review.yml

This file was deleted.

9 changes: 4 additions & 5 deletions gunicorn_thrift/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-


from gunicorn import six
from gunicorn.config import Setting, validate_string, validate_pos_int,\
WorkerClass, validate_callable, validate_bool, validate_dict

Expand Down Expand Up @@ -59,7 +58,7 @@ class WorkerTerm(Setting):
name = "worker_term"
section = "Server Hooks"
validator = validate_callable(1)
type = six.callable
type = callable

def worker_term(worker):
pass
Expand All @@ -78,7 +77,7 @@ class ClientConnected(Setting):
name = "on_connected"
section = "Server Hooks"
validator = validate_callable(2)
type = six.callable
type = callable

def on_connected(worker, addr):
pass
Expand All @@ -96,7 +95,7 @@ class TDecodeExceptionRaised(Setting):
name = "on_tdecode_exception"
section = "Server Hooks"
validator = validate_callable(1)
type = six.callable
type = callable

def on_tdecode_exception(err):
pass
Expand All @@ -113,7 +112,7 @@ class ClientConnectClosed(Setting):
name = "post_connect_closed"
section = "Server Hooks"
validator = validate_callable(1)
type = six.callable
type = callable

def post_connect_closed(worker):
pass
Expand Down
4 changes: 2 additions & 2 deletions requirements_py3x.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setproctitle==1.1.10
gevent>=1.4,<1.6
gunicorn==19.9.0
gevent>=1.4,<24
gunicorn>=19.9.0,==22.*
thriftpy2>=0.4.0
2 changes: 1 addition & 1 deletion test_requirements_py3x.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest
pytest-cov
gevent>=1.4,<1.5
gevent>=1.4,<24
thrift>=0.9.3

0 comments on commit c5e6838

Please sign in to comment.