Skip to content

Tests failing against pip main branch #1825

@atugushev

Description

@atugushev

https://github.com/jazzband/pip-tools/actions/runs/4475375698/jobs/7864734569

    def copy_install_requirement(
        template: InstallRequirement, **extra_kwargs: Any
    ) -> InstallRequirement:
        """Make a copy of a template ``InstallRequirement`` with extra kwargs."""
        # Prepare install requirement kwargs.
        kwargs = {
            "comes_from": template.comes_from,
            "editable": template.editable,
            "link": template.link,
            "markers": template.markers,
            "use_pep517": template.use_pep517,
            "isolated": template.isolated,
>           "install_options": template.install_options,
            "global_options": template.global_options,
            "hash_options": template.hash_options,
            "constraint": template.constraint,
            "extras": template.extras,
            "user_supplied": template.user_supplied,
        }
E       AttributeError: 'InstallRequirement' object has no attribute 'install_options'

--install-options removed in pypa/pip#11858.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingpipRelated to pip

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions