Porting GNUtrition to Python 3

GNUtrition is free nutrition analysis software written for the GNU operating system.

As of February 7, 2026: the last release of GNUtrition on the GNU FTP server is version 0.32.1 from March 31, 2012. Every currently published release on the FTP server uses Python 2, and current versions for many distributions of the GNU operating system (along with several other non-GNU systems) now lack Python 2 in their package repositories. The Python Software Foundation has also stopped accepting bug reports, fixes, and other changes for Python 2.x on January 1, 2020, leading to further complications. PyGTK, which was used by GNUtrition, is also not supported on Python 3. This also means that anyone using these systems will not be able to easily (or safely) run GNUtrition.

The plan for GNUtrition going forward is to port the Python 2 code to Python 3, and replace the old PyGTK and GObject code with wxPython. Porting work has already been started on GNUtrition’s Git repository in its primary branch: master. The Python 2 version has been archived in the py2 branch. Contributions are welcome from anyone who wishes to do so. You may send patches via e-mail to gnutrition-devel@gnu.org. Any help we can get for GNUtrition 0.33 and onward will be greatly appreciated! The sooner we get the Python 3 port finished, the sooner we can start improving and updating the program in other ways.

For more information about GNUtrition, please see its home page. For help with using Git or sending patches as e-mails, please refer to the following resources:


Anton McClure / asm@aperture.akron.oh.us