Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies #73

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
timeout-minutes: 12

- name: Repo checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 4 additions & 4 deletions JobRunner/callback_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

from sanic import Sanic
from sanic.config import Config
from sanic.exceptions import abort
from sanic.exceptions import SanicException
from sanic.log import logger
from sanic.response import json

Config.SANIC_REQUEST_TIMEOUT = 300

app = Sanic(__name__)
app = Sanic("jobrunner")
outputs = dict()
prov = []

Expand Down Expand Up @@ -67,7 +67,7 @@ def _check_rpc_token(token):
if app.config.get("bypass_token"):
pass
else:
abort(401)
raise SanicException(status_code=401)


def _handle_provenance():
Expand All @@ -85,7 +85,7 @@ def _handle_submit(module, method, data, token):

def _handle_checkjob(data):
if "params" not in data:
abort(404)
raise SanicException(status_code=404)
job_id = data["params"][0]
_check_finished(f"Checkjob for {job_id}")
resp = {"finished": 0}
Expand Down
3 changes: 1 addition & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
nose==1.3.7
aiohttp==3.8.4
aiohttp==3.9.1
nose-cov
sanic-testing==0.8.3

10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sanic==21.9.3
docker==3.6.0
sanic==21.12.2
docker==7.0.0
websockets==10.0
requests==2.27.1
uvloop==0.17.0
websocket-client==1.6.1
requests==2.31.0
uvloop==0.19.0
websocket-client==1.7.0

Loading