Skip to content
Snippets Groups Projects
Commit 16d08675 authored by Jonas Braathen's avatar Jonas Braathen
Browse files

Merge branch 'bump-deps' into 'master'

Bump dependencies

See merge request !37
parents 4b6a2b3e 749f6d34
No related branches found
No related tags found
1 merge request!37Bump dependencies
Pipeline #91715 passed
...@@ -17,6 +17,7 @@ ENV PIP_DEFAULT_TIMEOUT=100 \ ...@@ -17,6 +17,7 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
RUN pip3 install poetry gunicorn RUN pip3 install poetry gunicorn
RUN mkdir /greg
WORKDIR /greg WORKDIR /greg
COPY pyproject.toml /greg COPY pyproject.toml /greg
COPY poetry.lock /greg COPY poetry.lock /greg
......
...@@ -10,7 +10,11 @@ class Command(BaseCommand): ...@@ -10,7 +10,11 @@ class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):
try: try:
with open(settings.NOTIFICATION_PUBLISHER["daemon"]["pid_file"], "r") as f: with open(
settings.NOTIFICATION_PUBLISHER["daemon"]["pid_file"],
"r",
encoding="utf-8",
) as f:
pid = int(f.read().strip()) pid = int(f.read().strip())
os.kill(pid, signal.SIGINT) os.kill(pid, signal.SIGINT)
......
...@@ -10,7 +10,11 @@ class Command(BaseCommand): ...@@ -10,7 +10,11 @@ class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):
try: try:
with open(settings.SCHEDULE_TASKS["daemon"]["pid_file"], "r") as f: with open(
settings.SCHEDULE_TASKS["daemon"]["pid_file"],
"r",
encoding="utf-8",
) as f:
pid = int(f.read().strip()) pid = int(f.read().strip())
os.kill(pid, signal.SIGINT) os.kill(pid, signal.SIGINT)
......
This diff is collapsed.
...@@ -16,12 +16,13 @@ pika-context-manager = {git = "https://git.app.uib.no/it-bott-integrasjoner/pika ...@@ -16,12 +16,13 @@ pika-context-manager = {git = "https://git.app.uib.no/it-bott-integrasjoner/pika
psycopg2-binary = "*" psycopg2-binary = "*"
python = "^3.9" python = "^3.9"
python-daemon = "*" python-daemon = "*"
python-json-logger = "*"
sentry-sdk = "*" sentry-sdk = "*"
whitenoise = "*" whitenoise = "*"
django-reversion = "^4.0.0" django-reversion = "*"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
Faker = "^8.10.1" Faker = "*"
black = "*" black = "*"
django-stubs = "*" django-stubs = "*"
djangorestframework-stubs = "*" djangorestframework-stubs = "*"
...@@ -29,9 +30,9 @@ ipython = "*" ...@@ -29,9 +30,9 @@ ipython = "*"
mypy = "*" mypy = "*"
pylint = "*" pylint = "*"
pylint-django = "*" pylint-django = "*"
pytest-django = "^4.4.0" pytest-django = "*"
rope = "*" rope = "*"
coverage = "^5.5" coverage = "*"
[tool.black] [tool.black]
extend-exclude = '^/greg/migrations/.*\.py' extend-exclude = '^/greg/migrations/.*\.py'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment