Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: IntelPython/mkl-service
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.1
Choose a base ref
...
head repository: IntelPython/mkl-service
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.4.2
Choose a head ref

Commits on Feb 12, 2024

  1. Copy the full SHA
    18c0627 View commit details
  2. Linter changes, update copyright year

    Moved test_get_version and test_get_version_string to the end of
    the test file with comment for why.
    
    Expanded return statuses from cbwr_set which we do not consider
    test failure, with comment added.
    oleksandr-pavlyk committed Feb 12, 2024
    Copy the full SHA
    204c059 View commit details

Commits on Feb 20, 2024

  1. Copy the full SHA
    e32e3ba View commit details

Commits on Sep 5, 2024

  1. Copy the full SHA
    740dbb8 View commit details
  2. Merge pull request #37 from ekomarova/update_readme

    Replace the outdated anaconda intel channel with the current one
    oleksandr-pavlyk authored Sep 5, 2024
    Copy the full SHA
    96e4b96 View commit details

Commits on Sep 10, 2024

  1. Copy the full SHA
    08a1efc View commit details
  2. Add codeonwers file

    oleksandr-pavlyk committed Sep 10, 2024
    Copy the full SHA
    4635bac View commit details
  3. Add dependabot file

    oleksandr-pavlyk committed Sep 10, 2024
    Copy the full SHA
    2dd46d1 View commit details
  4. Copy the full SHA
    2bccde3 View commit details
  5. Copy the full SHA
    fdcc87c View commit details
  6. Copy the full SHA
    efc4dc3 View commit details
  7. Copy the full SHA
    0e6491c View commit details
  8. Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.1

    Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.1.
    - [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
    - [Commits](styfle/cancel-workflow-action@0.11.0...0.12.1)
    
    ---
    updated-dependencies:
    - dependency-name: styfle/cancel-workflow-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 10, 2024
    Copy the full SHA
    13a806a View commit details

Commits on Sep 23, 2024

  1. Merge pull request #39 from IntelPython/dependabot/github_actions/sty…

    …fle/cancel-workflow-action-0.12.1
    
    Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.1
    oleksandr-pavlyk authored Sep 23, 2024
    Copy the full SHA
    36aeedf View commit details
  2. Copy the full SHA
    f3aa51b View commit details
  3. Copy the full SHA
    d916e35 View commit details
  4. Merge pull request #40 from IntelPython/fix-readme-add-openssf-scorec…

    …ard-workflow
    
    Fix readme add openssf scorecard workflow
    oleksandr-pavlyk authored Sep 23, 2024
    Copy the full SHA
    d062f4d View commit details

Commits on Sep 30, 2024

  1. Bump github/codeql-action from 3.26.8 to 3.26.9

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.9.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@294a9d9...461ef6c)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 30, 2024
    Copy the full SHA
    8f83026 View commit details

Commits on Oct 1, 2024

  1. Merge pull request #41 from IntelPython/dependabot/github_actions/git…

    …hub/codeql-action-3.26.9
    
    Bump github/codeql-action from 3.26.8 to 3.26.9
    oleksandr-pavlyk authored Oct 1, 2024
    Copy the full SHA
    729c292 View commit details

Commits on Oct 7, 2024

  1. Bump github/codeql-action from 3.26.9 to 3.26.11

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.11.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@461ef6c...6db8d63)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 7, 2024
    Copy the full SHA
    511b36a View commit details

Commits on Oct 11, 2024

  1. Update version

    Picks up a change to tests, updates to installation instructions,
    fixes in Cython code per warnings after update to Cython 3
    oleksandr-pavlyk committed Oct 11, 2024
    Copy the full SHA
    52af5e4 View commit details
  2. Merge pull request #42 from IntelPython/dependabot/github_actions/git…

    …hub/codeql-action-3.26.11
    
    Bump github/codeql-action from 3.26.9 to 3.26.11
    oleksandr-pavlyk authored Oct 11, 2024
    Copy the full SHA
    352ebc8 View commit details
  3. Copy the full SHA
    98818d8 View commit details
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* @oleksandr-pavlyk
* @ekomarova
* @xaleryb
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"
2 changes: 1 addition & 1 deletion .github/workflows/build-with-clang.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

20 changes: 10 additions & 10 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0

