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

Exposing a version str & deprecating the email attribute #110

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

commonism
Copy link
Contributor

setup.cfg prefers having the version string not in __init__.py to avoid imports of libraries not installed yet.
And I added some glue for email property compat, could be extended to __getitem__("email") as well.

commonism added a commit to commonism/pydantic that referenced this pull request May 15, 2023
will use email_validator.__version__ if available
(JoshData/python-email-validator#110)
@JoshData
Copy link
Owner

JoshData commented Jun 4, 2023

Thanks for this! Is this OK to merge (you've got "WIP" in the title)?

@commonism commonism changed the title WIP: Exposing a version str & deprecating the email attribute Exposing a version str & deprecating the email attribute Jun 5, 2023
@commonism
Copy link
Contributor Author

LGTM?

@JoshData JoshData merged commit 68b9d18 into JoshData:main Jun 5, 2023
@JoshData
Copy link
Owner

JoshData commented Jun 5, 2023

Thanks!

commonism added a commit to commonism/pydantic that referenced this pull request Jun 7, 2023
will use email_validator.__version__ if available
(JoshData/python-email-validator#110)
commonism added a commit to commonism/pydantic that referenced this pull request Jun 7, 2023
will use email_validator.__version__ if available
(JoshData/python-email-validator#110)
commonism added a commit to commonism/pydantic that referenced this pull request Nov 13, 2023
will use email_validator.__version__ if available
(JoshData/python-email-validator#110)
commonism added a commit to commonism/pydantic that referenced this pull request Nov 14, 2023
will use email_validator.__version__ if available
(JoshData/python-email-validator#110)
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.

2 participants