Skip to content

poetry export -o requirements.txt --without-hashes --with-credentials --all-extras doesn't export all dependencies #288

@fschlz

Description

@fschlz

Description

poetry export -o requirements.txt --without-hashes --with-credentials --all-extras doesn't export all dependencies.

Workarounds

I have to include all extra dependency groups with --with or use no groups at all.
Unfeasible in CI pipelines for example.

Poetry Installation Method

install.python-poetry.org

Operating System

macOS Sonoma

Poetry Version

1.8.2

Poetry Configuration

cache-dir = "/Users/francisco/Library/Caches/pypoetry"
experimental.system-git-client = false
installer.max-workers = null
installer.modern-installation = true
installer.no-binary = null
installer.parallel = true
keyring.enabled = true
repositories.custom.url = "{{URL}}"
solver.lazy-wheel = true
virtualenvs.create = true
virtualenvs.in-project = true
virtualenvs.options.always-copy = false
virtualenvs.options.no-pip = false
virtualenvs.options.no-setuptools = false
virtualenvs.options.system-site-packages = false
virtualenvs.path = "{cache-dir}/virtualenvs"  # /Users/francisco/Library/Caches/pypoetry/virtualenvs
virtualenvs.prefer-active-python = false
virtualenvs.prompt = "{project_name}-py{python_version}"
warnings.export = false

Python Sysconfig

No response

Example pyproject.toml

No response

Poetry Runtime Logs

the command isn't failing, it's just not behaving as expected

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