-
Notifications
You must be signed in to change notification settings - Fork 30
Try2 2025 #66
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Try2 2025 #66
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| name: Build Python 3.13 | ||
|
|
||
| env: | ||
| TYPE: "recommended" | ||
| DEV_INSTALLER_ID: "Developer ID Installer: Mac Admins Open Source (T4SK8ZXCXG)" | ||
| DEV_APPLICATION_ID: "Developer ID Application: Mac Admins Open Source (T4SK8ZXCXG)" | ||
| NOTARY_APP_PASSWORD: ${{ secrets.NOTARY_APP_PASSWORD_MAOS }} | ||
| PYTHON_VERSION: "3.12.1" | ||
| PYTHON_MAJOR_VERSION: "3.12" | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: macos-13 | ||
|
|
||
| steps: | ||
| - name: Checkout python repo | ||
| uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Install Apple Developer ID Application certificates | ||
| uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0 | ||
| with: | ||
| keychain-password: ${{ github.run_id }} | ||
| p12-file-base64: ${{ secrets.APP_CERTIFICATES_P12_MAOS }} | ||
| p12-password: ${{ secrets.APP_CERTIFICATES_P12_PASSWORD_MAOS }} | ||
|
|
||
| - name: Install Apple Developer ID Installer certificates | ||
| uses: apple-actions/import-codesign-certs@8f3fb608891dd2244cdab3d69cd68c0d37a7fe93 # v2.0.0 | ||
| with: | ||
| create-keychain: false # do not create a new keychain for this value | ||
| keychain-password: ${{ github.run_id }} | ||
| p12-file-base64: ${{ secrets.PKG_CERTIFICATES_P12_MAOS }} | ||
| p12-password: ${{ secrets.PKG_CERTIFICATES_P12_PASSWORD_MAOS }} | ||
|
|
||
| - name: Run build package script | ||
| run: ./build_python_framework_pkgs.zsh "$TYPE" "$DEV_INSTALLER_ID" "$DEV_APPLICATION_ID" "$PYTHON_VERSION" "$PYTHON_MAJOR_VERSION" "${NOTARY_APP_PASSWORD}" | ||
|
|
||
| - name: get environment variables | ||
| id: get_env_var | ||
| run: | | ||
| echo "PYTHON_BUILD_VERSION=$(/bin/cat ./build_info.txt)" >> $GITHUB_ENV | ||
|
|
||
| - name: Generate changelog | ||
| id: changelog | ||
| uses: metcalfc/changelog-generator@afdcb9470aebdb2252c0c95a1c130723c9e21f3a # v4.1 | ||
| with: | ||
| myToken: ${{ secrets.GITHUB_TOKEN }} | ||
| reverse: 'true' | ||
|
|
||
| - name: Create Release | ||
| id: create_release | ||
| uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 | ||
| with: | ||
| name: Python ${{env.PYTHON_BUILD_VERSION}} | ||
| tag_name: v${{env.PYTHON_BUILD_VERSION}} | ||
| draft: false | ||
| prerelease: true | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| body: | | ||
| # Notes | ||
| Python ${{env.PYTHON_VERSION}} Framework | ||
|
|
||
| ## Changes | ||
| - Upgraded Python to 3.13.5 | ||
| **Note: Some of these updates may have breaking changes. Always test your code before deploying to production!** | ||
|
|
||
| Please see the `requirements_recommended.txt` for the current libraries being used. | ||
|
|
||
| ${{ steps.changelog.outputs.changelog }} | ||
|
|
||
| # Flavors of Python | ||
| At this time, the automated build process will **only** create the Recommended package | ||
|
|
||
| ## Recommended | ||
| This is a Python.framework that contains everything from minimal, and a few libraries that various well known open source projects require. | ||
|
|
||
| ## Signing/Notarization | ||
| The signed package is fully notarized, including the Python.framework file | ||
| files: ${{github.workspace}}/outputs/*.pkg | ||
|
|
||
| - name: Upload packages | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | ||
| with: | ||
| name: packages | ||
| path: outputs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,42 +1,42 @@ | ||
| asn1crypto==1.5.1 | ||
| aspy.yaml==1.3.0 | ||
| attrs==23.2.0 | ||
| black==24.1.1 | ||
| attrs==25.3.0 | ||
| black==25.1.0 | ||
| --no-binary black | ||
| certifi==2023.11.17 | ||
| cffi==1.16.0 | ||
| certifi==2025.6.15 | ||
| cffi==1.17.1 | ||
| --no-binary cffi | ||
| cfgv==3.4.0 | ||
| charset-normalizer==3.3.2 | ||
| charset-normalizer==3.4.2 | ||
| --no-binary charset-normalizer | ||
| click==8.1.7 | ||
| distlib==0.3.8 | ||
| docklib==1.3.0 | ||
| click==8.2.1 | ||
| distlib==0.3.9 | ||
| docklib==2.0.0 | ||
| entrypoints==0.4 | ||
| filelock==3.13.1 | ||
| flake8==7.0.0 | ||
| flake8-bugbear==24.1.17 | ||
| identify==2.5.33 | ||
| idna==3.6 | ||
| isort==5.13.2 | ||
| filelock==3.18.0 | ||
| flake8==7.3.0 | ||
| flake8-bugbear==24.12.12 | ||
| identify==2.6.12 | ||
| idna==3.10 | ||
| isort==6.0.1 | ||
| mccabe==0.7.0 | ||
| mypy-extensions==1.0.0 | ||
| nodeenv==1.8.0 | ||
| packaging==23.2 | ||
| mypy-extensions==1.1.0 | ||
| nodeenv==1.9.1 | ||
| packaging==25.0 | ||
| pathspec==0.12.1 | ||
| platformdirs==4.2.0 | ||
| pre-commit==3.6.0 | ||
| pycodestyle==2.11.1 | ||
| pycparser==2.21 | ||
| pyflakes==3.2.0 | ||
| pyobjc==10.1 | ||
| PyYAML==6.0.1 | ||
| platformdirs==4.3.8 | ||
| pre-commit==4.2.0 | ||
| pycodestyle==2.14.0 | ||
| pycparser==2.22 | ||
| pyflakes==3.4.0 | ||
| pyobjc==11.1 | ||
| PyYAML==6.0.2 | ||
| --no-binary PyYAML | ||
| requests==2.31.0 | ||
| six==1.16.0 | ||
| tokenize-rt==5.2.0 | ||
| tomli==2.0.1 | ||
| urllib3==2.2.0 | ||
| virtualenv==20.25.0 | ||
| xattr==1.0.0 | ||
| --no-binary xattr | ||
| requests==2.32.4 | ||
| six==1.17.0 | ||
| tokenize-rt==6.2.0 | ||
| tomli==2.2.1 | ||
| urllib3==2.5.0 | ||
| virtualenv==20.31.2 | ||
| xattr==1.1.4 | ||
| --no-binary xattr |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.