Skip to content

Commit

Permalink
Pin ingester's python requirements (skyportal#148)
Browse files Browse the repository at this point in the history
* Pinned python requirements for the ingester and removed unnecessary ones
* Set GA timeouts
* Fixed a minor issue in error reporting in api.py
  • Loading branch information
dmitryduev authored Oct 1, 2021
1 parent 27a6e07 commit 385911d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kowalski/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
64 changes: 31 additions & 33 deletions kowalski/requirements_ingester.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 385911d

Please sign in to comment.