-
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?
Conversation
14569bf
to
057f53c
Compare
Prevents deprecation warning when building
Already a run dependency
057f53c
to
091f047
Compare
Use no-deps to use oneAPI in environment
@vtavana
did you see this at all with |
pyproject toml
from setup.py
pyproject.toml
from setup.py
5ab1a3c
to
9abf583
Compare
9abf583
to
b9544d8
Compare
@ekomarova |
Also fix formatting in pyproject.toml
Thanks, @ndgrigorian! As soon as there is a tag that includes these changes, I can rebuild mkl_random to include this in the internal recipe |
Co-authored-by: Vahid Tavanashad <[email protected]>
avoids call to deprecated `get_info` from numpy.distutils
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @ndgrigorian!
@@ -52,7 +53,7 @@ jobs: | |||
- name: Install mkl_random dependencies | |||
shell: bash -l {0} | |||
run: | | |||
pip install cython setuptools pytest pytest-cov | |||
pip install cython setuptools">=70.1" wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is setuptools">=77"
in other places. Was it intended to have a bit different dependency?
@@ -52,7 +53,7 @@ jobs: | |||
- name: Install mkl_random dependencies | |||
shell: bash -l {0} | |||
run: | | |||
pip install cython setuptools pytest pytest-cov | |||
pip install cython setuptools">=70.1" wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update docs/source/maintenance/index.rst
also with min setuptools version required?
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on line 56, we have python setup.py develop
should we replace with pip install
like other places?
This PR migrates
mkl_random
topyproject.toml
fromsetup.py
Also adjusts build system, removing
mkl-service
as a test requirement (it was previously added as part of a work-around, which was removed) and moves to usepython -m pip install
in build scripts instead of callingsetup.py
and updates min NumPy version