Merge pull request #95 from cashubtc/update/pyproject

update pyproject for lnbits
This commit is contained in:
calle
2023-01-15 01:31:55 +01:00
committed by GitHub
5 changed files with 853 additions and 860 deletions

View File

@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.2.1"]
poetry-version: ["1.3.1"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
@@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.2.1"]
poetry-version: ["1.3.1"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}

View File

@@ -9,7 +9,7 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.9"]
poetry-version: ["1.2.1"]
poetry-version: ["1.3.1"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}

View File

@@ -265,9 +265,6 @@ class LedgerAPI:
try:
# backwards compatibility: parse promises < 0.8 with no "promises" field
promises = PostMintResponseLegacy.parse_obj(reponse_dict).__root__
logger.warning(
"Parsing token with no promises field. Please upgrade mint to 0.8"
)
except:
promises = PostMintResponse.parse_obj(reponse_dict).promises

1702
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@ sqlalchemy-aio = "^0.17.0"
python-bitcoinlib = "^0.11.2"
h11 = "0.12.0"
PySocks = "^1.7.1"
cryptography = "^38.0.4"
cryptography = "^36.0.1"
websocket-client = "1.3.3"
pycryptodomex = "^3.16.0"
setuptools = "^65.6.3"