Skip to content

Conversation

bowenwr
Copy link

@bowenwr bowenwr commented Sep 13, 2022

A hack to prevent importlib.metadata.PackageNotFoundError: openapi_python_client when using __package__ to introspect the version.

Allow setting __version__ to fail in the case that we've renamed the package, which we currently do for publishing to avoid naming collision with the PyPi openapi-python-client.

@bowenwr bowenwr marked this pull request as ready for review September 13, 2022 21:07
@bowenwr bowenwr merged commit 46e4d85 into main Sep 13, 2022
@eli-bl eli-bl deleted the fix-import-bnch-43401 branch November 26, 2024 22:45
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