Skip to content

Conversation

@niqodea
Copy link

@niqodea niqodea commented Nov 1, 2023

What does this PR do?

Use correct py.typed location in setup.py, accounting for the missing src/diffusers part.

When trying to poetry install diffusers, Mypy still complains about missing stubs. In fact, I could not find py.typed in the library after installation. By using the absolute path to py.typed from the repo root, this problem seems fixed.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed.

@niqodea
Copy link
Author

niqodea commented Nov 1, 2023

Never mind, it seems like the original repository is already ok when including it via git. Weird behavior from poetry. Sorry for the useless PR.

@niqodea niqodea closed this Nov 1, 2023
@niqodea
Copy link
Author

niqodea commented Nov 1, 2023

For context, this problem is already addressed by #5326. I erroneously thought the code was already included in the latest release 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant