Skip to content

Commit 6444246

Browse files
committed
updating workflows
1 parent d4bc5fc commit 6444246

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@ jobs:
1717
docs:
1818
name: Documentation
1919
runs-on: ubuntu-latest
20+
container:
21+
image: cupy/cupy:v13.4.0
22+
2023
steps:
2124
- uses: actions/checkout@v3
2225

23-
- name: Set up Python
24-
uses: actions/setup-python@v3
25-
with:
26-
python-version: 3.12.0
27-
28-
- name: Set up Python environment
26+
- name: Install system dependencies
2927
run: |
30-
python -m venv venv
31-
source venv/bin/activate
28+
apt-get update && apt-get install -y python3-venv python3-pip
3229
33-
- name: Install dependencies
30+
- name: Install additional dependencies
3431
run: |
32+
python3 -m venv venv
3533
source venv/bin/activate
3634
python -m pip install .
35+
shell: bash -e {0}
3736

3837
- name: Generate documentation
3938
run: |
4039
source venv/bin/activate
4140
cd docs
4241
make html
42+
shell: bash -e {0}
4343

4444
- name: Deploy
4545
if: success()

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fonttools==4.56.0
1717
idna==3.10
1818
imagesize==1.4.1
1919
iniconfig==2.0.0
20-
ipython==9.0.1
20+
ipython==8.33.0
2121
ipython_pygments_lexers==1.1.1
2222
jedi==0.19.2
2323
Jinja2==3.1.5
@@ -46,11 +46,12 @@ pytest==8.3.4
4646
python-dateutil==2.9.0.post0
4747
PyYAML==6.0.2
4848
requests==2.32.3
49+
roman-numerals-py==3.1.0
4950
scipy==1.15.2
5051
setuptools==75.8.0
5152
six==1.17.0
5253
snowballstemmer==2.2.0
53-
Sphinx==8.1.3
54+
Sphinx==8.2.3
5455
sphinx-rtd-theme==3.0.2
5556
sphinxcontrib-applehelp==2.0.0
5657
sphinxcontrib-devhelp==2.0.0

src/pyclassify/eigenvalues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def eigenvalues_cp(A):
8080
This function checks if the input matrix is square and symmetric, then computes its eigenvalues using
8181
CuPy's sparse linear algebra solvers. It uses `eigsh` for more efficient computation.
8282
Remark that the eigsh function in this case does not allow to compute *all* the eigenvalues, but only a number
83-
$m<n$, so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
83+
m<n, so here just a reduced portion is computed (starting form the ones which are greater in magnitude).
8484
8585
Args:
8686
A (cpsp.spmatrix): A square sparse matrix whose eigenvalues are to be computed.

0 commit comments

Comments
 (0)