Page MenuHomeFreeBSD

Add a warning to ports using USES=python:2.7
ClosedPublic

Authored by antoine on Feb 19 2020, 3:41 PM.

Details

Summary

Add a warning to ports using USES=python:2.7

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rene added inline comments.
Mk/Uses/python.mk
330 ↗(On Diff #68532)

How about adding the EOL notice to USES=python:2 too? And perhaps make that warning more pressing by noting that Python 2 is scheduled for removal on 2020-12-31.

I'd put a DEPRECATED instead, and a DEPRECATION_DATE.

Though, I'd rather we put the DEPRECATED and EXPIRATION_DATE in each port right now.

Add python27 EoL date to the warning message

This revision is now accepted and ready to land.Feb 23 2020, 9:48 PM
This revision was automatically updated to reflect the committed changes.