Skip to content

Change a few configuration file options from required to not required #10303

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

Merged
merged 1 commit into from
May 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/user/config-file/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ The path to the requirements file, relative to the root of the project.

:Key: ``requirements``
:Type: ``path``
:Required: ``true``
:Required: ``false``

Example:

Expand Down Expand Up @@ -222,7 +222,7 @@ The path to the package, relative to the root of the project.

:Key: ``path``
:Type: ``path``
:Required: ``true``
:Required: ``false``

The installation method.

Expand Down Expand Up @@ -297,7 +297,7 @@ conda.environment
The path to the Conda `environment file <https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html>`_, relative to the root of the project.

:Type: ``path``
:Required: ``true``
:Required: ``false``
Copy link
Contributor

@benjaoming benjaoming May 12, 2023

Choose a reason for hiding this comment

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

Suggested change
:Required: ``false``
:Required: when using the ``conda`` key

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'll leave this change for later for now, as we have a number of fields we should do this for.


build
~~~~~
Expand Down