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

plistlib: Add tests that compare with plutil(1) #86261

Closed
ronaldoussoren opened this issue Oct 20, 2020 · 7 comments
Closed

plistlib: Add tests that compare with plutil(1) #86261

ronaldoussoren opened this issue Oct 20, 2020 · 7 comments
Labels
3.10 only security fixes easy OS-mac stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@ronaldoussoren
Copy link
Contributor

BPO 42095
Nosy @ronaldoussoren, @ned-deily, @ambv, @zware, @srinivasreddy, @AliyevH, @hrik2001
PRs
  • bpo-42095: plistlib: Add tests that compare with plutil(1) #27173
  • Files
  • test_plistlib_plutil.py
  • 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 2021-07-17.10:11:26.528>
    created_at = <Date 2020-10-20.07:24:21.296>
    labels = ['OS-mac', 'easy', 'type-feature', 'library', '3.10']
    title = 'plistlib: Add tests that compare with plutil(1)'
    updated_at = <Date 2021-07-18.21:28:36.794>
    user = 'https://github.com/ronaldoussoren'

    bugs.python.org fields:

    activity = <Date 2021-07-18.21:28:36.794>
    actor = 'AliyevH'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-17.10:11:26.528>
    closer = 'lukasz.langa'
    components = ['Library (Lib)', 'macOS']
    creation = <Date 2020-10-20.07:24:21.296>
    creator = 'ronaldoussoren'
    dependencies = []
    files = ['50020']
    hgrepos = []
    issue_num = 42095
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['379094', '379100', '392845', '397566', '397717', '397718', '397760']
    nosy_count = 7.0
    nosy_names = ['ronaldoussoren', 'ned.deily', 'lukasz.langa', 'zach.ware', 'thatiparthy', 'AliyevH', 'hrik2001']
    pr_nums = ['27173']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42095'
    versions = ['Python 3.10']

    @ronaldoussoren
    Copy link
    Contributor Author

    plistlib is a library that reads and writes files that should be compatible with Apple tooling/libraries.

    Add some tests that verify interop (when ran on macOS):

    • Generate plist files with plistlib and parse with plutil
    • Generate plist files with plutil and parse with plistlib

    Do this both for xml and binary plist files.

    @ronaldoussoren ronaldoussoren added 3.10 only security fixes stdlib Python modules in the Lib dir OS-mac easy type-feature A feature request or enhancement labels Oct 20, 2020
    @ronaldoussoren
    Copy link
    Contributor Author

    Also:

    @AliyevH
    Copy link
    Mannequin

    AliyevH mannequin commented May 4, 2021

    Does this issue still open? I would like to write this tests.

    @srinivasreddy
    Copy link
    Mannequin

    srinivasreddy mannequin commented Jul 15, 2021

    Hasan, Please raise a PR on GitHub.

    @ambv
    Copy link
    Contributor

    ambv commented Jul 17, 2021

    New changeset 689b05c by Hasan in branch 'main':
    bpo-42095: plistlib: Add tests that compare with plutil(1) (bpo-27173)
    689b05c

    @ambv
    Copy link
    Contributor

    ambv commented Jul 17, 2021

    Thanks! ✨ 🍰 ✨

    @ambv ambv closed this as completed Jul 17, 2021
    @ambv ambv closed this as completed Jul 17, 2021
    @AliyevH
    Copy link
    Mannequin

    AliyevH mannequin commented Jul 18, 2021

    You are welcome!
    Thanks for accepting

    @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
    3.10 only security fixes easy OS-mac stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants