Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

MacAdmins python3, included modules and compatibility

未關閉
#87 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
38/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
macos, python

研究方向

從 Python 更新 wiki、issue #85 和目前的 3.14.5 package 開始;使用 /usr/local/bin/python3 -c "help('modules')" 檢查其 modules。完成標準是確立該 package 的 universal 狀態,將其 modules 與 3.10 進行比較,並判定是否應包含 Cryptography。

由索引模型根據 Issue 內容生成。

描述

For quite sometime it was the case that whilst python3.10 was supported by MunkiReport-PHP, 3.11 was not.

See - https://www.kevinmcox.com/2023/06/munkireport-python-3-and-php-8/

As a result I stuck with 3.10 releases and had no problems. I do however now see the following on the MunkiReport-PHP wiki so will try and remember to setup a test install to see if this is still the case.

See - https://github.com/munkireport/munkireport-php/wiki/Python-updates

I would like to get more up to date so as to remove potential issues regarding the pending end of Rosetta support and resulting installation issues.

Another reason I stuck with 3.10 version was that I was able to confirm that as standard it had included all the Python modules I needed not only for MunkiReport-PHP but other projects like Okta Device Trust. Okta's own documentation at the time required running their scripts which required command line developer tools to be installed to download a build a python installation and download a build specific modules. It fortunately turned out that the pre-built MacAdmins 3.10 install had all those modules as standard.

Note: a simple way to determine what modules are installed is as follows.

  • Install python
  • Run the command /usr/local/bin/python3 -c "help('modules')" in Terminal.app - the path can be altered to test alternative installations of python but this path is the one used by the MacAdmins pkg

I have the following questions regarding the current status of the MacAdmins python pkg.

  1. Is the current installer for 3.14.5 a fully 'universal' pkg meaning it not only contains versions of Python that are native for both Apple Silicon and Intel Macs, but also that the installer itself is properly built to advertise this fact? See open issue https://github.com/macadmins/python/issues/85 It maybe this will turn out to not be pessary, I see that the plan is to drop Intel support in future releases and logically you will then not make it universal and not trigger this, An Autopkg munki recipe could then label newer releases as having only an Arm architecture and Munki will not try to install future updates on Intel but being the Installer pkg is labelled also as Arm only will not trigger any Rosetta issue.
  2. Does the current 3.14.5 pkg of Python have at least the same set of modules that 3.10 has/had?
  3. Would it be possible to get an additional module added (if not already included) to the next Python build? It could be helpful to have the Cyptography module included.
主要語言
Shell
星號
257
分支
29
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

macadmins/python 的其他 Issue

查看 macadmins/python 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。