-
Notifications
You must be signed in to change notification settings - Fork 4.9k
MAINT: Remove deprecated Yahoo code #1867
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
e71d56c
to
fd3e453
Compare
# as we use in test_examples.py. | ||
environ = {'ZIPLINE_ROOT': d.getpath('example_data/root')} | ||
if rebuild_input: | ||
rebuild_input_data(environ) |
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 the tests no longer rely on this input data? Or how should we rebuild it from now on?
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.
We'll need to switch it to use a different bundle, so for now if someone passes the --rebuild-input
flag we raise a StandardError
and let users know that this will be fixed in a future release
DOC: Remove mentions of Yahoo data bundles MAINT: Remove yahoo bundle, test, and more mentions of yahoo
e70b91a
to
d4d8db3
Compare
@richafrank mind giving this one more pass? |
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.
Looks good to me. Had some minor comments.
tests/resources/rebuild_example_data
Outdated
ingest(TEST_BUNDLE_NAME, environ=environ, show_progress=True) | ||
clean(TEST_BUNDLE_NAME, keep_last=1, environ=environ) | ||
@click.command() | ||
@click.option( |
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.
Looks like there's an extra character of indentation.
tests/resources/rebuild_example_data
Outdated
|
||
if rebuild_input: | ||
rebuild_input_data(environ) | ||
raise StandardError( |
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.
Maybe NotImplementedError
? My preference is definitely for more specific error types when possible.
cache for `symbol` whose first entry is before or on `first_date` and whose | ||
last entry is on or after `last_date`. | ||
If we perform a download and the cache criteria are not satisfied, we wait |
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 this no longer true?
ac1c859
to
552c142
Compare
552c142
to
492b22f
Compare
This might be a little ambitious, but trying to sneak this in before #1868 gets merged and before our next release.
Also #1845