Skip to content

pywin32 dependency fails on non-Windows systems , should it be platform guarded? #143

@HarshitSharma14

Description

@HarshitSharma14

While testing the installation using:

pip install -r Environment_Creation/requirements.txt

I noticed that the dependency:

pywin32==306

fails to install on macOS/Linux environments since pywin32 is a Windows-only package. This causes the requirements installation to fail on non-Windows systems .

One possible approach could be guarding the dependency with a platform marker, for example:

pywin32==306 ; sys_platform == "win32"

This would install the package only on Windows systems where it is actually required.

Before proposing a change, I wanted to check with the maintainers:
Is the environment intended to be Windows-only, or would it make sense to make this dependency platform-specific?

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