mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix sd-webui 1.6
This commit is contained in:
parent
9136657d7f
commit
2304f66ad2
2 changed files with 13 additions and 2 deletions
|
@ -30,7 +30,7 @@ $ pkgx yq .provides <projects/$(pkg status | tr -d '[:space:]')/package.yml
|
|||
- bin/foo
|
||||
# ^^ purely demonstrative for the next step
|
||||
|
||||
$ foo
|
||||
$ pkgx foo
|
||||
# ^^ anything in the `provides:` key will now run
|
||||
|
||||
$ pkg test
|
||||
|
@ -45,6 +45,8 @@ $ gh pr create
|
|||
> * `pkg build` and `pkg test` take a `-L` flag to run in a Linux Docker container
|
||||
> * All commands take an optional pkg-spec eg. `pkg build node@19`
|
||||
|
||||
> While inside the pantry `dev` environment you can run commands from any built
|
||||
> packages provided you specified their `provides:` key in the `package.yml`.
|
||||
|
||||
> We use a special package called [`brewkit`] to build packages both here and
|
||||
> in CI/CD. `brewkit` provides the `pkg` command.
|
||||
|
|
|
@ -64,7 +64,7 @@ build:
|
|||
cd {{prefix}}
|
||||
|
||||
# move this installation into its prefix
|
||||
- run: |
|
||||
- |
|
||||
cp -a $SRCROOT lib
|
||||
mkdir -p bin
|
||||
|
||||
|
@ -85,6 +85,15 @@ build:
|
|||
working-directory:
|
||||
lib
|
||||
|
||||
# gradio 3.41.2 fails to load anything if any part in the install path has a `.` prefix 🤦♂️
|
||||
# https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13292
|
||||
# FIXME should stop doing this when fixed
|
||||
# https://github.com/gradio-app/gradio/pull/4303
|
||||
- run:
|
||||
sed -i '/is_dotfile =/s/= .*/= False/' routes.py
|
||||
working-directory:
|
||||
lib/venv/lib/python3.10/site-packages/gradio
|
||||
|
||||
# delete our crap
|
||||
- rm -rf lib/props lib/xyz.tea.* lib/tea.yaml
|
||||
|
||||
|
|
Loading…
Reference in a new issue