From c7b46856c9579d1f3de40d4362ed46fca77f3e0d Mon Sep 17 00:00:00 2001 From: Erik Gomez Date: Tue, 12 May 2026 12:10:43 -0500 Subject: [PATCH] remove py 3.9 and 3.10 --- .github/workflows/build_python_3.10.yml | 103 ------------------------ .github/workflows/build_python_3.9.yml | 103 ------------------------ 2 files changed, 206 deletions(-) delete mode 100644 .github/workflows/build_python_3.10.yml delete mode 100644 .github/workflows/build_python_3.9.yml diff --git a/.github/workflows/build_python_3.10.yml b/.github/workflows/build_python_3.10.yml deleted file mode 100644 index 0a66945..0000000 --- a/.github/workflows/build_python_3.10.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Build Python 3.10 - -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.10.11" - PYTHON_MAJOR_VERSION: "3.10" - -on: - workflow_dispatch: - pull_request: - -jobs: - build: - runs-on: macos-26 - - steps: - - name: Checkout python repo - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - fetch-depth: 0 - - - name: Install Apple Developer ID Application certificates - uses: apple-actions/import-codesign-certs@b2e261033a9e248f91a9b57201e8d1e12b15a24e # v7.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@b2e261033a9e248f91a9b57201e8d1e12b15a24e # v7.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 \ - --python-version "$PYTHON_VERSION" \ - --installer-id "$DEV_INSTALLER_ID" \ - --application-id "$DEV_APPLICATION_ID" \ - --notary-password "$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@b794d7e4101afb6a8fe5c97eaedaf789d43b1288 # v4.7.0 - with: - myToken: ${{ secrets.GITHUB_TOKEN }} - reverse: 'true' - - - name: Create Release - id: create_release - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 - 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.10.11 - **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. - - ## Security Notice - The python org [does not provide macOS packages for Python 3.10.12 and higher](https://www.python.org/downloads/release/python-31012/). This means that this project cannot use the most recent version of Python 3.10 with all security updates. Proceed with caution when using this release. - - > According to the release calendar specified in PEP 619, Python 3.10 is now in the "security fixes only" stage of its life cycle: the 3.10 branch only accepts security fixes and releases of those are made irregularly in source-only form until October 2026. Python 3.10 isn't receiving regular bug fixes anymore, and binary installers are no longer provided for it. Python 3.10.11 was the last full bugfix release of Python 3.10 with binary installers. - - ## Final Release - **This is the final release of the Python 3.10 framework.** Python 3.10 is in security-fixes-only status and python.org has not published a macOS installer past 3.10.11. Future framework updates will target Python 3.11 and newer. Plan your migration. - - ${{ 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 with a recommended set of libraries for tools like Autopkg, Munki, and InstallApplications. - - ## 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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: packages - path: outputs/ diff --git a/.github/workflows/build_python_3.9.yml b/.github/workflows/build_python_3.9.yml deleted file mode 100644 index 4a11119..0000000 --- a/.github/workflows/build_python_3.9.yml +++ /dev/null @@ -1,103 +0,0 @@ -name: Build Python 3.9 - -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.9.13" - PYTHON_MAJOR_VERSION: "3.9" - -on: - workflow_dispatch: - pull_request: - -jobs: - build: - runs-on: macos-26 - - steps: - - name: Checkout python repo - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - fetch-depth: 0 - - - name: Install Apple Developer ID Application certificates - uses: apple-actions/import-codesign-certs@b2e261033a9e248f91a9b57201e8d1e12b15a24e # v7.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@b2e261033a9e248f91a9b57201e8d1e12b15a24e # v7.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 \ - --python-version "$PYTHON_VERSION" \ - --installer-id "$DEV_INSTALLER_ID" \ - --application-id "$DEV_APPLICATION_ID" \ - --notary-password "$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@b794d7e4101afb6a8fe5c97eaedaf789d43b1288 # v4.7.0 - with: - myToken: ${{ secrets.GITHUB_TOKEN }} - reverse: 'true' - - - name: Create Release - id: create_release - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0 - 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.9.13 - **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. - - ## Security Notice - The python org [does not provide macOS packages for Python 3.9.14 and higher](https://www.python.org/downloads/release/python-3914/). This means that this project cannot use the most recent version of Python 3.9 with all security updates. Proceed with caution when using this release. - - > According to the release calendar specified in PEP 596, Python 3.9 is now in the "security fixes only" stage of its life cycle: the 3.9 branch only accepts security fixes and releases of those are made irregularly in source-only form until October 2025. Python 3.9 isn't receiving regular bug fixes anymore, and binary installers are no longer provided for it. Python 3.9.13 was the last full bugfix release of Python 3.9 with binary installers. - - ## Final Release - **This is the final release of the Python 3.9 framework.** Python 3.9 reached end-of-life in October 2025 and python.org has not published a macOS installer past 3.9.13. Future framework updates will target Python 3.11 and newer. Plan your migration. - - ${{ 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 with a recommended set of libraries for tools like Autopkg, Munki, and InstallApplications. - - ## 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@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: packages - path: outputs/