Closed Bug 1769773 Opened 2 years ago Closed 2 years ago

stop using `distutils` in moz-phab

Categories

(Conduit :: moz-phab, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

Details

Attachments

(1 file)

distutils is being deprecated, see https://peps.python.org/pep-0632/. I've noticed some yelling about usages of distutils in the warnings of moz-phab pytest output. Migrate those pieces of code to use their supported replacements, as described in the PEP.

Add packaging as a dependency and replace distutils.version.LooseVersion
usages with packaging.version.Version. Swap distutils.Distribution
to setuptools.Distribution.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: