Skip to content

Poetry build fails with: The option "--no-dev" does not exist #2579

Open
@pandemosth

Description

@pandemosth

Bug Report

  • At what date and time did you most recently experience the problem?

2025-04-01 06:52:32

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.

Azure Web Apps

  • If your repo is publicly available please share its URL:

N/A

  • What happened?

Local git deployment has started failing today. Have tried restarting the web app, tried Python versions 3.11, 3.12, 3.13 and same error on all.

  • What did you expect or want to happen?

Oryx poetry should not be calling the unsupported "--no-dev" option.

  • How can we reproduce it?

Run a poetry build.

  • Do you have log output? Please include between the backticks:
remote: OS Type           : bookworm
remote: Image Type        : githubactions
remote: 
remote: Detecting platforms...
remote: .
remote: Detected following platforms:
remote:   python: 3.13.2
remote: Version '3.13.2' of platform 'python' is not installed. Generating script to install it...
remote: 
remote: Using intermediate directory '/tmp/8dd70e99749f88d'.
remote: 
remote: Copying files to the intermediate directory...
remote: Done in 1 sec(s).
remote: 
remote: Source directory     : /tmp/8dd70e99749f88d
remote: Destination directory: /home/site/wwwroot
remote: 
remote: 
remote: Downloading and extracting 'python' version '3.13.2' to '/tmp/oryx/platforms/python/3.13.2'...
remote: Detected image debian flavor: bookworm.
remote: Downloaded in 2 sec(s).
remote: Verifying checksum...
remote: Extracting contents...
remote: .......
remote: performing sha512 checksum for: python...
remote: Done in 15 sec(s).
remote: 
remote: Python Version: /tmp/oryx/platforms/python/3.13.2/bin/python3.13
remote: Creating directory for command manifest file if it does not exist
remote: Removing existing manifest file
remote: Python Virtual Environment: antenv
remote: Creating virtual environment...
remote: ......
remote: Activating virtual environment...
remote: Running pip install poetry...
remote: Collecting poetry
remote:   Using cached poetry-2.1.2-py3-none-any.whl.metadata (7.1 kB)

...

remote: Running poetry install...
remote: 
remote: The option "--no-dev" does not exist
remote: "2025-04-01 06:52:32"|WARNING|
remote: The option "--no-dev" does not exist | Exit code: {pythonBuildExitCode} | Please review message | More information: https://aka.ms/troubleshoot-python
remote: 
remote: Generating summary of Oryx build
remote: Parsing the build logs
remote: Found 1 issue(s)
remote: 
remote: Build Summary :
remote: ===============
remote: Errors (0)
remote: Warnings (1)
remote: 1. 
remote: The option "--no-dev" does not exist
remote: -  Next Steps: Please review message
remote: -  For more details you can browse to https://aka.ms/troubleshoot-python
remote: 
remote: 
remote: Deployment Failed. deployer =  deploymentPath =
remote: Deployment failed
remote: Error - Changes committed to remote repository but deployment to website failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions