Skip to content

🔨 Specify email-validator dependency with dash#11515

Merged
tiangolo merged 4 commits intofastapi:masterfrom
jirikuncar:email-validator
Aug 16, 2024
Merged

🔨 Specify email-validator dependency with dash#11515
tiangolo merged 4 commits intofastapi:masterfrom
jirikuncar:email-validator

Conversation

@jirikuncar
Copy link
Copy Markdown
Contributor

The package name is email-validator.


This is more of a consistency improvement. I noticed after updating to the latest release that transitive dependencies have been renamed.

@jirikuncar jirikuncar changed the title build: use email-validator with dash build: use email-validator with dash May 2, 2024
@jirikuncar jirikuncar changed the title build: use email-validator with dash 🔨 Specify email-validator dependency with dash May 2, 2024
@tiangolo
Copy link
Copy Markdown
Member

tiangolo commented May 2, 2024

📝 Docs preview for commit 6e867de at: https://8841bcea.fastapitiangolo.pages.dev

@jirikuncar
Copy link
Copy Markdown
Contributor Author

jirikuncar commented May 2, 2024

It seems that after deeper investigation, the metadata for the email-validator package defines the name as email_validator - https://github.com/JoshData/python-email-validator/blob/main/setup.cfg#L2. I will move the question there instead. There is an open issue already JoshData/python-email-validator#138.

@jirikuncar jirikuncar marked this pull request as draft May 2, 2024 11:00
@alejsdev alejsdev added docs Documentation about how to use FastAPI p4 labels Jun 19, 2024
@svlandeg svlandeg self-assigned this Aug 9, 2024
@svlandeg svlandeg added the dependencies Pull requests that update a dependency file label Aug 9, 2024
Copy link
Copy Markdown
Member

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

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

It makes sense to me to change the references in the documentation to email-validator, especially considering this edit.

As a note, this PR also changes the pyproject.toml but I think that should be OK as well. For what it's worth, Pydantic also uses email-validator in their project.toml.

It looks like some tests are failing after running the CI after merging in the latest master. These failing tests seem unrelated to me, but I'll keep this in draft and may come back to rerun the tests again next week (in case this is just a Github issue).

[UPDATE]: investigating the CI issue separately here.

[UPDATE 2]: The CI issues are now fixed to this PR should be ready to merge (after a final check by Tiangolo)

@svlandeg svlandeg removed the p4 label Aug 9, 2024
@github-actions
Copy link
Copy Markdown
Contributor

@svlandeg svlandeg marked this pull request as ready for review August 16, 2024 09:12
@tiangolo
Copy link
Copy Markdown
Member

Thanks @jirikuncar! And thanks @svlandeg for the investigation and review 🙇

@tiangolo tiangolo merged commit c81f575 into fastapi:master Aug 16, 2024
black-redoc pushed a commit to black-redoc/fastapi that referenced this pull request Aug 16, 2024
Co-authored-by: svlandeg <svlandeg@github.com>
black-redoc pushed a commit to black-redoc/fastapi that referenced this pull request Aug 17, 2024
Co-authored-by: svlandeg <svlandeg@github.com>
@svlandeg svlandeg removed their assignment Sep 12, 2024
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull request Jan 23, 2025
Co-authored-by: svlandeg <svlandeg@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants