mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 19:14:19 +01:00
chore: use poetry the latest 1.8.x poetry consistently (#691)
This commit is contained in:
2
.github/actions/prepare/action.yml
vendored
2
.github/actions/prepare/action.yml
vendored
@@ -7,7 +7,7 @@ inputs:
|
|||||||
default: "3.10"
|
default: "3.10"
|
||||||
poetry-version:
|
poetry-version:
|
||||||
description: "Poetry Version"
|
description: "Poetry Version"
|
||||||
default: "1.7.1"
|
default: "1.8.5"
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|||||||
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
default: "3.10.4"
|
default: "3.10.4"
|
||||||
type: string
|
type: string
|
||||||
poetry-version:
|
poetry-version:
|
||||||
default: "1.7.1"
|
default: "1.8.5"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ["3.10"]
|
python-version: ["3.10"]
|
||||||
poetry-version: ["1.7.1"]
|
poetry-version: ["1.8.5"]
|
||||||
mint-only-deprecated: ["false", "true"]
|
mint-only-deprecated: ["false", "true"]
|
||||||
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
||||||
backend-wallet-class: ["FakeWallet"]
|
backend-wallet-class: ["FakeWallet"]
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ["3.10"]
|
python-version: ["3.10"]
|
||||||
poetry-version: ["1.7.1"]
|
poetry-version: ["1.8.5"]
|
||||||
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
||||||
uses: ./.github/workflows/tests_redis_cache.yml
|
uses: ./.github/workflows/tests_redis_cache.yml
|
||||||
with:
|
with:
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10"]
|
python-version: ["3.10"]
|
||||||
poetry-version: ["1.7.1"]
|
poetry-version: ["1.8.5"]
|
||||||
backend-wallet-class:
|
backend-wallet-class:
|
||||||
["LndRPCWallet", "LndRestWallet", "CLNRestWallet", "CoreLightningRestWallet", "LNbitsWallet"]
|
["LndRPCWallet", "LndRestWallet", "CLNRestWallet", "CoreLightningRestWallet", "LNbitsWallet"]
|
||||||
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"]
|
||||||
|
|||||||
2
.github/workflows/pypi.yaml
vendored
2
.github/workflows/pypi.yaml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10"]
|
python-version: ["3.10"]
|
||||||
poetry-version: ["1.7.1"]
|
poetry-version: ["1.8.5"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
default: "3.10.4"
|
default: "3.10.4"
|
||||||
type: string
|
type: string
|
||||||
poetry-version:
|
poetry-version:
|
||||||
default: "1.7.1"
|
default: "1.8.5"
|
||||||
type: string
|
type: string
|
||||||
mint-database:
|
mint-database:
|
||||||
default: ""
|
default: ""
|
||||||
|
|||||||
2
.github/workflows/tests_redis_cache.yml
vendored
2
.github/workflows/tests_redis_cache.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
default: "3.10.4"
|
default: "3.10.4"
|
||||||
type: string
|
type: string
|
||||||
poetry-version:
|
poetry-version:
|
||||||
default: "1.7.1"
|
default: "1.8.5"
|
||||||
type: string
|
type: string
|
||||||
mint-database:
|
mint-database:
|
||||||
default: ""
|
default: ""
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ RUN apt-get install -y libpq-dev
|
|||||||
# Deps for building secp256k1-py
|
# Deps for building secp256k1-py
|
||||||
RUN apt-get install -y build-essential automake pkg-config libtool libffi-dev
|
RUN apt-get install -y build-essential automake pkg-config libtool libffi-dev
|
||||||
|
|
||||||
RUN curl -sSL https://install.python-poetry.org | python3 -
|
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
ENV PATH="/root/.local/bin:$PATH"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ pyenv init
|
|||||||
pyenv install 3.10.4
|
pyenv install 3.10.4
|
||||||
|
|
||||||
# install poetry
|
# install poetry
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
|
||||||
echo export PATH=\"$HOME/.local/bin:$PATH\" >> ~/.bashrc
|
echo export PATH=\"$HOME/.local/bin:$PATH\" >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user