(self)
| 184 | pass |
| 185 | |
| 186 | def run(self): |
| 187 | entries = "\n".join([f' "{k}": "{v}",' for k, v in deps.items()]) |
| 188 | content = [ |
| 189 | "# THIS FILE HAS BEEN AUTOGENERATED. To update:", |
| 190 | "# 1. modify the `_deps` dict in setup.py", |
| 191 | "# 2. run `make deps_table_update`", |
| 192 | "deps = {", |
| 193 | entries, |
| 194 | "}", |
| 195 | "", |
| 196 | ] |
| 197 | target = "src/diffusers/dependency_versions_table.py" |
| 198 | print(f"updating {target}") |
| 199 | with open(target, "w", encoding="utf-8", newline="\n") as f: |
| 200 | f.write("\n".join(content)) |
| 201 | |
| 202 | |
| 203 | extras = {} |
nothing calls this directly
no outgoing calls
no test coverage detected