diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a2188918..7d0cbf21 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -9,6 +9,7 @@ jobs: lint: # The type of runner that the job will run on runs-on: ubuntu-latest + timeout-minutes: 10 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c3104a63..6d6e7fed 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,6 +9,7 @@ jobs: test: # The type of runner that the job will run on runs-on: ubuntu-latest + timeout-minutes: 30 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it diff --git a/kowalski/api.py b/kowalski/api.py index bb55d1ab..f4715a4c 100644 --- a/kowalski/api.py +++ b/kowalski/api.py @@ -1840,7 +1840,7 @@ async def post(self, request: web.Request) -> web.Response: except Exception as e: log(e) - test_successful, test_message = False, e + test_successful, test_message = False, str(e) if not test_successful: return self.error(message=test_message) diff --git a/kowalski/requirements_ingester.txt b/kowalski/requirements_ingester.txt index 9ef41ab4..bfeb47af 100644 --- a/kowalski/requirements_ingester.txt +++ b/kowalski/requirements_ingester.txt @@ -1,33 +1,31 @@ -aiofiles>=0.6.0 -aiohttp>=3.7.3 -astropy>=4.2 -bcrypt>=3.2.0 -beautifulsoup4>=4.9.3 -bokeh>=2.2.3 -confluent_kafka>=1.5.0 -cryptography>=3.2.1 -dask>=2.30.0 -distributed>=2.30.1 -fastavro>=1.2.1 -fire>=0.3.1 -gsutil>=4.56 -gunicorn>=20.0.4 -h5py<3 -matplotlib>=3.3.3 -motor>=2.3.0 -multidict>=5.1.0 -numba>=0.52.0 -numpy<1.21 -pandas>=1.1.4 -pyarrow>=4.0.0 -pyjwt>=2.0.0 -pymongo>=3.11.2 -pytest>=6.1.2 -pyyaml>=5.3.1 -requests<2.26.0 -supervisor>=4.2.1 -tensorflow>=2.3.1 -tqdm>=4.54.0 -uvloop>=0.14.0 -tables>=3.6.1 -slack_sdk>=3.4.1 +aiohttp==3.7.3 +astropy==4.3.1 +bcrypt==3.2.0 +beautifulsoup4==4.10.0 +confluent_kafka==1.7.0 +cryptography==3.4.8 +dask==2021.9.1 +distributed==2021.9.1 +fastavro==1.4.4 +fire==0.4.0 +gsutil==4.67 +gunicorn==20.1.0 +h5py==3.1.0 +matplotlib==3.4.3 +motor==2.5.1 +numba==0.54.0 +numpy==1.19.5 +pandas==1.3.2 +pyarrow==5.0.0 +pyjwt==2.1.0 +pymongo==3.12.0 +pytest==6.2.5 +pytz==2021.1 +pyyaml==5.4.1 +requests==2.25.1 +slack_sdk==3.10.1 +supervisor==4.2.2 +tables==3.6.1 +tensorflow==2.6.0 +tqdm==4.62.2 +uvloop==0.16.0