classification
Title: macOS Python package receipts do not have version numbers
Type: Stage: resolved
Components: macOS Versions: Python 3.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: OS X installer provides flat sub-packages with no version numbers
View: 24502
Assigned To: Nosy List: Shea Craig, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2017-07-26 18:07 by Shea Craig, last changed 2017-07-26 19:09 by ned.deily. This issue is now closed.

Messages (2)
msg299257 - (view) Author: Shea Craig (Shea Craig) Date: 2017-07-26 18:07
The Python installer package for macOS is versioned, however, the included sub packages have no version information. This results in the receipts having no version. Many enterprise software management tools rely on the receipt information to determine whether something is present and whether it's due for an update. We use Munki, are are currently working around this issue, but ideally the subpackages would have the version info included.

$ for PKG in $(pkgutil --pkgs | grep org.python);do pkgutil --pkg-info $PKG;done
package-id: org.python.Python.PythonApplications-3.6
version: 0
volume: /
location: Applications
install-time: 1494351483
package-id: org.python.Python.PythonDocumentation-3.6
version: 0
volume: /
location: Library/Frameworks/Python.framework/Versions/3.6/Resources/English.lproj/Documentation
install-time: 1494351483
package-id: org.python.Python.PythonFramework-3.6
version: 0
volume: /
location: Library/Frameworks/Python.framework
install-time: 1494351483
package-id: org.python.Python.PythonUnixTools-3.6
version: 0
volume: /
location: usr/local/bin
install-time: 1494351483
msg299258 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2017-07-26 19:09
Thanks for the report.  Issue24502 has already reported this issue.  Feel free to add yourself to the Nosy List there.
History
Date User Action Args
2017-07-26 19:09:34ned.deilysetstatus: open -> closed
superseder: OS X installer provides flat sub-packages with no version numbers
messages: + msg299258

resolution: duplicate
stage: resolved
2017-07-26 18:07:35Shea Craigcreate