chg: BUmp deps
parent
cd1de14927
commit
55c0dcc0a3
File diff suppressed because it is too large
Load Diff
|
@ -25,31 +25,32 @@ ssfetcher = "bin.ssfetcher:main"
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8.1"
|
||||
redis = {version = "^4.5.1,!=4.5.2", extras = ["hiredis"]}
|
||||
flask-restx = "^1.1.0"
|
||||
gunicorn = "^20.1.0"
|
||||
python-dateutil = "^2.8.2"
|
||||
redis = {version = "^5.0.4", extras = ["hiredis"]}
|
||||
flask-restx = "^1.3.0"
|
||||
gunicorn = "^22.0.0"
|
||||
python-dateutil = "^2.9.0.post0"
|
||||
pyipasnhistory = "^2.1.2"
|
||||
pycountry = "^22.3.5"
|
||||
beautifulsoup4 = "^4.12.2"
|
||||
aiohttp = "^3.8.5"
|
||||
Bootstrap-Flask = "^1.8.0"
|
||||
pycountry = "^23.12.11"
|
||||
beautifulsoup4 = "^4.12.3"
|
||||
aiohttp = "^3.9.5"
|
||||
Bootstrap-Flask = "^2.4.0"
|
||||
pid = "^3.0.4"
|
||||
pybgpranking2 = "^2.0.1"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
ipython = [
|
||||
{version = "<8.13.0", python = "<3.9"},
|
||||
{version = "^8.13.0", python = ">=3.9"}
|
||||
{version = "^8.18.0", python = ">=3.9"},
|
||||
{version = "^8.24.0", python = ">=3.10"}
|
||||
]
|
||||
mypy = "^1.5.1"
|
||||
types-setuptools = "^67.8.0.0"
|
||||
types-redis = "^4.6.0.4"
|
||||
types-requests = "^2.31.0.2"
|
||||
types-python-dateutil = "^2.8.19.14"
|
||||
mypy = "^1.10.0"
|
||||
types-setuptools = "^70.0.0.20240524"
|
||||
types-redis = "^4.6.0.20240425"
|
||||
types-requests = "^2.32.0.20240523"
|
||||
types-python-dateutil = "^2.9.0.20240316"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.2"]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.mypy]
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import uuid
|
||||
|
||||
from redis import Redis
|
||||
from bgpranking.default import get_socket_path
|
||||
|
||||
redis_sanitized = Redis(unix_socket_path=get_socket_path('prepare'), db=0, decode_responses=True)
|
||||
|
||||
while name := redis_sanitized.scan_iter(_type='HASH', count=10):
|
||||
try:
|
||||
uuid.uuid(name)
|
||||
except Exception:
|
||||
pass
|
||||
if not redis_sanitized.sismember('to_insert'):
|
||||
print(name)
|
|
@ -7,7 +7,7 @@ from datetime import date, timedelta
|
|||
from functools import lru_cache
|
||||
from pathlib import Path
|
||||
|
||||
import pycountry # type: ignore
|
||||
import pycountry
|
||||
|
||||
from flask import request, session
|
||||
|
||||
|
|
Loading…
Reference in New Issue