Skip to content
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

Merge 0.13.1dev4 from master to gold #1706

Merged
merged 30 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7180fe5
Unmuted tests from test_mathematical.py scope (#1668)
antonwolfy Feb 2, 2024
c7770fd
Update dpnp.linalg.svd() function (#1604)
vlad-perevezentsev Feb 2, 2024
b46e0f6
Pin conda-build to `3.28.4` version in GitHub action (#1678)
antonwolfy Feb 2, 2024
38a7ca8
update `build_locally.py` (#1677)
vtavana Feb 3, 2024
7c4b39a
Implement sparse and copy arguments for dpnp.mesgrid function (#1675)
npolina4 Feb 3, 2024
d504d7d
Specify permissions in GH Action workflows (#1679)
antonwolfy Feb 3, 2024
22c2367
Add OpenSSF Scorecard badge to README (#1680)
antonwolfy Feb 3, 2024
3c676e7
Adding dependabot file to update GH action versions (#1681)
antonwolfy Feb 4, 2024
da4df67
Add recipe-maintainers list (#1682)
antonwolfy Feb 4, 2024
afd84fb
Bump mshick/add-pr-comment from 2.8.1 to 2.8.2 (#1683)
dependabot[bot] Feb 4, 2024
1528fc6
Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 (#1684)
dependabot[bot] Feb 4, 2024
fcf3fa0
Bump nick-fields/retry from 2.9.0 to 3.0.0 (#1687)
dependabot[bot] Feb 4, 2024
10357cb
Bump mattnotmitt/doxygen-action from 1.9.5 to 1.9.8 (#1685)
dependabot[bot] Feb 4, 2024
ac30e21
Bump github/codeql-action from 3.23.2 to 3.24.0 (#1686)
dependabot[bot] Feb 4, 2024
e7f7a7c
[StepSecurity] ci: Harden GitHub Actions (#1688)
step-security-bot Feb 4, 2024
a002bde
Add `gitleaks` and `shellcheck` to pre-commit configuration (#1689)
antonwolfy Feb 5, 2024
554bcdd
Update docs for array creation functions (#1674)
npolina4 Feb 5, 2024
ac1fca7
update `dpnp.dot` implementation (#1669)
vtavana Feb 6, 2024
b032612
Add support of numpy 1.26.3 (#1690)
antonwolfy Feb 7, 2024
666486f
Pin version of packages installed with pip command (#1696)
antonwolfy Feb 7, 2024
1a3866e
update `dpnp.vdot` implementation (#1692)
vtavana Feb 7, 2024
d45bb24
Improve performance of `dpnp.matmul` and `dpnp.dot` with `out` keywor…
vtavana Feb 8, 2024
1e86753
Update dpnp.linalg.qr() function (#1673)
vlad-perevezentsev Feb 8, 2024
6c99e65
Implement a helper alias template for complex types (#1644)
antonwolfy Feb 8, 2024
2ce997d
Unmute result type tests and modify TypeError/ValueError tests (#1663)
vtavana Feb 8, 2024
0957ddd
Fix memory leak in dpnp_algo_random (#1700)
vlad-perevezentsev Feb 9, 2024
4c7859b
Fix ExecutionPlacementError for dpnp.take_along_axis (#1702)
vlad-perevezentsev Feb 9, 2024
0457fe1
implement `dpnp.tensordot` (#1699)
vtavana Feb 9, 2024
a27200b
Updated CHANGELOG.md for 0.14.0 release (#1703)
antonwolfy Feb 10, 2024
6127741
Merge branch 'master' into merge_to_gold
antonwolfy Feb 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
38 changes: 27 additions & 11 deletions .github/workflows/build-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]

permissions: read-all

env:
GH_BOT_NAME: 'github-actions[bot]'
GH_BOT_EMAIL: 'github-actions[bot]@users.noreply.github.com'
Expand All @@ -25,13 +27,21 @@ jobs:

runs-on: ubuntu-20.04

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write
# Needed to deploy static files to GitHub Pages
contents: write
# Needed to add a comment to a pull request's issue
pull-requests: write

env:
python-ver: '3.9'
CHANNELS: '-c dppy/label/dev -c intel -c conda-forge --override-channels'

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}

Expand All @@ -42,7 +52,7 @@ jobs:
echo "$GITHUB_CONTEXT"

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/[email protected]
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
docker-images: false

Expand Down Expand Up @@ -76,13 +86,13 @@ jobs:
sudo apt-get install -y nvidia-cuda-toolkit clinfo

- name: Checkout repo
uses: actions/[email protected]
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

# https://github.com/marketplace/actions/setup-miniconda
- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ env.python-ver }}
Expand All @@ -93,7 +103,7 @@ jobs:
- name: Install sphinx dependencies
run: |
conda install sphinx sphinx_rtd_theme
pip install sphinxcontrib-googleanalytics
pip install sphinxcontrib-googleanalytics==0.4

- name: Install dpnp dependencies
run: |
Expand Down Expand Up @@ -125,7 +135,7 @@ jobs:

# https://github.com/marketplace/actions/doxygen-action
- name: Build backend docs
uses: mattnotmitt/[email protected].5
uses: mattnotmitt/doxygen-action@cbe72c8e402e8a3faa1f0b247ef90aa6c8e4ce74 # v1.9.8
with:
working-directory: 'dpnp/backend/doc'

Expand All @@ -136,7 +146,7 @@ jobs:
# The step is only used to build docs while pushing a PR to "master"
- name: Deploy docs
if: env.GH_EVENT_PUSH_UPSTREAM
uses: peaceiris/[email protected]
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.PUBLISH_DIR }}
Expand All @@ -149,7 +159,7 @@ jobs:
# The step is only used to build docs while pushing to PR branch
- name: Publish pull-request docs
if: env.GH_EVENT_OPEN_PR_UPSTREAM
uses: peaceiris/[email protected]
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.PUBLISH_DIR }}
Expand All @@ -166,7 +176,7 @@ jobs:
if: env.GH_EVENT_OPEN_PR_UPSTREAM
env:
PR_NUM: ${{ github.event.number }}
uses: mshick/[email protected].1
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
with:
message: |
View rendered docs @ https://intelpython.github.io/dpnp/pull/${{ env.PR_NUM }}/index.html
Expand All @@ -180,10 +190,16 @@ jobs:

needs: build-and-deploy

permissions:
# Needed to remove docs for closed pull request from the repo
contents: write
# Needed to modify a comment in the pull request's issue
pull-requests: write

runs-on: ubuntu-20.04

steps:
- uses: actions/[email protected]
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

Expand All @@ -202,7 +218,7 @@ jobs:
git push tokened_docs gh-pages

- name: Modify the comment with URL to official documentation
uses: mshick/[email protected].1
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
with:
find: |
View rendered docs @.+
Expand Down
42 changes: 24 additions & 18 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- master
pull_request:

permissions: read-all

env:
PACKAGE_NAME: dpnp
MODULE_NAME: dpnp
Expand Down Expand Up @@ -58,6 +60,10 @@ jobs:
python: ['3.9', '3.10', '3.11']
os: [ubuntu-20.04, windows-latest]

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

runs-on: ${{ matrix.os }}

defaults:
Expand All @@ -68,17 +74,17 @@ jobs:

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}

- name: Checkout DPNP repo
uses: actions/[email protected]
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ matrix.python }}
Expand All @@ -96,10 +102,10 @@ jobs:
(echo CONDA_BLD=%CONDA_PREFIX%\conda-bld\win-64\) >> %GITHUB_ENV%

- name: Install conda-build
run: conda install conda-build
run: conda install conda-build=3.28.4

- name: Cache conda packages
uses: actions/cache@v4
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
env:
CACHE_NUMBER: 1 # Increase to reset cache
with:
Expand All @@ -114,7 +120,7 @@ jobs:
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe

- name: Upload artifact
uses: actions/[email protected]
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
Expand Down Expand Up @@ -147,7 +153,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/[email protected]
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
path: ${{ env.pkg-path-in-channel }}
Expand All @@ -158,7 +164,7 @@ jobs:
tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}

- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ matrix.python }}
Expand All @@ -167,7 +173,7 @@ jobs:

# Needed to be able to run conda index
- name: Install conda-build
run: conda install conda-build
run: conda install conda-build=3.28.4

- name: Create conda channel
run: conda index ${{ env.channel-path }}
Expand All @@ -190,7 +196,7 @@ jobs:
TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'

- name: Cache conda packages
uses: actions/cache@v4
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
env:
CACHE_NUMBER: 1 # Increase to reset cache
with:
Expand Down Expand Up @@ -248,7 +254,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/[email protected]
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
path: ${{ env.pkg-path-in-channel }}
Expand All @@ -268,7 +274,7 @@ jobs:
dir ${{ env.extracted-pkg-path }}

- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ matrix.python }}
Expand All @@ -283,7 +289,7 @@ jobs:

# Needed to be able to run conda index
- name: Install conda-build
run: conda install conda-build
run: conda install conda-build=3.28.4

- name: Create conda channel
run: conda index ${{ env.channel-path }}
Expand Down Expand Up @@ -314,7 +320,7 @@ jobs:
run: more lockfile

- name: Cache conda packages
uses: actions/cache@v4
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
env:
CACHE_NUMBER: 1 # Increase to reset cache
with:
Expand Down Expand Up @@ -382,12 +388,12 @@ jobs:

steps:
- name: Download artifact
uses: actions/[email protected]
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}

- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ matrix.python }}
Expand All @@ -410,7 +416,7 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: conda-incubator/[email protected]
- uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
run-post: false
channel-priority: "disabled"
Expand All @@ -421,7 +427,7 @@ jobs:
run: conda install anaconda-client

- name: Checkout repo
uses: actions/[email protected]
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: IntelPython/devops-tools
fetch-depth: 0
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ on:
push:
branches: [master]

permissions: read-all

jobs:
generate-coverage:
name: Generate coverage and push to Coveralls.io
runs-on: ubuntu-20.04

permissions:
# Needed to cancel any previous runs that are not completed for a given workflow
actions: write

defaults:
run:
shell: bash -l {0}
Expand All @@ -19,17 +25,17 @@ jobs:

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}

- name: Checkout repo
uses: actions/[email protected]
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0

- name: Setup miniconda
uses: conda-incubator/[email protected]
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3.0.1
with:
auto-update-conda: true
python-version: ${{ env.python-ver }}
Expand All @@ -54,7 +60,7 @@ jobs:

- name: Build dpnp with coverage
id: build_coverage
uses: nick-fields/retry@v2.9.0
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
with:
shell: bash
timeout_minutes: 60
Expand All @@ -73,7 +79,7 @@ jobs:
- name: Install coverall dependencies
run: |
sudo gem install coveralls-lcov
pip install coveralls==3.2.0
pip install coveralls==3.3.1

- name: Upload coverage data to coveralls.io
run: |
Expand All @@ -96,7 +102,7 @@ jobs:
steps:
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --finish
pip3 install --upgrade coveralls==3.3.1
coveralls --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading