Skip to content

python_requirements environment constraints #2078

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

    goPull requests that update Go codepythonPull requests that update Python codetype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions