Skip to content

Remove virtualenv<21 version cap when hatch supports virtualenv 21+ #148

@KedoKudo

Description

@KedoKudo

Summary

We had to cap virtualenv<21 in pyproject.toml because virtualenv 21.0.0 removed the propose_interpreters attribute from virtualenv.discovery.builtin, which breaks hatch build.

Error:

Environment `hatch-build` is incompatible: module 'virtualenv.discovery.builtin' has no attribute 'propose_interpreters'

Upstream issue

Action needed

Once hatch releases a version that supports virtualenv>=21, remove the <21 cap from the virtualenv dependency in pyproject.toml:

# Change this:
virtualenv = ">=20.36.1,<21"
# To this:
virtualenv = ">=20.36.1"

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