@@ -43,7 +43,7 @@ jobs:
run: conda install conda-build
- name: Build conda package
run: |
CHANNELS="-c conda-forge -c intel --override-channels"
CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels"
VERSIONS="--python ${{ matrix.python }}"
TEST="--no-test"
@@ -53,21 +53,21 @@ jobs:
$CHANNELS \
conda-recipe
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2

build_windows:
runs-on: windows-latest
runs-on: windows-2019

strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12']
env:
conda-bld: C:\Miniconda\conda-bld\win-64\
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
@@ -89,9 +89,9 @@ jobs:
- name: Install conda-build
run: conda install conda-build
- name: Build conda package
run: conda build --no-test --python ${{ matrix.python }} -c intel -c conda-forge --override-channels conda-recipe
run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
path: ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -107,7 +107,7 @@ jobs:
runner: [ubuntu-latest]
continue-on-error: ${{ matrix.experimental }}
env:
CHANNELS: -c conda-forge -c intel --override-channels
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels

steps:
- name: Download artifact
@@ -171,10 +171,10 @@ jobs:
matrix:
python: ['3.9', '3.10', '3.11', '3.12']
experimental: [false]
runner: [windows-latest]
runner: [windows-2019]
continue-on-error: ${{ matrix.experimental }}
env:
CHANNELS: -c conda-forge -c intel --override-channels
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels

steps:
- name: Download artifact
74 changes: 74 additions & 0 deletions .github/workflows/openssf-scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: Scorecard supply-chain security
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '28 2 * * 1'
- cron: '28 2 * * 4'
push:
branches: [ "master" ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
# Uncomment the permissions below if installing in a private repository.
# contents: read
# actions: read

steps:
- name: "Checkout code"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecard on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
# repo_token: ${{ secrets.SCORECARD_TOKEN }}

# Public repositories:
# - Publish results to OpenSSF REST API for easy access by consumers
# - Allows the repository to include the Scorecard badge.
# - See https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories:
# - `publish_results` will always be set to `false`, regardless
# of the value entered here.
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: SARIF file
path: results.sarif
retention-days: 14

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
with:
sarif_file: results.sarif
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# ``mkl-service`` - Python package for run-time control of Intel(R) Math Kernel Library.
[![Build Status](https://travis-ci.com/IntelPython/mkl-service.svg?branch=master)](https://travis-ci.com/IntelPython/mkl-service)
[![Conda package](https://github.com/IntelPython/mkl-service/actions/workflows/conda-package.yml/badge.svg)](https://github.com/IntelPython/mkl-service/actions/workflows/conda-package.yml)
[![Build mkl-service with clang](https://github.com/IntelPython/mkl-service/actions/workflows/build-with-clang.yml/badge.svg)](https://github.com/IntelPython/mkl-service/actions/workflows/build-with-clang.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/IntelPython/mkl-service/badge)](https://securityscorecards.dev/viewer/?uri=github.com/IntelPython/mkl-service)

See the [blog](https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html) announcing the release.

---

To install conda package, use `conda install -c intel mkl-service`, or `conda install -c conda-forge mkl-service`.
To install conda package, use `conda install -c https://software.repos.intel.com/python/conda/ mkl-service`, or `conda install -c conda-forge mkl-service`.

To install pypi package, use `python -m pip install mkl-service`.

2 changes: 1 addition & 1 deletion conda-recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@
@rem Remember to activate compiler, if needed

set MKLROOT=%CONDA_PREFIX%
%PYTHON% setup.py build --force install --old-and-unmanageable
%PYTHON% setup.py install
if errorlevel 1 exit 1
2 changes: 1 addition & 1 deletion conda-recipe/build.sh
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@

# make sure that compiler has been sourced, if necessary

MKLROOT=$CONDA_PREFIX $PYTHON setup.py build --force install --old-and-unmanageable
MKLROOT=$CONDA_PREFIX $PYTHON setup.py install
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "2.4.1" %}
{% set version = "2.4.2" %}
{% set buildnumber = 0 %}

package:
4 changes: 2 additions & 2 deletions mkl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2019, Intel Corporation
# Copyright (c) 2018-2024, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -54,4 +54,4 @@ def __exit__(self, *args):
from ._py_mkl_service import *


__version__ = '2.4.1'
__version__ = '2.4.2'
2 changes: 1 addition & 1 deletion mkl/_mkl_service.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2019, Intel Corporation
# Copyright (c) 2018-2024, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
Loading