Skip to content

Commit

Permalink
Merge pull request #779 from pulsar-edit/pin-python-patch
Browse files Browse the repository at this point in the history
[meta] Install Python package `setuptools` && Use Python `3.12.x`
  • Loading branch information
confused-Techie authored Oct 20, 2023
2 parents c572fc1 + 98a65b0 commit da524fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
PYTHON_VERSION: 3.10
PYTHON_VERSION: 3.12
GITHUB_TOKEN: ENCRYPTED[!b0ff4671044672be50914a3a10b49af642bd8e0e681a6f4e5855ec5230a5cf9afbc53d9e90239b8d2c79455f014f383f!]
# The above token, is a GitHub API Token, that allows us to download RipGrep without concern of API limits

Expand Down Expand Up @@ -86,6 +86,7 @@ arm_linux_task:
libnss3
xvfb
- gem install fpm
- python3 -m pip install setuptools
- git submodule init
- git submodule update
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
Expand Down Expand Up @@ -133,6 +134,7 @@ silicon_mac_task:
ROLLING_UPLOAD_TOKEN: ENCRYPTED[690950798401ec3715e9d20ac29a0859d3c58097038081ff6afeaf4721e661672d34eb952d8a6442bc7410821ab8545a]
prepare_script:
- brew install node@16 yarn git python@$PYTHON_VERSION
- python3 -m pip install setuptools
- git submodule init
- git submodule update
- ln -s /opt/homebrew/bin/python$PYTHON_VERSION /opt/homebrew/bin/python
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
# Variables needed for build information
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYTHON_VERSION: '3.11'
PYTHON_VERSION: '3.12'
NODE_VERSION: 16
ROLLING_UPLOAD_TOKEN: ${{ secrets.ROLLING_RELEASE_UPLOAD_TOKEN }}
# Below variables allow us to quickly control visual tests for each platform
Expand Down Expand Up @@ -40,6 +40,9 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python Packages
run: python3 -m pip install setuptools

- name: Setup Git Submodule
run: |
git submodule init
Expand Down

0 comments on commit da524fa

Please sign in to comment.