update python deps
This commit is contained in:
parent
12950358ef
commit
2f8928d763
@ -69,7 +69,7 @@ class VisualCrossing(BaseWeather):
|
|||||||
self.api_key, '*****'
|
self.api_key, '*****'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
r = requests.get(url, params=self.params)
|
r = requests.get(url, params=self.params, timeout=10)
|
||||||
r.raise_for_status()
|
r.raise_for_status()
|
||||||
res = r.json()
|
res = r.json()
|
||||||
weather = res['currentConditions']
|
weather = res['currentConditions']
|
||||||
|
@ -849,7 +849,7 @@ def get_map_tile(s: str, z: str, x: str, y: str) -> Tuple[Response, int]:
|
|||||||
y=secure_filename(y),
|
y=secure_filename(y),
|
||||||
)
|
)
|
||||||
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:88.0)'}
|
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:88.0)'}
|
||||||
response = requests.get(url, headers=headers)
|
response = requests.get(url, headers=headers, timeout=30)
|
||||||
return (
|
return (
|
||||||
Response(
|
Response(
|
||||||
response.content,
|
response.content,
|
||||||
|
997
poetry.lock
generated
997
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -40,17 +40,17 @@ psycopg2-binary = "^2.9"
|
|||||||
pyjwt = "^2.6"
|
pyjwt = "^2.6"
|
||||||
pyopenssl = "^23.0"
|
pyopenssl = "^23.0"
|
||||||
python-forecastio = "^1.4"
|
python-forecastio = "^1.4"
|
||||||
pytz = "^2022.7"
|
pytz = "^2023.3"
|
||||||
shortuuid = "^1.0.11"
|
shortuuid = "^1.0.11"
|
||||||
staticmap = "^0.5.5"
|
staticmap = "^0.5.5"
|
||||||
sqlalchemy = "=1.4.45"
|
sqlalchemy = "=1.4.47"
|
||||||
ua-parser = "^0.16.1"
|
ua-parser = "^0.16.1"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
bandit = "^1.7.4"
|
bandit = "^1.7.5"
|
||||||
black = "^23.1"
|
black = "^23.3"
|
||||||
freezegun = "^1.2"
|
freezegun = "^1.2"
|
||||||
mypy = "^1.0"
|
mypy = "^1.2"
|
||||||
pytest = "^7.2"
|
pytest = "^7.2"
|
||||||
pytest-black = "^0.3"
|
pytest-black = "^0.3"
|
||||||
pytest-cov = "^3.0"
|
pytest-cov = "^3.0"
|
||||||
@ -64,7 +64,7 @@ sphinx = "^5.3"
|
|||||||
sphinx-bootstrap-theme = "^0.8.1"
|
sphinx-bootstrap-theme = "^0.8.1"
|
||||||
sphinxcontrib-httpdomain = "^1.8"
|
sphinxcontrib-httpdomain = "^1.8"
|
||||||
types-freezegun = "^1.1"
|
types-freezegun = "^1.1"
|
||||||
types-pytz = "^2022.7"
|
types-pytz = "^2023.3"
|
||||||
types-redis = "^4.5"
|
types-redis = "^4.5"
|
||||||
types-requests = "^2.28"
|
types-requests = "^2.28"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user