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

Undeclared Pandas dependency (?) broke any usage of the CLI #291

Closed
JasonBenn opened this issue Jan 18, 2018 · 3 comments
Closed

Undeclared Pandas dependency (?) broke any usage of the CLI #291

JasonBenn opened this issue Jan 18, 2018 · 3 comments

Comments

@JasonBenn
Copy link

Using pip-compile to generate my requirements.txt resulted in pandas==0.19.2 for my project.

Trying to start up quilt's CLI resulted in:

(sourceress) sourceress jason/model-info-amount: quilt
Traceback (most recent call last):
  File "/Users/jasonbenn/.pyenv/versions/sourceress/bin/quilt", line 7, in <module>
    from quilt.tools.main import main
  File "/Users/jasonbenn/.pyenv/versions/3.6.3/envs/sourceress/lib/python3.6/site-packages/quilt/__init__.py", line 83, in <module>
    from .tools.command import (
  File "/Users/jasonbenn/.pyenv/versions/3.6.3/envs/sourceress/lib/python3.6/site-packages/quilt/tools/command.py", line 33, in <module>
    from .build import (build_package, build_package_from_contents, generate_build_file,
  File "/Users/jasonbenn/.pyenv/versions/3.6.3/envs/sourceress/lib/python3.6/site-packages/quilt/tools/build.py", line 11, in <module>
    from pandas.errors import ParserError
ModuleNotFoundError: No module named 'pandas.errors'

This pandas.errors module exists in 0.22.0 but not 0.19.2.

Where is this project's setup.py or requirements.txt?

@akarve
Copy link
Member

akarve commented Jan 18, 2018

Hi Jason. The quilt client's setup.py is here https://github.com/quiltdata/quilt/blob/master/compiler/setup.py

Quilt currently depends on >=0.19.2. I see that we do depend on pandas.errors (e.g. in build.py), so we'll need to bump that dependency that in the next release.

In the meantime if we can help you get back up and running, we can chat on gitter.

@JasonBenn
Copy link
Author

Thanks -- I fixed it by manually pinning pandas to a higher version.

This was referenced Jan 18, 2018
@akarve
Copy link
Member

akarve commented Jan 19, 2018

Fixed in #295

@akarve akarve closed this as completed Jan 19, 2018
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

No branches or pull requests

2 participants