From 7c26aa69be623d5c68ca1192a38126310e74bae6 Mon Sep 17 00:00:00 2001 From: JT Date: Sun, 5 Nov 2023 14:26:22 -0800 Subject: [PATCH 1/2] Install httpx to fix a1111 install --- CHANGELOG.md | 4 ++++ StabilityMatrix.Core/Models/Packages/A3WebUI.cs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e993cffd..bd24b369 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to Stability Matrix will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html). +## v2.5.7 +### Fixed +- Fixed error `got an unexpected keyword argument 'socket_options'` on fresh installs of Automatic1111 Stable Diffusion WebUI + ## v2.5.6 ### Added - Added Russian UI language option, thanks to aolko for the translation diff --git a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs index 315c78a1..7f729d91 100644 --- a/StabilityMatrix.Core/Models/Packages/A3WebUI.cs +++ b/StabilityMatrix.Core/Models/Packages/A3WebUI.cs @@ -199,6 +199,8 @@ public class A3WebUI : BaseGitPackage throw new ArgumentOutOfRangeException(nameof(torchVersion), torchVersion, null); } + await venvRunner.PipInstall("httpx==0.24.1", onConsoleOutput); + // Install requirements file progress?.Report( new ProgressReport(-1f, "Installing Package Requirements", isIndeterminate: true) From 3698d412de3fdb93f307f0078cca7e9eb9f3a681 Mon Sep 17 00:00:00 2001 From: JT Date: Sun, 5 Nov 2023 14:30:16 -0800 Subject: [PATCH 2/2] chagenlog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd24b369..f69ee68d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2 ## v2.5.7 ### Fixed - Fixed error `got an unexpected keyword argument 'socket_options'` on fresh installs of Automatic1111 Stable Diffusion WebUI +due to missing httpx dependency specification from gradio ## v2.5.6 ### Added