Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Allow __version__ to be ignored for package mismatch BNCH-43401 #144

Merged
merged 1 commit into from
Sep 13, 2022

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