Skip to content

Commit

Permalink
Merge branch 'main' into 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Sep 9, 2024
2 parents 47267d4 + e742508 commit 1c95705
Show file tree
Hide file tree
Showing 6 changed files with 3,000 additions and 63 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@v4.1.7

- name: Set up Python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
# Appending -dev ensures that we can always build the dev release.
# It's a no-op for versions that have been published.
Expand All @@ -115,7 +115,7 @@ jobs:
make ${{ matrix.target }} BUILD_NUMBER=${{ needs.config.outputs.BUILD_NUMBER }}
- name: Upload build artefacts
uses: actions/upload-artifact@v4.3.5
uses: actions/upload-artifact@v4.4.0
with:
name: Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.target }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz
path: dist/Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.target }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz
Expand All @@ -125,20 +125,15 @@ jobs:
with:
repository: beeware/Python-support-testbed
path: Python-support-testbed
# TODO - remove the py3.13 reference option.
ref: py3.13-support

- name: Install dependencies
if: matrix.run-tests
run: |
# TODO - Revert to the development version of Briefcase
# Use the development version of Briefcase
# python -m pip install git+https://github.com/beeware/briefcase.git
python -m pip install git+https://github.com/freakboy3742/briefcase.git@version-bumps
python -m pip install git+https://github.com/beeware/briefcase.git
- name: Run support testbed check
if: matrix.run-tests
timeout-minutes: 10
working-directory: Python-support-testbed
# TODO - remove the template_branch option.
run: briefcase run ${{ matrix.target }} Xcode --test ${{ matrix.briefcase-run-args }} -C support_package=\'../dist/Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.target }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz\' -C template_branch=\'framework-lib\'
run: briefcase run ${{ matrix.target }} Xcode --test ${{ matrix.briefcase-run-args }} -C support_package=\'../dist/Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.target }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz\'
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python environment
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.X"

Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ PYTHON_VER=$(basename $(PYTHON_VERSION))
# https://github.com/beeware/cpython-apple-source-deps/releases
BZIP2_VERSION=1.0.8-1
LIBFFI_VERSION=3.4.6-1
OPENSSL_VERSION=3.0.14-1
XZ_VERSION=5.4.7-1
OPENSSL_VERSION=3.0.15-1
XZ_VERSION=5.6.2-1

# Supported OS
OS_LIST=macOS iOS tvOS watchOS
Expand Down Expand Up @@ -151,7 +151,7 @@ downloads/bzip2-$(BZIP2_VERSION)-$(target).tar.gz:
$$(BZIP2_LIB-$(target)): downloads/bzip2-$(BZIP2_VERSION)-$(target).tar.gz
@echo ">>> Install BZip2 for $(target)"
mkdir -p $$(BZIP2_INSTALL-$(target))
cd $$(BZIP2_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/bzip2-$(BZIP2_VERSION)-$(target).tar.gz
cd $$(BZIP2_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/bzip2-$(BZIP2_VERSION)-$(target).tar.gz --exclude="*.dylib"
# Ensure the target is marked as clean.
touch $$(BZIP2_LIB-$(target))

Expand All @@ -171,7 +171,7 @@ downloads/xz-$(XZ_VERSION)-$(target).tar.gz:
$$(XZ_LIB-$(target)): downloads/xz-$(XZ_VERSION)-$(target).tar.gz
@echo ">>> Install XZ for $(target)"
mkdir -p $$(XZ_INSTALL-$(target))
cd $$(XZ_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/xz-$(XZ_VERSION)-$(target).tar.gz
cd $$(XZ_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/xz-$(XZ_VERSION)-$(target).tar.gz --exclude="*.dylib"
# Ensure the target is marked as clean.
touch $$(XZ_LIB-$(target))

Expand All @@ -191,7 +191,7 @@ downloads/openssl-$(OPENSSL_VERSION)-$(target).tar.gz:
$$(OPENSSL_SSL_LIB-$(target)): downloads/openssl-$(OPENSSL_VERSION)-$(target).tar.gz
@echo ">>> Install OpenSSL for $(target)"
mkdir -p $$(OPENSSL_INSTALL-$(target))
cd $$(OPENSSL_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/openssl-$(OPENSSL_VERSION)-$(target).tar.gz
cd $$(OPENSSL_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/openssl-$(OPENSSL_VERSION)-$(target).tar.gz --exclude="*.dylib"
# Ensure the target is marked as clean.
touch $$(OPENSSL_SSL_LIB-$(target))

Expand All @@ -216,7 +216,7 @@ downloads/libffi-$(LIBFFI_VERSION)-$(target).tar.gz:
$$(LIBFFI_LIB-$(target)): downloads/libffi-$(LIBFFI_VERSION)-$(target).tar.gz
@echo ">>> Install libFFI for $(target)"
mkdir -p $$(LIBFFI_INSTALL-$(target))
cd $$(LIBFFI_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/libffi-$(LIBFFI_VERSION)-$(target).tar.gz
cd $$(LIBFFI_INSTALL-$(target)) && tar zxvf $(PROJECT_DIR)/downloads/libffi-$(LIBFFI_VERSION)-$(target).tar.gz --exclude="*.dylib"
# Ensure the target is marked as clean.
touch $$(LIBFFI_LIB-$(target))

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Python Apple Support
This is a meta-package for building a version of Python that can be embedded
into a macOS, iOS, tvOS or watchOS project.

**This branch builds a packaged version of Python 3.10.13**.
**This branch builds a packaged version of Python 3.10**.
Other Python versions are available by cloning other branches of the main
repository:

Expand Down
Loading

0 comments on commit 1c95705

Please sign in to comment.