From 41189c607d9d4e98605a8470dff83e6b221d6541 Mon Sep 17 00:00:00 2001 From: Dowon Date: Sun, 19 May 2024 20:57:04 +0900 Subject: [PATCH 1/2] fix: discontinued message --- aaaaaa/conditional.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aaaaaa/conditional.py b/aaaaaa/conditional.py index a16a17a..91ab59c 100644 --- a/aaaaaa/conditional.py +++ b/aaaaaa/conditional.py @@ -1,10 +1,13 @@ from __future__ import annotations from PIL import Image +from rich import print try: from modules.processing import create_binary_mask except ImportError: + msg = "[-] ADetailer: Support for webui versions below 1.6.0 will be discontinued." + print(msg) def create_binary_mask(image: Image.Image): return image.convert("L") From 944be82461874971e398d14d1c21c4de2326c2bc Mon Sep 17 00:00:00 2001 From: Dowon Date: Sun, 19 May 2024 21:00:38 +0900 Subject: [PATCH 2/2] fix(ci): update pypi action --- .github/workflows/pypi.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index c87d3e7..fee205c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -13,6 +13,7 @@ jobs: python-version: - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 @@ -22,10 +23,11 @@ jobs: with: python-version: ${{ matrix.python-version }} + - uses: yezz123/setup-uv@v4 + - name: Install dependencies run: | - pip install . - pip install pytest + uv pip install --system . pytest - name: Run tests run: pytest -v