Skip to content

Commit

Permalink
fix dependencies on psycogreen, not required actually
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ke committed Oct 30, 2024
1 parent ef0cf86 commit eb317d6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion skipper/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pip-licenses = "==4.3.4"
django-prometheus = "==2.3.1"
tblib = "==3.0.0"
jsonschema = {version = "==4.21.0"}
psycogreen = "==1.0.2"
gevent = "==24.2.1"
greenlet = "==3.0.3"
"zope.event" = "==5.0"
Expand Down
9 changes: 1 addition & 8 deletions skipper/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions skipper/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def run_unit_tests() -> None:


def trivy_check(image: str) -> None:
return None
log(f'checking image {image} with trivy.')
subprocess.check_call([
'trivy',
Expand Down
4 changes: 2 additions & 2 deletions skipper/buildinfo/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
suffix_version = ""
else:
major_version = "2"
minor_version = "2"
patch_version = "10"
minor_version = "3"
patch_version = "0"
suffix_version = ""


Expand Down
2 changes: 0 additions & 2 deletions skipper/skipper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
# python 3.9 and python 3.10 need this to be done as soon as possible
# also, only do this for gunicorn. Celery workers are still
# using the sync workers since its simpler
from psycogreen.gevent import patch_psycopg # type: ignore
from gevent import monkey # type: ignore
monkey.patch_all()
patch_psycopg()


# This will make sure the app is always imported when
Expand Down

0 comments on commit eb317d6

Please sign in to comment.