Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS Python package receipts do not have version numbers #75232

Closed
SheaCraig mannequin opened this issue Jul 26, 2017 · 2 comments
Closed

macOS Python package receipts do not have version numbers #75232

SheaCraig mannequin opened this issue Jul 26, 2017 · 2 comments
Labels

Comments

@SheaCraig
Copy link
Mannequin

SheaCraig mannequin commented Jul 26, 2017

BPO 31049
Nosy @ronaldoussoren, @ned-deily
Superseder
  • bpo-24502: OS X installer provides flat sub-packages with no version numbers
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-07-26.19:09:34.021>
    created_at = <Date 2017-07-26.18:07:35.840>
    labels = ['OS-mac']
    title = 'macOS Python package receipts do not have version numbers'
    updated_at = <Date 2017-07-26.19:09:34.020>
    user = 'https://bugs.python.org/SheaCraig'

    bugs.python.org fields:

    activity = <Date 2017-07-26.19:09:34.020>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-07-26.19:09:34.021>
    closer = 'ned.deily'
    components = ['macOS']
    creation = <Date 2017-07-26.18:07:35.840>
    creator = 'Shea Craig'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31049
    keywords = []
    message_count = 2.0
    messages = ['299257', '299258']
    nosy_count = 3.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'Shea Craig']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '24502'
    type = None
    url = 'https://bugs.python.org/issue31049'
    versions = ['Python 3.6']

    @SheaCraig
    Copy link
    Mannequin Author

    SheaCraig mannequin commented Jul 26, 2017

    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

    @SheaCraig SheaCraig mannequin added the OS-mac label Jul 26, 2017
    @ned-deily
    Copy link
    Member

    Thanks for the report. bpo-24502 has already reported this issue. Feel free to add yourself to the Nosy List there.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant