Skip to content

[Click package] DeprecationWarning: Importing 'parser.split_arg_string' is deprecated #13843

Open
@weezymatt

Description

@weezymatt

Hi. I was running the current pytests and noticed a deprecation warning involving Click, a python package, and the parser.split_arg_string function.

DeprecationWarning: Importing 'parser.split_arg_string' is deprecated, it will only be available in 'shell_completion' in Click 9.0.
from click.parser import split_arg_string

I'll submit a PR shortly that handles this issue and another typo I noticed.

How to reproduce the behaviour

In order to reproduce this behavior, you'll need to clone the repository and build spaCy from source. See details here.

pip install -r requirements.txt
python -m pytest --pyargs spacy

Your Environment

  • Operating System: - macOS-15.5-arm64-arm-64bit
  • Python Version Used: - 3.12.9
  • spaCy Version Used: - 3.8.7
  • Environment Information: virtualenv

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