Skip to content

python_requirements environment constraints #2078

Open
@bvolkmer

Description

@bvolkmer

If I have or example, a requirements.txt with the following content:

pywin32==308 ; platform_system == 'Windows'

It will try to install the package and fail because it is not available on Linux.
But normally, pip (at least 24.3.1) does succeed with

Ignoring pywin32: markers 'platform_system == "Windows"' don't match your environment

So I suspect that the requirement.txt file is modified in the process.

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