Skip to content

Add camel_converter to package dependencies #534

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

Merged
merged 1 commit into from
Sep 21, 2022
Merged

Conversation

alallema
Copy link
Contributor

Fix #532

@alallema alallema added bug Something isn't working dependencies Pull requests that update a dependency file labels Sep 21, 2022
Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

🎉

@brunoocasali
Copy link
Member

bors merge

@bors
Copy link
Contributor

bors bot commented Sep 21, 2022

@bors bors bot merged commit a427081 into main Sep 21, 2022
@bors bors bot deleted the update_requirements branch September 21, 2022 11:46
@@ -6,7 +6,8 @@

setup(
install_requires=[
"requests"
"requests",
"camel_converter"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe pypi will understand this and convert it but the package name is camel-converter on pypi so if there are still issues that is probably it.

Copy link
Member

Choose a reason for hiding this comment

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

Do you think we should release again with camel-converter instead?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I tested pip install camel_converter and pypi did understand and install correctly so I think it is fine.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I tested and it did install, but there is still an issue:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/paul/t/.venv/lib/python3.10/site-packages/meilisearch/__init__.py", line 1, in <module>
    from meilisearch.client import Client as Client  # pylint: disable=useless-import-alias
  File "/home/paul/t/.venv/lib/python3.10/site-packages/meilisearch/client.py", line 9, in <module>
    from meilisearch.index import Index
  File "/home/paul/t/.venv/lib/python3.10/site-packages/meilisearch/index.py", line 11, in <module>
    from meilisearch.models.task import Task, TaskInfo, TaskResults
  File "/home/paul/t/.venv/lib/python3.10/site-packages/meilisearch/models/task.py", line 2, in <module>
    from camel_converter.pydantic_base import CamelBase
  File "/home/paul/t/.venv/lib/python3.10/site-packages/camel_converter/pydantic_base.py", line 4, in <module>
    raise ImportError("camel-converter must be installed with the pydantic extra to use this class")
ImportError: camel-converter must be installed with the pydantic extra to use this class

It needs to be camel-converter[pydantic] to include the extras

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you @sanders41 I will try to fix it today!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

camel-converter is not in install requirements
3 participants