Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing against pip main branch #1825

Closed
atugushev opened this issue Mar 21, 2023 · 0 comments · Fixed by #1828
Closed

Tests failing against pip main branch #1825

atugushev opened this issue Mar 21, 2023 · 0 comments · Fixed by #1828
Labels
bug Something is not working pip Related to pip

Comments

@atugushev
Copy link
Member

atugushev commented Mar 21, 2023

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.

@atugushev atugushev added bug Something is not working pip Related to pip labels Mar 21, 2023
@atugushev atugushev changed the title Test failing against pip main branch Tests failing against pip main branch Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working pip Related to pip
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant