grahampugh / jamf-upload

Scripts for uploading packages to Jamf Cloud
Apache License 2.0
147 stars 37 forks source link

JamfRecipeMaker throwing error #124

Open gnowallin opened 9 months ago

gnowallin commented 9 months ago

Getting this error when trying to run JamfRecipeMaker.

% autopkg run GoogleDrive.pkg --pre com.github.grahampugh.recipes.commonprocessors/JamfRecipeMaker

Processing GoogleDrive.pkg...

"dump()" has been removed, use

yaml = YAML(typ='unsafe', pure=True) yaml.dump(...)

instead of file "/Users/TheUser/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes/CommonProcessors/JamfRecipeMaker.py", line 155

    return dump(data, width=float("inf"), default_flow_style=False)

Failed.

The following recipes failed: GoogleDrive.pkg Error in local.pkg.GoogleDrive: Processor: com.github.grahampugh.recipes.commonprocessors/JamfRecipeMaker: Error: "dump()" has been removed, use

      yaml = YAML(typ='unsafe', pure=True)
      yaml.dump(...)

    instead of file "/Users/The Yser/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes/CommonProcessors/JamfRecipeMaker.py", line 155

            return dump(data, width=float("inf"), default_flow_style=False)