MacAdmins python3, included modules and compatibility
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- macos, python
調査の方向性
Python updates wiki、issue #85、現在の3.14.5パッケージから始め、/usr/local/bin/python3 -c "help('modules')" を使用してそのモジュールを調べます。パッケージの universal ステータスを確立し、そのモジュールを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.
- 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.
- Does the current 3.14.5 pkg of Python have at least the same set of modules that 3.10 has/had?
- 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 はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
macadmins/python のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
macadmins/python の issue をすべて見る
似ている issue
-
Issue-Enhancement Needs-Triage
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
PowerShell/PowerShell#28061 · リアクション 2 件 ·
-
Feature Request: Add ability to load custom environment variables in linux-exec-server-installer.sh オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/vscode-remote-release#11867 ·
-
AuTest Bug Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/trafficserver#13714 ·
-
Update to NCCL 2.32 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
conda-forge/nccl-feedstock#166 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
vllm-project/agentic-api#358 · コメント 1 件 ·