-
Notifications
You must be signed in to change notification settings - Fork 12
Migrate random to pyproject.toml
from setup.py
#62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
36a187e
9711f79
b6a5bb4
40645ad
ff67a36
ce8ca25
c1832ab
6c52bd3
b155c87
f3b3d40
5ee291c
3a59787
1b3437d
0c05403
359fe9d
04e3207
f8b2e7c
41a07e7
7b5a63e
5aabb91
59b354d
a4ba7f2
64bdbe5
5e56f05
2c69830
1294dc7
cfb8e0a
482aa53
af42221
1f4ca6b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: Build mkl_random documentation | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
@@ -34,13 +35,13 @@ jobs: | |
if: ${{ !github.event.pull_request || github.event.action != 'closed' }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
python-version: "3.12" | ||
architecture: x64 | ||
- name: Install sphinx dependencies | ||
if: ${{ !github.event.pull_request || github.event.action != 'closed' }} | ||
shell: bash -l {0} | ||
run: | | ||
pip install numpy cython setuptools scikit-build cmake sphinx sphinx_rtd_theme furo pydot graphviz sphinxcontrib-programoutput sphinxcontrib-googleanalytics sphinx_design | ||
pip install numpy cython setuptools">=77" scikit-build cmake sphinx sphinx_rtd_theme furo pydot graphviz sphinxcontrib-programoutput sphinxcontrib-googleanalytics sphinx_design | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -52,7 +53,7 @@ jobs: | |
run: | | ||
# Ensure that SYCL libraries are on LD_LIBRARY_PATH | ||
source /opt/intel/oneapi/setvars.sh | ||
python setup.py develop | ||
pip install --no-deps --no-build-isolation -e . --verbose | ||
Comment on lines
55
to
+56
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the proposed changes to
there is a bit different instruction. |
||
python -c "import mkl_random; print(mkl_random.__version__)" || exit 1 | ||
sphinx-build -M html docs/source docs/build | ||
mkdir -p ~/rendered_docs | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@rem Remember to source the compiler | ||
|
||
set MKLROOT=%CONDA_PREFIX% | ||
%PYTHON% setup.py install | ||
%PYTHON% -m pip install --no-build-isolation --no-deps . | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to pass There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found that bypassed with setuptools 80.0 where |
||
if errorlevel 1 exit 1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@rem Remember to source the compiler | ||
|
||
set MKLROOT=%CONDA_PREFIX% | ||
%PYTHON% setup.py install | ||
%PYTHON% -m pip install --no-build-isolation --no-deps . | ||
if errorlevel 1 exit 1 |
Uh oh!
There was an error while loading. Please reload this page.