Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
Travis is too slow. This commit updates all dependencies and removes an
obsolte test, that was failing due to the `requests` update.
  • Loading branch information
open-dynaMIX committed Aug 16, 2019
1 parent f9e66e9 commit 7145045
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6.8-alpine3.9@sha256:54b604a4f1937b370d2daf2344594dbd76305048b705ca786cd467125f36759d
FROM python:3.6.8-alpine3.9@sha256:11863cb272c9703347aa12b1830d516aea1880cf189e491a76c3b119fd6441aa

ARG requirements=requirements.txt
WORKDIR /app
Expand Down
8 changes: 0 additions & 8 deletions caluma_interval/tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import pytest
import requests
from requests.exceptions import MissingSchema
from requests_oauthlib import OAuth2Session

from caluma_interval.queries import intervalled_forms_query
Expand Down Expand Up @@ -28,12 +26,6 @@ def test_use_client(client):
assert "allForms" in resp["data"]


def test_client_exception(client):
client.endpoint = "not a uri"
with pytest.raises(MissingSchema):
client.execute("not a query")


def test_get_token(mocker, auth_client, token):
mocker.patch.object(OAuth2Session, "fetch_token")
OAuth2Session.fetch_token.return_value = token
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
command: -p ${DATABASE_PORT:-5432}

caluma:
image: projectcaluma/caluma:latest@sha256:cb8ccf282cb6b6525ffeaa3997b956685a96a88c60fa1fe3ba2b5092bdcc7bcc
image: projectcaluma/caluma:latest@sha256:ec73722c9d40e3786309de7d3885bef80558932bbfdf0b34701b11d997241e8a
ports:
- "8000:8000"
depends_on:
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ flake8==3.7.8
ipython==7.7.0
isort==4.3.21
mock==3.0.5
pre-commit==1.16.1
psycopg2-binary==2.8.2
pytest==4.4.1
pre-commit==1.18.2
psycopg2-binary==2.8.3
pytest==5.1.0
pytest-cov==2.7.1
pytest-mock==1.10.4
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
envparse==0.2.0
isodate==0.6.0
requests==2.21.0
requests==2.22.0
requests-oauthlib==1.2.0

0 comments on commit 7145045

Please sign in to comment.