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

Fix ReadTheDocs build #2546

Merged
merged 4 commits into from
Oct 5, 2018
Merged

Fix ReadTheDocs build #2546

merged 4 commits into from
Oct 5, 2018

Conversation

jethron
Copy link
Contributor

@jethron jethron commented Oct 5, 2018

Description

Fix RTD builds that have been broken since 7b06c90 and should also fix #2464

Motivation and Context

RTD builds fail since 7b06c902a2 since RTD tries to remove python-daemon<3.0 from install_requries but it has been changed to python-daemon<2.2.0

Prior to that, AWS modules in contrib were not generating documentation due to ImportErrors on botocore & boto3 as documented in #2464
This guards the imports so they don't raise the exception in line with the other modules in contrib that have 3rd party dependencies.

Also cleans up the dependency on enum34 for older python versions; install_requires supports version checks automatically without checking sys.version_info.

Have you tested this? If so, how?

I ran my jobs with this code and it works for me.

I build the documentation via the process described on RTD in a Py2 venv and generated complete documentation.

@dlstadther
Copy link
Collaborator

Fantastic! Thanks for submitting @jethron !

Mind resolving the flake8 issue?

@jethron
Copy link
Contributor Author

jethron commented Oct 5, 2018

Done @dlstadther, but not sure how best to resolve the codecov check for such a small commit?

@dlstadther
Copy link
Collaborator

Thanks! Just ignore that top codecov check - it doesn't seem to be consistent

@dlstadther dlstadther merged commit 889ef2a into spotify:master Oct 5, 2018
@dlstadther
Copy link
Collaborator

RTD build passed and contrib docs are back! Thanks so much @jethron !

@Tarrasch
Copy link
Contributor

Tarrasch commented Oct 7, 2018

Thanks @jethron!

@jethron jethron deleted the fix-rtd branch October 11, 2018 03:55
dlstadther added a commit to dlstadther/luigi that referenced this pull request Nov 19, 2018
* upstream-master:
  Make Worker parameter task_process_context an OptionalParameter (spotify#2468) (spotify#2574)
  Version 2.8.0
  Implement configurable CORS.
  Add HdfsFlagTarget (spotify#2559)
  Fix HdfsAtomicWriteDirPipe.close() when using snakebite and the file do not exist. (spotify#2549)
  Small fix to logging in contrib/ecs.py (spotify#2556)
  [ImgBot] optimizes images (spotify#2555)
  Add CopyToTable task for MySQL (spotify#2553)
  Make capture_output non-positional in ExternalProgramTask (spotify#2547)
  Add Movio to list of Luigi users (spotify#2551)
  Interpolate environment variables in .cfg config files (spotify#2527)
  Fix ReadTheDocs build (spotify#2546)
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.

Docs hosted on readthedocs.io are missing content
3 participants