At long last: AutoPkg 2.0 is here!

77 views
Skip to first unread message

Nick McSpadden

unread,
Feb 5, 2020, 1:36:04 PM2/5/20
to autopkg...@googlegroups.com
https://github.com/autopkg/autopkg/releases/tag/v2.0.2

AutoPkg 2.0 Release

PYTHON 3

This is the official release of a Python 3-only version of AutoPkg. It is no longer compatible with Python 2, and will encounter syntax errors and failures if ran with Python 2.

The release package has an included Python 3 framework that includes all necessary modules to run everything in AutoPkg core, and all of the recipes in autopkg-recipes.

MAJOR HIGHLIGHTS OF THE PYTHON 3 CODE:

  • FoundationPlist has been retired. plistlib in Python 3 should be used to handle all plist parsing.
  • All Python string interpolation should prefer the use of f-strings (formatted string literals).
  • All references to unicode vs. string types have been refactored to use Python 3's native byte strings whenever possible.
  • All unit tests were updated to Python 3.
  • All Python code now use a symlink to the embedded Python framework. It is strongly recommended you do not modify or touch anything inside the AutoPkg Python framework (i.e. avoid installing things with pip).

CHANGES FROM RC2:

  • Fixed an encoding bug in the make_new_release script (fca4052)
  • Removed some orphaned dead code (c90e92b)

--
--
Nick McSpadden
nmcsp...@gmail.com
Reply all
Reply to author
Forward
0 new messages