We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry export -o requirements.txt --without-hashes --with-credentials --all-extras
poetry export -o requirements.txt --without-hashes --with-credentials --all-extras doesn't export all dependencies.
I have to include all extra dependency groups with --with or use no groups at all. Unfeasible in CI pipelines for example.
--with
install.python-poetry.org
macOS Sonoma
1.8.2
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
No response
the command isn't failing, it's just not behaving as expected
The text was updated successfully, but these errors were encountered:
So you are interested in #105 (--all)?
--all
Sorry, something went wrong.
same issue here. poetry install respects all groups, but poetry export does not. I expected the behavior to be the same.
poetry install
poetry export
Workaround with grep:
all_groups=$(grep tool.poetry.group. pyproject.toml | echo "main `cut -d. -f4`" | xargs | sed -e 's/ /,/g') poetry export --with="$all_groups"
No branches or pull requests
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
Python Sysconfig
No response
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: