Skip to content

Option, no-binary #135

Open
Open

Description

@alegtk

Greetings.
As far as I can see, the export is not carrying the --no-binary option for selected packages.
For instance, we have a package wide configuration such as this
$ cat poetry.toml
[installer]
no-binary = ["confluent-kafka"]

And the no-binary is missing in the requirements.txt
$ cat requirements.txt
confluent-kafka==1.9.2 ; python_version >= "3.10" and python_version < "4.0"
--hash=sha256:24872e3e427b16f77461ae7e6cf48f9c5c03c06884ac51bad179580a4dd29145
[...]

-Settings under test
$ poetry self show plugins
• poetry-plugin-export (1.1.1) Poetry plugin to export the dependencies to various formats
1 application plugin
Dependencies
- poetry (>=1.2.0,<2.0.0)
- poetry-core (>=1.1.0,<2.0.0)

Thank you for the great job!

Activity

  1. nilox94 commented on Dec 21, 2023

    @nilox94

    Here's the relevant PR that introduced the installer.no-binary config: python-poetry/poetry#5609.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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