Skip to content

Commit

Permalink
chore: update numpy version (#672)
Browse files Browse the repository at this point in the history
* chore: update numpy version

* chore: update github action workflow
  • Loading branch information
longxiaofei authored Feb 24, 2025
1 parent 4ca4c34 commit 5ed3537
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/auto-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand All @@ -36,7 +36,7 @@ jobs:
chmod u+x ./scripts/compile.sh
./scripts/compile.sh
- name: Uploading dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pygwalker-app
path: ./pygwalker/templates/dist/*
Expand All @@ -52,9 +52,9 @@ jobs:

runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download PyGWalkerApp
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: build-py
with:
name: pygwalker-app
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Try Running
working-directory: ./tests/
run: |
pip install ipykernel nbconvert "pandas<=2.0.3" polars
pip install ipykernel nbconvert pandas polars
python -m ipykernel install --name python --user
jupyter kernelspec list
jupyter nbconvert --execute --ExecutePreprocessor.kernel_name=python --to html *.ipynb
Expand All @@ -91,7 +91,7 @@ jobs:
pip install pytest
pytest tests
- name: Uploading notebooks
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ matrix.python-version == '3.12' && matrix.os-version == 'ubuntu-latest' }}
with:
name: notebook
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand All @@ -30,7 +30,7 @@ jobs:
./scripts/compile.sh
- name: Uploading dist
if: ${{ matrix.node-version == '16.x' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pygwalker-app
path: ./pygwalker/templates/dist/*
Expand All @@ -46,9 +46,9 @@ jobs:

runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download PyGWalkerApp
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: pygwalker-app
path: ./pygwalker/templates/dist
Expand All @@ -63,7 +63,7 @@ jobs:
python -m build .
- name: Uploading packages
if: ${{ matrix.python-version == '3.12' && matrix.os-version == 'ubuntu-latest' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pygwalker
path: ./dist/*
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"kanaries_track==0.0.5",
"cachetools",
"packaging",
"numpy<2.0.0",
"numpy",
"ipylab<=1.0.0",
"quickjs",
"traitlets",
Expand Down

0 comments on commit 5ed3537

Please sign in to comment.