Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 547732

Summary: sys-apps/portage: PendingDeprecationWarning: the formatter module is deprecated and will be removed in Python 3.6
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: 2.2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484436    

Description Zac Medico gentoo-dev 2015-04-25 19:12:03 UTC
If deprecation warnings are enabled, then portage triggers the following warning:

/usr/lib64/python3.4/formatter.py:24: PendingDeprecationWarning: the formatter module is deprecated and will be removed in Python 3.6

The PSF-2 license is compatible with the GPL-2 license, so portage can simply bundle the needed parts of the formatter module.
Comment 1 Zac Medico gentoo-dev 2015-04-25 20:43:08 UTC
There's a patch in the following branch:

https://github.com/zmedico/portage/tree/bug_547732

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/0f77c273a76595a3551dcfdab44291a2
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-05-19 19:53:24 UTC
Released in portage-2.2.19