Skip to content

Commit 1388b0d

Browse files
merge main into dev-milestone (#127)
1 parent 99d66f7 commit 1388b0d

File tree

10 files changed

+45
-34
lines changed

10 files changed

+45
-34
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @ndgrigorian @antonwolfy @xaleryb @ekomarova
1+
* @ndgrigorian @antonwolfy @xaleryb @jharlow-intel

.github/workflows/build-with-clang.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
17-
numpy_version: ["numpy'<2'", "numpy'>=2'"]
16+
python: ["3.10", "3.11", "3.12", "3.13"]
17+
numpy_version: ["numpy'>=2'"]
1818

1919
env:
2020
ONEAPI_ROOT: /opt/intel/oneapi
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Cancel Previous Runs
28-
uses: styfle/cancel-workflow-action@0.12.1
28+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
2929
with:
3030
access_token: ${{ github.token }}
3131

@@ -44,13 +44,13 @@ jobs:
4444
sudo apt-get install intel-oneapi-mkl-devel
4545
4646
- name: Setup Python
47-
uses: actions/setup-python@v6.0.0
47+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4848
with:
4949
python-version: ${{ matrix.python }}
5050
architecture: x64
5151

5252
- name: Checkout repo
53-
uses: actions/checkout@v5.0.0
53+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
5454
with:
5555
fetch-depth: 0
5656

.github/workflows/build_pip.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
20+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
2121
use_pre: ["", "--pre"]
2222

2323
steps:
@@ -27,11 +27,11 @@ jobs:
2727
sudo apt-get install jq
2828
2929
- name: Checkout repo
30-
uses: actions/checkout@v5.0.0
30+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
3131
with:
3232
fetch-depth: 0
3333

34-
- uses: conda-incubator/setup-miniconda@v3.1.1
34+
- uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
3535
with:
3636
use-mamba: true
3737
miniforge-version: latest

.github/workflows/conda-package.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
21+
python: ["3.10", "3.11", "3.12", "3.13"]
2222
steps:
2323
- name: Cancel Previous Runs
2424
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
2525
with:
2626
access_token: ${{ github.token }}
27-
- uses: actions/checkout@v5.0.0
27+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
2828
with:
2929
fetch-depth: 0
3030

@@ -33,7 +33,7 @@ jobs:
3333
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
3434
3535
- name: Cache conda packages
36-
uses: actions/cache@v4
36+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3737
env:
3838
CACHE_NUMBER: 0 # Increase to reset cache
3939
with:
@@ -64,7 +64,7 @@ jobs:
6464
conda-recipe
6565
6666
- name: Upload artifact
67-
uses: actions/upload-artifact@v4.6.2
67+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6868
with:
6969
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
7070
path: ${{ env.CONDA_BLD }}/${{ env.PACKAGE_NAME }}-*.conda
@@ -75,7 +75,7 @@ jobs:
7575

7676
strategy:
7777
matrix:
78-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
78+
python: ["3.10", "3.11", "3.12", "3.13"]
7979
experimental: [false]
8080
runner: [ubuntu-latest]
8181
continue-on-error: ${{ matrix.experimental }}
@@ -84,7 +84,7 @@ jobs:
8484

8585
steps:
8686
- name: Download artifact
87-
uses: actions/download-artifact@v5
87+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
8888
with:
8989
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
9090
- name: Add conda to system path
@@ -111,7 +111,7 @@ jobs:
111111
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
112112
113113
- name: Cache conda packages
114-
uses: actions/cache@v4
114+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
115115
env:
116116
CACHE_NUMBER: 0 # Increase to reset cache
117117
with:
@@ -146,19 +146,19 @@ jobs:
146146

147147
strategy:
148148
matrix:
149-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
149+
python: ["3.10", "3.11", "3.12", "3.13"]
150150
env:
151151
conda-bld: C:\Miniconda\conda-bld\win-64\
152152
steps:
153153
- name: Cancel Previous Runs
154154
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
155155
with:
156156
access_token: ${{ github.token }}
157-
- uses: actions/checkout@v5.0.0
157+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
158158
with:
159159
fetch-depth: 0
160160

161-
- uses: conda-incubator/setup-miniconda@v3
161+
- uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
162162
with:
163163
miniforge-variant: Miniforge3
164164
miniforge-version: latest
@@ -168,7 +168,7 @@ jobs:
168168
python-version: ${{ matrix.python }}
169169

170170
- name: Cache conda packages
171-
uses: actions/cache@v4
171+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
172172
env:
173173
CACHE_NUMBER: 3 # Increase to reset cache
174174
with:
@@ -196,7 +196,7 @@ jobs:
196196
conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
197197
198198
- name: Upload artifact
199-
uses: actions/upload-artifact@v4.6.2
199+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
200200
with:
201201
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
202202
path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
@@ -209,7 +209,7 @@ jobs:
209209
shell: cmd /C CALL {0}
210210
strategy:
211211
matrix:
212-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
212+
python: ["3.10", "3.11", "3.12", "3.13"]
213213
experimental: [false]
214214
runner: [windows-latest]
215215
continue-on-error: ${{ matrix.experimental }}
@@ -219,11 +219,11 @@ jobs:
219219

220220
steps:
221221
- name: Download artifact
222-
uses: actions/download-artifact@v5
222+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
223223
with:
224224
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
225225

226-
- uses: conda-incubator/setup-miniconda@v3
226+
- uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
227227
with:
228228
miniforge-variant: Miniforge3
229229
miniforge-version: latest
@@ -286,7 +286,7 @@ jobs:
286286
run: Get-Content -Path .\lockfile
287287

288288
- name: Cache conda packages
289-
uses: actions/cache@v4
289+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
290290
env:
291291
CACHE_NUMBER: 0 # Increase to reset cache
292292
with:

.github/workflows/openssf-scorecard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636

3737
steps:
3838
- name: "Checkout code"
39-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
39+
uses: actions/checkout@71cf2267d89c5cb81562390fa70a37fa40b1305e # v6.pre.beta
4040
with:
4141
persist-credentials: false
4242

4343
- name: "Run analysis"
44-
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
44+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
4545
with:
4646
results_file: results.sarif
4747
results_format: sarif
@@ -63,14 +63,14 @@ jobs:
6363
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6464
# format to the repository Actions tab.
6565
- name: "Upload artifact"
66-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.4.1
66+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4.4.1
6767
with:
6868
name: SARIF file
6969
path: results.sarif
7070
retention-days: 14
7171

7272
# Upload the results to GitHub's code scanning dashboard.
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.8
74+
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v3.29.8
7575
with:
7676
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [dev] - YYYY-MM-DD
7+
## [dev] (MM/DD/YYYY)
8+
9+
### Added
10+
* Enabled support of Python 3.14 [gh-119](https://github.com/IntelPython/mkl_umath/pull/119)
11+
12+
### Removed
13+
* Dropped support for Python 3.9 [gh-125](https://github.com/IntelPython/mkl_umath/pull/125)
14+
15+
## [0.3.0] - 2025-10-06
816

917
### Added
1018
* Added mkl implementation for floating point data-types of `exp2`, `log2`, `fabs`, `copysign`, `nextafter`, `fmax`, `fmin` and `remainder` functions [gh-81](https://github.com/IntelPython/mkl_umath/pull/81)
@@ -14,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1422

1523
### Changed
1624
* Dropped support for `maximum` and `minimum` [gh-104](https://github.com/IntelPython/mkl_umath/pull/104)
25+
* Disabled `-fast-math` by default [gh-105](https://github.com/IntelPython/mkl_umath/pull/105)
1726
* Used a common umath loop for `log2` function to match NumPy [gh-109](https://github.com/IntelPython/mkl_umath/pull/109)
1827
* Dropped support for `remainder` function [gh-110](https://github.com/IntelPython/mkl_umath/pull/110)
1928

conda-recipe-cf/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "0.3.0dev1" %}
1+
{% set version = "0.4.0dev0" %}
22
{% set buildnumber = 0 %}
33

44
package:

conda-recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ requirements:
2626
- cython
2727
- scikit-build
2828
- python
29+
- python-gil # [py>=314]
2930
- mkl-devel
3031
- tbb-devel
3132
- numpy-base
3233
- wheel >=0.41.3
3334
run:
3435
- python
36+
- python-gil # [py>=314]
3537
- mkl-service
3638
- {{ pin_compatible('intel-cmplr-lib-rt') }}
3739
- {{ pin_compatible('numpy-base') }}

mkl_umath/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.3.0dev1'
1+
__version__ = '0.4.0dev0'

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ classifiers = [
4545
"Programming Language :: C",
4646
"Programming Language :: Python",
4747
"Programming Language :: Python :: 3",
48-
"Programming Language :: Python :: 3.9",
4948
"Programming Language :: Python :: 3.10",
5049
"Programming Language :: Python :: 3.11",
5150
"Programming Language :: Python :: 3.12",
5251
"Programming Language :: Python :: 3.13",
52+
"Programming Language :: Python :: 3.14",
5353
"Programming Language :: Python :: Implementation :: CPython",
5454
"Topic :: Software Development",
5555
"Topic :: Scientific/Engineering",
@@ -64,7 +64,7 @@ keywords = ["mkl_umath"]
6464
license = "BSD-3-Clause"
6565
name = "mkl_umath"
6666
readme = {file = "README.md", content-type = "text/markdown"}
67-
requires-python = ">=3.9,<3.14"
67+
requires-python = ">=3.10,<3.15"
6868

6969

7070
[project.optional-dependencies]

0 commit comments

Comments
 (0)