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

Autopkg 2.7 Google Talk Plugin - Munki Pkg info Receipts Editor Python 3.10 error #148

Open
lifeunexpected opened this issue Aug 25, 2022 · 6 comments

Comments

@lifeunexpected
Copy link

The following failures occurred:
Recipe: local.munki.Override.MicrosoftOffice365Suite

Message: Unable to import 'com.github.keeleysam.recipes.GoogleTalkPlugin/MunkiPkginfoReceiptsEditor', likely due to syntax or Python error.

This happened after upgrading to the new version of autopkg

AutoPkg now uses Python 3.10.6, and PyObjc 8.5. Python 3.10 brings several new general improvements and may result in some warnings or errors in processors still using some legacy Python2-conversion-to-3-isms. Please file appropriate issues with recipe authors or bring it to our attention in #autopkg in Slack.
https://github.com/autopkg/autopkg/releases/tag/v2.7

@TomBoehm
Copy link

same for TeamViewerHostCustom

@flammable
Copy link
Member

A bunch of recipes we use rely on this processor. I hope @vmiller's fix can be merged soon (thanks!).

@precursorca
Copy link

I also hope this can be merged soon. Affects:
com.github.foigus.munki.microsoftremotedesktop
com.github.dataJAR-recipes.munki.Microsoft Word 2019

@mdt1024
Copy link

mdt1024 commented Sep 9, 2022

I'm experiencing this with the apizz-recipe for GoogleDrive.munki, wherein it can't find [read,write]Plist in plistlib module for autopkg version calling Python 3.10 out of ~/Library/Autopkg/Python3/Python.frameworks/Version/3.10/bin. My sol'n was to change [read,write]Plist into the methods used in 3.10 ('load' and 'dump') in MunkiPkginfoReceiptsEditor.py. I then ran autopkg update-trust-info for GoogleDrive.munki and now it's working.

@nmcspadden
Copy link

This processor was merged into core - MunkiOptionalReceiptsEditor. You don't need to use this specific shared processor anymore.

@vmiller
Copy link

vmiller commented Sep 10, 2022

Nice. Makes a lot of sense for this to be a core processor. Sounds like we need to file issues/pull requests to some recipes to use the new core processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants