Combined dependabot and docklib PRs (#30)
* Combined dependabot and docklib PRs * Update requests to 2.25.1 * Add additional debug output when archs do not match * Update PyYAML to 5.4.1 * Update Python to 3.9.5 * Update github action to do python 3.9.5 * Fix MACOS_VERSION name as they now use 11 upstream instead of 11.0 * Trying minimal to confirm that works * First stab at updating all recommended libs, will need another pr * Fix lib versions * Requests was unhappy with idna 3, reverting to 2.x * Revert pyobjc to 7.0.1 * force compilation for items that lack a universal binary * bad copy pasta * Update release description * Only create a release and upload signed packages if on main * try some more fixes Co-authored-by: erikg <e@eriknicolasgomez.com>
This commit is contained in:
+37
-6
@@ -3,7 +3,7 @@ name: Build and upload recommended package
|
||||
env:
|
||||
TYPE: "recommended"
|
||||
DEV_ID: "Developer ID Installer: Clever DevOps Co. (9GQZ7KUFR6)"
|
||||
PYTHON_VERSION: "3.9.1"
|
||||
PYTHON_VERSION: "3.9.5"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -36,6 +36,7 @@ jobs:
|
||||
run: ./build_python_framework_pkgs.zsh "$TYPE" "$DEV_ID" "$PYTHON_VERSION" "${BUILD_DATE}"
|
||||
|
||||
- name: Create Release
|
||||
if: github.ref == 'refs/heads/main'
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
@@ -45,12 +46,39 @@ jobs:
|
||||
release_name: Python ${{env.PYTHON_VERSION}} (${{env.BUILD_DATE_RELEASE}})
|
||||
body: |
|
||||
# Notes
|
||||
Python 3.9.1 Framework
|
||||
Python 3.9.5 Framework
|
||||
|
||||
## Changes
|
||||
- Universal build! Now supports Apple M1 Machines
|
||||
- Upgraded Python to 3.9.1
|
||||
- pyobjc is now 7.0.1
|
||||
- Upgraded Python to 3.9.5
|
||||
- Updated the following libraries:
|
||||
- attrs to 21.2.0
|
||||
- black to 21.6b0
|
||||
- certifi to 2021.05.30
|
||||
- cffi to 1.14.5
|
||||
- cfgv to 3.3.0
|
||||
- distlib to 0.3.2
|
||||
- docklib to 1.3.0
|
||||
- flake8-bugbear to 21.4.3
|
||||
- flake8 to 3.9.2
|
||||
- identify to 2.2.10
|
||||
- importlib-metadata to 4.6.1
|
||||
- isort to 5.9.2
|
||||
- nodeenv to 1.6.0
|
||||
- packaging to 21.0
|
||||
- pathspec to 0.8.1
|
||||
- pre-commit to 2.13.0
|
||||
- pycodestyle to 2.7.0
|
||||
- pyflakes to 2.3.1
|
||||
- PyYAML to 5.4.1
|
||||
- regex to 2021.7.6
|
||||
- requests to 2.25.1
|
||||
- six to 1.16.0
|
||||
- tokenize-rt to 4.1.0
|
||||
- toml to 0.10.2
|
||||
- typed-ast to 1.4.3
|
||||
- urllib3 to 1.26.6
|
||||
- virtualenv to 20.0.27
|
||||
- zipp to 3.5.0
|
||||
|
||||
# Flavors of Python
|
||||
At this time, the automated build process will **only** create the Recommended package
|
||||
@@ -61,6 +89,7 @@ jobs:
|
||||
prerelease: true
|
||||
|
||||
- name: Upload Unsigned Package Release Asset
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -71,6 +100,7 @@ jobs:
|
||||
asset_content_type: application/x-newton-compatible-pkg
|
||||
|
||||
- name: Upload Signed Package Release Asset
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -81,6 +111,7 @@ jobs:
|
||||
asset_content_type: application/x-newton-compatible-pkg
|
||||
|
||||
- name: Upload Python Framework Release Asset
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -91,7 +122,7 @@ jobs:
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Upload packages
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: packages
|
||||
path: outputs/
|
||||
Reference in New Issue
Block a user