Skip to content

--global-option is deprecated #7167

@radarhere

Description

@radarhere

https://github.com/python-pillow/Pillow/actions/runs/4999985216/jobs/8956875899#step:7:23

DEPRECATION: --build-option and --global-option are deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at pypa/pip#11859

While we could possibly just remove make inplace

Pillow/Makefile

Lines 58 to 59 in 599979c

inplace: clean
python3 -m pip install -e --global-option="build_ext" --global-option="--inplace" .

and --global-option="build_ext", we do still need something to replace our build options.

The possible replacement of --config-settings would involve switching from setuptools to build.

pip releases a new version every 3 months, so pip 23.3 is due out in October, possibly before our scheduled October 15 release for Pillow 10.1. So it would be ideal to figure this out for Pillow 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions