summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2024-09-17 19:58:42 +0200
committerGitHub <noreply@github.com>2024-09-17 19:58:42 +0200
commit204faa7e41702cf9357cabcde1d9430bc932bf74 (patch)
treee64f6cfc23f5e466f6f7d28e6202ba568b7f0b35 /.github
parent4edb11d058c1f02f27babd390e56caa76bb0e5d4 (diff)
Rejbasket/arm64 python update (#3201)
* python 3.11 needed for binary install wxpython macos arm * added missing geos package for mac arm64
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 06d44177..8b4a1bc5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -295,22 +295,22 @@ jobs:
submodules: recursive
- uses: actions/setup-python@v5
with:
- python-version: '3.9.x'
+ python-version: '3.11.x'
cache: 'pip'
- name: install dependencies
shell: bash
run: |
brew update
- brew install gtk+3 pkg-config gobject-introspection libffi gettext jq gnu-getopt || true
+ brew install gtk+3 pkg-config gobject-introspection geos libffi gettext jq gnu-getopt || true
- export LDFLAGS="-L/usr/local/opt/libffi/lib"
- export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
+ export LDFLAGS="-L/opt/homebrew/opt/libffi/lib"
+ export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
# for msgfmt
- echo "/usr/local/opt/gettext/bin" >> $GITHUB_PATH
+ echo "/opt/homebrew/opt/gettext/bin" >> $GITHUB_PATH
- echo "GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0/" >> $GITHUB_ENV
+ echo "GI_TYPELIB_PATH=/opt/homebrew/lib/girepository-1.0/" >> $GITHUB_ENV
pip install --upgrade pip
pip --version
@@ -322,9 +322,9 @@ jobs:
pip install pandas
pip install pyarrow
# remove and build shapely with brew geos version
- # pip uninstall -y shapely
- # pip cache remove shapely
- # pip install -v shapely --no-binary shapely
+ pip uninstall -y shapely
+ pip cache remove shapely
+ pip install -v shapely --no-binary shapely
pip install pyinstaller