FIX: Optional Dependencies Naming in pyproject.toml. #592
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Checklist
CHANGELOG.md
has been updated (if relevant)Current behavior
The installation of optional dependencies
env-analysis
andàll
is not working as expected, yielding the following results:env-analysis install results
The same happens with `env_analysis`.
"all" install result
New behavior
Changing the naming of
env_anaysis
to the python package normalizedenv-analysis
fixes the first installation issue.The second was the addition of the
all
to the optional dependencies.Breaking change
Additional information
The recursive syntax to generate the
all
in thepyproject.toml
file is only supported frompip>=21.2
(from 2021). The+
symbol fromsetup.py
is not valid inpyproject.toml
.If this is understood as a too strict version compromise, listing all the dependencies is the alternative.