Open Faaux opened 5 months ago
Having exactly same issue.
minimal reproducible example of Pipfile:
[scripts]
hello_env_variable = "FOO='hello world' python -c 'import os; print(os.getenv(\"FOO\"))'"
and run it:
pipenv run hello_env_variable
And got error:
Error: the command FOO=hello world (from hello_env_variable) could not be found within PATH.
When I run same command last working version of pipenv I got correct output:
hello world
Issue description
The following command was supported in
2023.11.17
:pipenv run DISABLE_API_GENERATION=1 sphinx-build -b html -d some_path
With2023.12.1
it fails with:Error: the command DISABLE_API_GENERATION=1 could not be found within PATH or Pipfile's [scripts].
Expected result
The command
sphinx-build -b html -d some_path
is run with the environment variableDISABLE_API_GENERATION
set to1
Actual result
The command errors
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).