Skip to content

Commit

Permalink
Bugfix/fix 2.3.2 upgrade path (#2943)
Browse files Browse the repository at this point in the history
This fixes #2930 by adding a missing line in `pyproject.toml` needed to create the `config/stable-diffusion` directory.
  • Loading branch information
lstein authored Mar 13, 2023
2 parents 8d80802 + 16dea46 commit a044403
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ldm/invoke/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__='2.3.2'
__version__='2.3.2.post1'
2 changes: 1 addition & 1 deletion ldm/invoke/config/invokeai_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def main():
tag = Prompt.ask('Enter an InvokeAI tag or branch name')

print(f':crossed_fingers: Upgrading to [yellow]{tag}[/yellow]')
cmd = f'pip install {INVOKE_AI_SRC}/{tag}.zip --use-pep517'
cmd = f'pip install {INVOKE_AI_SRC}/{tag}.zip --use-pep517 --upgrade'
print('')
print('')
if os.system(cmd)==0:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ version = {attr = "ldm.invoke.__version__"}

[tool.setuptools.package-data]
"invokeai.assets.web" = ["**.png"]
"invokeai.configs" = ["**.example", "**.txt", "**.yaml"]
"invokeai.configs" = ["**.example", "**.txt", "**.yaml", "**/*.yaml"]
"invokeai.frontend.dist" = ["**"]

[tool.black]
Expand Down

0 comments on commit a044403

Please sign in to comment.