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

BLD: Try github actions again #2743

Merged
merged 60 commits into from
Aug 17, 2020
Merged

BLD: Try github actions again #2743

merged 60 commits into from
Aug 17, 2020

Conversation

gerrymanoim
Copy link
Contributor

@gerrymanoim gerrymanoim commented Jul 28, 2020

@coveralls
Copy link

coveralls commented Jul 28, 2020

Coverage Status

Coverage increased (+0.0003%) to 88.25% when pulling 9a888d5 on actions-again into ff0b09d on master.

@gerrymanoim
Copy link
Contributor Author

  • ubutnu
  • macOS
  • windows
    • issues installing scipy (openblas, etc) via pip

Copy link
Member

@richafrank richafrank left a comment

Choose a reason for hiding this comment

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

Nice @gerrymanoim !

(I also opened #2755 against this.)

@@ -19,7 +19,7 @@ toolz>=0.8.2
# Scientific Libraries
numpy>=1.11.3
pandas>=0.18.1,<=0.22
pandas-datareader>=0.2.1
pandas-datareader>=0.2.1,<0.9.0
Copy link
Member

Choose a reason for hiding this comment

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

What needed the upper bounds on this and dask?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pandas and pandas-datareader have some conflicts. Without this bound I could not get dependencies to resolve.

python-dateutil==2.8.1 # via alembic, datashape, matplotlib, pandas
python-editor==1.0.4 # via alembic
python-interface==1.6.0 # via -r etc/requirements.in
pytz==2020.1 # via -r etc/requirements.in, babel, pandas, trading-calendars
Copy link
Member

Choose a reason for hiding this comment

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

Shall we try to keep this in sync somewhat with the py27/py35 lockfile? I notice that 3.5 still has lots of older versions, but 3.6 is now up to date. I can re-run this in a 2.7 env, if that'd be helpful.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think we should spend any time maintaining the 2.7 env.

I lean similarly for 3.5, but we could try regenerating that file from scratch as well.

Copy link
Member

Choose a reason for hiding this comment

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

Re: maintaining 3.5, I'd rather have a PR fail zipline's 3.5 CI early, instead of our trying to pull it into the platform and failing then.

# being applied to Series or DatetimeIndex` in trading calendar
# construction. This causes nosetest to fail.
with warnings.catch_warnings():
warnings.simplefilter("ignore", PerformanceWarning)
Copy link
Member

Choose a reason for hiding this comment

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

Could we wrap just the get_calendar calls, or is more needed? I think this only matters for subclasses of WithWerror (there are only 2). Think it's worth keeping that mixin @llllllllll ?

gerrymanoim and others added 2 commits August 14, 2020 16:59
Co-authored-by: Richard Frank <richafrank@users.noreply.github.com>
Co-authored-by: Richard Frank <richafrank@users.noreply.github.com>
@gerrymanoim
Copy link
Contributor Author

At some point we may also want to put work into moving off nosetests - the version we're using is very much not supported anymore.

@richafrank
Copy link
Member

Oh, is there a way for us to cache the ta-lib install? I notice it take a minute and a half on ubuntu.

@gerrymanoim
Copy link
Contributor Author

RE: caching - I think we could get the ubuntu caching to work if we could figure out which files were created/affected by make/sudo make install. I'd expect to still have to run ldconfig.

)
# Silence numpy DeprecationWarnings which cause nosetest to fail
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this is from using system-dependent np.integer instead of int64 or int32. My initial thought is we should be stricter, since we control the data format. I say we leave what you have here and open an issue.

@richafrank richafrank merged commit c7df2e6 into master Aug 17, 2020
@richafrank richafrank deleted the actions-again branch August 17, 2020 16:05
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

Successfully merging this pull request may close these issues.

4 participants