-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Document python.use_system_site_packages option #4422
Document python.use_system_site_packages option #4422
Conversation
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.
LGTM
docs/yaml-config.rst
Outdated
* Type: Boolean | ||
|
||
When true, it gives the virtual environment access to the global site-packages directory. | ||
Depending of the :ref:`yaml-config:build.image`, |
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.
Oops! Missed typo here. Depending of
-> Depending 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.
I need to take a look at some english grammar rules p:
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.
Please, fix this and we can merge, right?
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.
Ups, forgot to resolve this
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.
Changes look good to me.
|
||
When true, it gives the virtual environment access to the global site-packages directory. | ||
Depending on the :ref:`yaml-config:build.image`, | ||
Read the Docs includes some libraries like scipy, numpy, etc. |
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.
Same as #4419
If we don't want / can't document exactly what are those libraries, I think we should at least link to the repository that contains the Dockerfile
and tell this to the user. I mean, how they can do to know exactly what are the pre-installed libs of the docker image they are using.
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 is worth having a build-images
docs? (or creating docs in the docker images repo)
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 like the idea of having a page (inside the current docs) for the docker images that we use.
This page could explain what's the default image, explain or release process, what's installed on each of them, what's its base OS and how to check what specific version is installed on it.
Among other things 😁
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.
Well, I just discovered that we already have some docs about the packages installed, we should just improve/update them https://docs.readthedocs.io/en/latest/builds.html#packages-installed-in-the-build-environment
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.
Good! So, in that case, I'd say that we should link that documentation page from here. Seems to be the most accurate to do and easy to follow.
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 may need a different section for Python packages in those docs, though.
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.
Already did that haha, I thought you already saw the PR #4515
I'd say that this is ready to merge once we add the link to the build images. |
5dd8716
to
fc6afd5
Compare
Rebased and updated |
👍 |
Closes #4418