Skip to content

typing installed unconditionally on all Pythons when installed from wheel #133

@reaperhulk

Description

@reaperhulk

hyperlink defines conditional requirements on install_requires in its setup.py

install_requires=["idna>=2.5", 'typing ; python_version<"3.5"'],

However, older setuptool cannot interpret this when building wheels so typing is installed unconditionally even on Python 3.5+. This is compounded by a pip isue where installed packages are improperly prioritized (pypa/pip#8272). To fix this you should read below so you don't get the wrong fix 😄

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