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

Make sphinx works #806

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

SemyonSinchenko
Copy link
Contributor

A temporary solution, based on the following:

  • introducing a new env variable ZINGG_DRY_RUN
  • if the variable is set:
    • mimic globally used JVM-stuff
    • otherwise do nothing

++ slightly update ignore and docs/Makefile
++ apply formatting to client.py

BECAUSE OF FORMATTING THE CODE:

  • actual changes are in lines 80-143!
  • in reality only getJVM was changed, other changes related to format only!

On branch 762-fix_sphinx_build
Changes to be committed:
modified: .gitignore
modified: python/docs/Makefile
new file: python/pyproject.toml
modified: python/zingg/client.py

Close #762

A temporary solution, based on the following:

- introducing a new env variable ZINGG_DRY_RUN
- if the variable is set:
  + mimic globally used JVM-stuff
  + otherwise do nothing

++ slightly update ignore and docs/Makefile
++ apply formatting to client.py

 On branch 762-fix_sphinx_build
 Changes to be committed:
	modified:   .gitignore
	modified:   python/docs/Makefile
	new file:   python/pyproject.toml
	modified:   python/zingg/client.py
@SemyonSinchenko
Copy link
Contributor Author

@sonalgoyal make a look, please! This changes is a working workaround only. We slightly discussed this topic in slack, that python API should be refactored anyway (due SPARK-CONNECT), so I would suggest to replace such a trick by a Context + init_context() pattern, like I did in GraphAr. This workaround should not be a breaking change.

@sonalgoyal sonalgoyal merged commit e02e25c into zinggAI:main Mar 11, 2024
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.

python documentation html build loading spark
2 participants