-
Notifications
You must be signed in to change notification settings - Fork 4
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
Deal with, document dependencies issue, add first README.md #22
Conversation
@@ -24,7 +24,7 @@ commands: | |||
. venv/bin/activate | |||
# venv/ dir doesn't seem to save enough info to keep the | |||
# editable installation | |||
pip install --progress-bar=off -e . | |||
pip install --progress-bar=off -e '.[movercli]' |
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.
Whoops! This wasn't the same as the pip install below and it should have been. This may speed up our tests a touch.
export CFLAGS | ||
LDFLAGS="-L$(brew --prefix openssl)/lib" | ||
export LDFLAGS | ||
fi |
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 this and this is no longer needed with psycopg2-binary
!
@@ -39,8 +39,19 @@ | |||
}, | |||
install_requires=[ | |||
'boto>=2,<3', 'boto3', | |||
'jsonschema', 'timeout_decorator', 'awscli', | |||
'PyYAML', 'psycopg2', |
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.
See notes in INSTALL.md for why I think dropping psycopg2
here is the right change.
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.
A few small typos I noticed, but generally LGTM
|
||
### pyarrow | ||
|
||
`pyarrow` is a Python wrapper around the Apache Arrow native library. |
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.
Hmm... is it worth making a mover-cli target that doesn’t include this? I guess it might depend on how hard it is to install these libraries in general. Should we maybe include steps for homebrew and whatever Linux distro we have already figured out for CI/docker?
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.
Hmm... is it worth making a mover-cli target that doesn’t include this
No objections here.
Should we maybe include steps for homebrew and whatever Linux distro we have already figured out for CI/docker?
That'd be great! I don't have any off-the-shelf to drop in. Same feeling on not holding up this PR, but if I wasn't super clear about it, having spaces for those sorts of instructions are exactly why I added this file.
INSTALL.md
Outdated
for local Parquet manipulation). | ||
* `pip3 install records-mover[gsheets]` - Minimal install plus API | ||
libraries to access Google Sheets. | ||
* `pip3 install records-mover[mover-cli]` - Install everything and |
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.
Is it mover-cli or movercli? I’ve seen it both ways in the docs (will flag)
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.
movercli
. Where else did you see mover-cli
in the docs?
README.md
Outdated
|
||
# This is a SQLAlchemy database engine. | ||
# | ||
# You can instead call job_context.get_db_engine('cred name'). |
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.
Some old uses of job_context in here
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.
Fixed; that's all that grep found.
Changes: