Invalid Syntax in Entry Point Scripts #5161
Labels
locked
[bot] locked due to inactivity
source::anaconda
created by members of Anaconda, Inc.
stale::closed
[bot] closed after being marked as stale
stale
[bot] marked as stale due to inactivity
type::support
neither a bug nor feature, is really just a user having questions or difficulty somewhere
What Happened?
The generated script for the specified entry point is generated with invalid syntax. This causes the command to error out and not work. The syntax violations are extra quotes in the
from app import run
andsys.exit(run())
lines. The following is the script generated when using the conda build process with themeta.yaml
file.Fixing the invalid syntax results in the entry point script working correctly. At the very least, this means that everything is setup correctly when the conda package is built and installed. I have been using the following commands when building and installing the conda package locally:
conda build conda.recipe --output-folder output
conda install --use-local package-name
meta.yaml
What Should Have Happened?
The generated script should be generated with valid syntax. Below is an example of the same script generated using a
pyproject.toml
build process.Conda Details
conda info
conda config
conda list
The text was updated successfully, but these errors were encountered: