feat: use uv instead of poetry for CI, docker and development (#3325)

Co-authored-by: arcbtc <ben@arc.wales>
This commit is contained in:
dni ⚡
2025-08-21 16:17:19 +02:00
committed by GitHub
co-authored by arcbtc
parent 15984fa49b
commit 5ba06d42d0
88 changed files with 4265 additions and 1303 deletions
+2 -3
View File
@@ -7,7 +7,6 @@ import argparse
import os
import sqlite3
import sys
from typing import Optional
from lnbits.settings import settings
@@ -108,7 +107,7 @@ def insert_to_pg(query, data):
connection.close()
def migrate_core(file: str, exclude_tables: Optional[list[str]] = None):
def migrate_core(file: str, exclude_tables: list[str] | None = None):
if exclude_tables is None:
exclude_tables = []
print(f"Migrating core: {file}")
@@ -124,7 +123,7 @@ def migrate_ext(file: str):
print(f"✅ Migrated ext: {schema}")
def migrate_db(file: str, schema: str, exclude_tables: Optional[list[str]] = None):
def migrate_db(file: str, schema: str, exclude_tables: list[str] | None = None):
# first we check if this file exists:
if exclude_tables is None:
exclude_tables = []