From 695d97191c95ffed1f0cb95fcbd3b98914bc2bfd Mon Sep 17 00:00:00 2001 From: Omkar Phansopkar Date: Sat, 17 Feb 2024 12:29:47 +0530 Subject: [PATCH 1/2] Added macos arm build to github actions release Signed-off-by: Omkar Phansopkar --- .github/workflows/Release.yml | 4 ++-- .github/workflows/docs-ci.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 361940ad..370bd206 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -38,13 +38,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest, macos-14] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@master - uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.12.0 - uses: actions/setup-node@master with: node-version: 16.13.0 diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index 9785e8eb..a83f204f 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -12,7 +12,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.9] + python-version: [3.12.0] steps: - name: Checkout code From fe6bc1c41e65d89a4d789ffca0fdf20b8ffd894e Mon Sep 17 00:00:00 2001 From: Omkar Phansopkar Date: Sat, 17 Feb 2024 12:49:31 +0530 Subject: [PATCH 2/2] Updated deprecated node & python versions in docs & CI Signed-off-by: Omkar Phansopkar --- .github/workflows/Release.yml | 6 +++--- .github/workflows/Test.yml | 7 +++---- .github/workflows/docs-ci.yml | 2 +- docs/source/contribute/building.rst | 18 +++++++++--------- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 370bd206..295a9844 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -12,7 +12,7 @@ jobs: name: Create Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 # - name: Exit if tag not is not pointing to a commit in master branch # if: endsWith(github.ref, 'master') == false # run: exit -1 @@ -41,13 +41,13 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest, macos-14] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.12.0 - uses: actions/setup-node@master with: - node-version: 16.13.0 + node-version: 20 - name: Install dependencies run: npm install - name: Create release assets directory diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 38cb4d95..dc8dd680 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -11,15 +11,14 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@master with: node-version: ${{ matrix.node-version }} - cache: "npm" - run: npm install - run: npm test diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index a83f204f..0428544c 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/docs/source/contribute/building.rst b/docs/source/contribute/building.rst index 21fa7b8f..a95dcda7 100644 --- a/docs/source/contribute/building.rst +++ b/docs/source/contribute/building.rst @@ -29,18 +29,18 @@ Building Requirements Linux ----- -- `Python `__ v3.7 or later -- `Node.js `__ 14.x or later -- `npm `__ v6.14.4 or later +- `Python `__ v3.9 or later +- `Node.js `__ 16.x or later +- `npm `__ v8.x or later .. include:: ../rst_snippets/centos-note.rst MacOS ----- -- `Python `__ v3.7 or later -- `Node.js `__ 14.x or later -- `npm `__ v6.14.4 or later +- `Python `__ v3.9 or later +- `Node.js `__ 16.x or later +- `npm `__ v8.x or later - Command Line Tools for `Xcode `_ Install using: @@ -51,7 +51,7 @@ MacOS Windows ------- -- `Python `__ v3.7 or later +- `Python `__ v3.9 or later * Make sure your Python path is set. To verify, open a command prompt and see the python version: @@ -59,8 +59,8 @@ Windows python --version -- `Node.js `__ v14.x or later -- `npm `__ v6.14.4 or later +- `Node.js `__ v16.x or later +- `npm `__ v8.x or later Release Instructions