Skip to content

Conversation

hramezani
Copy link
Member

Fixes #9221

Also, it is recommended to use __spec__ instead of __package__

@hramezani hramezani added the relnotes-fix Used for bugfixes. label Apr 26, 2024
Copy link

codspeed-hq bot commented Apr 26, 2024

CodSpeed Performance Report

Merging #9331 will not alter performance

Comparing replace-package (de0a655) with main (6b992fd)

Summary

✅ 13 untouched benchmarks

Copy link
Contributor

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hramezani,

This looks great!

@sydney-runkle sydney-runkle merged commit 77d5f66 into main Apr 28, 2024
@sydney-runkle sydney-runkle deleted the replace-package branch April 28, 2024 17:49
sydney-runkle pushed a commit that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes-fix Used for bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of __package__ in pydantic/__init__.py fails if imported from zip
2 participants