-
Notifications
You must be signed in to change notification settings - Fork 90
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
bors merge |
@@ -6,7 +6,8 @@ | |||
|
|||
setup( | |||
install_requires=[ | |||
"requests" | |||
"requests", | |||
"camel_converter" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
Fix #532