diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d514b05cae48678d25e25f35272bc417d13344f..a889964ecfa75bbf4fba50dd4cca045f59bc9e1d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,11 +72,11 @@ build_develop: stage: build_develop image: "docker:18.09.7" only: - - develop + - fix script: - - docker build -t $CI_REGISTRY_IMAGE:develop . + - docker build -t $CI_REGISTRY_IMAGE:fix . - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - docker push $CI_REGISTRY_IMAGE:develop + - docker push $CI_REGISTRY_IMAGE:fix # deploy: # stage: deploy diff --git a/requirements.txt b/requirements.txt index 411979239e4a8d9c4864ab8540f42073334b5c50..da0432ce167aebf5a03f2d97ddf5d7ed7a745624 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,9 @@ numpy==1.19.4 transformers>=4.3.2 +urllib3<2.0 torch==1.7.1 language-tool-python==2.5.4 -awscli==1.20.11 +awscli==1.22.57 --index-url https://pypi.clarin-pl.eu/simple/ nlp_ws punctuator>=2.1.0 diff --git a/tox.ini b/tox.ini index 45b4cf3b3c2d175a2f9ba9d8cd3416d15f0f799d..d144c332187ea6f3ce81c07ba8f4d8781db435e3 100644 --- a/tox.ini +++ b/tox.ini @@ -42,10 +42,11 @@ deps = nlp_ws asyncio pytest-asyncio + urllib3<2.0 anyio==3.7.1 punctuator==2.1.0 language-tool-python==2.5.4 - awscli==1.20.11 + awscli==1.22.57 commands = aws --no-sign-request --endpoint-url https://s3.clarin-pl.eu s3 sync --delete s3://workers/punctuator/models_2_0 tests/testdata/models coverage run --source=src -m pytest --junitxml=report.xml tests/test.py