Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547732 - sys-apps/portage: PendingDeprecationWarning: the formatter module is deprecated and will be removed in Python 3.6
Summary: sys-apps/portage: PendingDeprecationWarning: the formatter module is deprecat...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 484436
  Show dependency tree
 
Reported: 2015-04-25 19:12 UTC by Zac Medico
Modified: 2015-05-19 19:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 gentoo-dev 2015-05-19 19:53:24 UTC
Released in portage-2.2.19