Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
5925e21
CI enable coverage on unix repo
tomMoral Mar 27, 2019
981393e
add gitignore
jeremiedbb Mar 27, 2019
01158ae
new line
jeremiedbb Mar 27, 2019
dab6725
Merge pull request #3 from jeremiedbb/gitignore
ogrisel Mar 27, 2019
ef3a4b4
ENH improve threadpool_limits ctx manager overhead (#2)
ogrisel Mar 27, 2019
e173b31
Fix in benchmark script
ogrisel Mar 27, 2019
f8c3869
Cache system libraries lookups
ogrisel Mar 27, 2019
3504afa
CI fix coverage reports for conda based builds (#5)
tomMoral Mar 28, 2019
f514e13
Merge pull request #4 from ogrisel/optim-cache-libc
ogrisel Mar 28, 2019
3d02c31
CLN single module project (#9)
ogrisel Mar 29, 2019
949af6b
Use flit to build the project and generate the wheel
ogrisel Mar 29, 2019
23b998f
Fix and improve README.md
ogrisel Mar 29, 2019
4308b51
Remove useless file
ogrisel Mar 29, 2019
26810c2
cosmit
ogrisel Mar 29, 2019
f3d4c44
Merge pull request #11 from ogrisel/do-not-include-tests-in-wheel
ogrisel Mar 29, 2019
fecd893
Refactoring to introduce threadpool_info
ogrisel Mar 30, 2019
a82b414
Fix handling of num_threads > 1 in tests
ogrisel Mar 30, 2019
20046d5
Special case interaction between libiomp and MKL
ogrisel Mar 31, 2019
ccf7e4c
Fix prefix filtering logic in test
ogrisel Mar 31, 2019
d56f64f
More informative readme
ogrisel Mar 31, 2019
5ec2a71
Add test for threadpool_limits used as a function with side effects
ogrisel Mar 31, 2019
e05ae8b
Various small private API improvements to simplify code and increase …
ogrisel Mar 31, 2019
a6acd86
Add test for manual unregister
ogrisel Mar 31, 2019
4b36e64
Avoid warnings in Windows CI logs
ogrisel Mar 31, 2019
2724796
Add test to cover the limits=None case
ogrisel Mar 31, 2019
70c9946
Simplify private API of _set_threadpool_limits
ogrisel Mar 31, 2019
8f0a8af
Merge pull request #12 from ogrisel/threadpool_info
ogrisel Mar 31, 2019
327ce26
Update API in benchmark
ogrisel Mar 31, 2019
3aea850
Fix formatting of README.md
ogrisel Mar 31, 2019
47e3e3f
Improve CI configuration
ogrisel Mar 31, 2019
34d27d2
Improve project metadata
ogrisel Mar 31, 2019
dab26b7
Merge pull request #13 from ogrisel/ci-improvements
ogrisel Mar 31, 2019
df55e83
Use the Azure pipeline from the joblib org
ogrisel Apr 25, 2019
57979da
[MRG] make it possible to protect against oversubsription for various…
ogrisel Jun 3, 2019
862d069
Python 2 is not tested hence not supported
ogrisel Jun 3, 2019
f1b5e47
Release 1.0.0
ogrisel Jun 3, 2019
7b2cd9c
add pytest_cache to gitignore (#24)
jeremiedbb Jul 18, 2019
c855827
CI: Try to use conda-forge compilers on macOS (#29)
jeremiedbb Sep 9, 2019
93c8b9c
[MRG] ENH Add BLIS support (#23)
jeremiedbb Sep 9, 2019
683d0e2
Fully disable threading of BLIS to improve coverage (#30)
jeremiedbb Sep 11, 2019
96fa9b5
remove unnecessary llvm-openmp (#31)
jeremiedbb Sep 12, 2019
fa3263a
MAINT: Fix + Refactor get_original_num_threads & add a test (#32)
jeremiedbb Sep 12, 2019
b7b0be3
[MRG] Support libraries linked to symlinks (#34)
jeremiedbb Sep 12, 2019
88be98b
Prepare the 1.1.0 release (#35)
ogrisel Sep 12, 2019
ab7b2e6
Better changelog
ogrisel Sep 12, 2019
f6e6538
Back to dev mode
ogrisel Sep 13, 2019
e8c9dc6
Give credits to smp in README.md
ogrisel Sep 13, 2019
4476025
[MRG] install llvm-openmp in macOS conda-forge job again (#39)
jeremiedbb Sep 25, 2019
c6deb9c
[MRG] UNIX: dlopen with RTLD_NOLOAD flag (#42)
jeremiedbb Oct 22, 2019
2a56bbb
Fix indentation level
ogrisel Oct 22, 2019
af7d7fd
CI use recent gcc version to build Blis under Linux (#46)
ogrisel Oct 23, 2019
706b85f
expose threading layer of mkl
jeremiedbb Oct 24, 2019
4ebace5
add a test and explicitly set the threading layer in a ci job
jeremiedbb Oct 25, 2019
9d81b07
cln
jeremiedbb Oct 25, 2019
b7fa4e8
[MRG] CI: add linting to one of the ci jobs (#50)
jeremiedbb Oct 25, 2019
f51ddaf
Merge remote-tracking branch 'upstream/master' into mkl-threading-layer
jeremiedbb Nov 6, 2019
91dfa97
add change log entry
jeremiedbb Nov 6, 2019
2e5f20f
pin python version when installing from pip
jeremiedbb Nov 6, 2019
82e42a5
CI: Pin Python version when installing with pip (#51)
jeremiedbb Nov 6, 2019
7ee10c5
merge master
jeremiedbb Nov 6, 2019
f8ba6a6
ENH: expose threading layer of MKL (#48)
jeremiedbb Nov 6, 2019
c61a40d
trigger ci
jeremiedbb Nov 13, 2019
c6e5a62
apt-get update
jeremiedbb Nov 13, 2019
99c37e5
CI Fix missing apt-get update on azure #54
jeremiedbb Nov 13, 2019
712804e
huge refactor
jeremiedbb Nov 14, 2019
8b693b6
MNT TST clean unused legacy pytest fixtures (#52)
jeremiedbb Nov 14, 2019
1c332e5
merge master
jeremiedbb Nov 14, 2019
f38ff0d
don't try to cover abstract methods
jeremiedbb Nov 14, 2019
7c66f55
[MRG] MNT CI Make pytest ignore _openmp_test_helper when discovering …
jeremiedbb Nov 17, 2019
3de325f
MNT CI Add a meta-test ensuring no test is always skipped (#57)
jeremiedbb Nov 20, 2019
cb97cab
class methods
jeremiedbb Nov 21, 2019
8d06aaf
from dict subclassing to todict method
jeremiedbb Nov 22, 2019
b5d6492
cln
jeremiedbb Nov 22, 2019
bb69a46
merge master
jeremiedbb Nov 22, 2019
4a89b6c
add test for consistency between function and module
jeremiedbb Nov 22, 2019
04c6d10
more verbose meta-test + distinguish between skip and other records
jeremiedbb Nov 22, 2019
32c033b
break loop
jeremiedbb Nov 22, 2019
1e27bdf
[MRG] MNT use new syntax to select blas with conda (#58)
jeremiedbb Nov 22, 2019
d829ca7
Merge remote-tracking branch 'upstream/master' into huge-refactor
jeremiedbb Nov 22, 2019
4e2c2cd
Merge branch 'fix-meta-test' into huge-refactor
jeremiedbb Nov 22, 2019
98f3676
trigger ci
jeremiedbb Nov 22, 2019
5aaa00e
address comments
jeremiedbb Nov 22, 2019
8ead8f4
[MRG] MNT Fix meta-test distinguish skipped from other records (#59)
jeremiedbb Nov 22, 2019
0fd9071
avoid redundant info + remove module class attributes + fix todict
jeremiedbb Nov 25, 2019
94e1a77
better tests for todict(s) methods
jeremiedbb Nov 27, 2019
2f2097e
merge master
jeremiedbb Nov 27, 2019
2495831
infos -> info
jeremiedbb Nov 27, 2019
a61b05e
infos -> info
jeremiedbb Nov 27, 2019
e2beab6
address comment
jeremiedbb Nov 27, 2019
6aad6fb
debug
jeremiedbb Nov 27, 2019
00928ba
debug
jeremiedbb Nov 27, 2019
783fd0e
debug finished
jeremiedbb Nov 27, 2019
fe0759a
tst win blas
jeremiedbb Nov 27, 2019
9b80f66
tst
jeremiedbb Nov 27, 2019
11aa712
rev tst
jeremiedbb Nov 28, 2019
ad4ef3b
missing docstring format
jeremiedbb Nov 28, 2019
0b2dba0
MNT Big refactoring (#55)
ogrisel Nov 28, 2019
41db9d1
turn warnings into errors + some clean up
jeremiedbb Dec 4, 2019
febc707
ccomment on the warning filter
jeremiedbb Dec 5, 2019
a0e172b
more precise comment
jeremiedbb Dec 5, 2019
5c7ebf4
Merge pull request #61 from jeremiedbb/error-warnings
ogrisel Dec 5, 2019
95ff6d0
ENH add threading layer for BLIS and OpenBLAS (#60)
jeremiedbb Dec 5, 2019
59e45f6
[MRG] Warn when llvm + intel loaded at the same time (#49)
jeremiedbb Dec 5, 2019
c7b958d
bump version (#62)
jeremiedbb Dec 5, 2019
61bc943
bump version
jeremiedbb Dec 5, 2019
90ac5ff
DOC improve the multiple OpenMP runtimes doc (#63)
ogrisel Dec 6, 2019
2109252
[MRG] Simple Command Line Interface (#65)
ogrisel Jan 15, 2020
9d83dfc
Use the CLI instead of continuous_integration/display_versions.py (#66)
ogrisel Jan 16, 2020
006bad6
Release 2.1.0
ogrisel May 29, 2020
701d691
Back to dev mode
ogrisel May 29, 2020
a581aeb
MNT Update macOS Image on azure pipelines (#72)
jeremiedbb Jun 3, 2020
aa3ea23
MNT upgrade pip in CI (#73)
jeremiedbb Jun 3, 2020
ce2a2d9
[MRG] Rework test_openmp_nesting to be conda-forge friendly (#74)
jeremiedbb Jun 5, 2020
7ba7e09
fix python executable in tests (#75)
MeggyCal Sep 3, 2020
32037cf
add license to metadata (#79)
jeremiedbb Oct 1, 2020
befb5ca
FIX typo operationg -> operating (#80)
ashutoshvarma Jan 5, 2021
16807d2
[MRG] Fix compilation with clang and flake8 install in CI (#83)
jeremiedbb Apr 15, 2021
875a0fd
Update Python versions (3.6 min) (#86)
ogrisel Jul 9, 2021
1726282
Add OpenBLAS corename detection (#85)
ogrisel Jul 9, 2021
9171dce
FIX use more reliable naming syntax for MKL version (#82)
jeremiedbb Jul 9, 2021
ee7fad8
Release 2.2.0
ogrisel Jul 9, 2021
b14f1e8
Back to dev mode
ogrisel Jul 9, 2021
5ca893e
Fix phrasing in changelog
ogrisel Jul 9, 2021
4a31c65
CI pin llvm-openmp version (#89)
jeremiedbb Jul 22, 2021
50eab92
Fix getattr uses with invalid default values (#88)
peterbell10 Jul 22, 2021
480443e
Fix import with -OO (#87)
peterbell10 Jul 23, 2021
4bb941e
CI use all packages from the conda-forge channel on macos (#90)
jeremiedbb Sep 2, 2021
9b5b41f
Make threadpoolctl robust to missing openblas_get_parallel symbol (#91)
ogrisel Sep 2, 2021
2a77883
Fix typo in get_threading_layer (#93)
ogrisel Sep 3, 2021
708aabf
use lru_cache for realpath (#97)
jeremiedbb Sep 23, 2021
05ba3b4
MNT Blackify the code base (#96)
jeremiedbb Sep 24, 2021
3f95895
put back the decorator (#100)
jeremiedbb Sep 24, 2021
63a22f9
MNT use fstrings when possible (#98)
jeremiedbb Sep 24, 2021
0ef9667
[MRG] FEA Make it possible to pass pre-inspected modules to threadpoo…
jeremiedbb Sep 24, 2021
d14aea1
ENH Add support for OpenBLAS built for 64bit integers in Fortran (#101)
jeremiedbb Sep 24, 2021
75cff96
add test for openblas threading layer (#103)
jeremiedbb Sep 27, 2021
d09d20f
FIX make the num_threads attribute dynamic (#104)
jeremiedbb Sep 29, 2021
74bdf10
FEA Add possibility to use threadpool_limits as a decorator (#102)
jeremiedbb Oct 1, 2021
2e5e67e
Release 3.0.0 (#106)
jeremiedbb Oct 1, 2021
cb7f2b5
MNT back to dev mode 3.1.0.dev0 (#107)
jeremiedbb Oct 1, 2021
ab57822
CLN correct typos (#109)
kianmeng Nov 25, 2021
47bc586
add Zen openblas arch (#111)
jeremiedbb Jan 5, 2022
3279d27
Add VORTEX to test_architecture (#113)
ogrisel Jan 5, 2022
4420d82
FIX BLAS detection conda-forge + Windows (#112)
jeremiedbb Jan 5, 2022
07c6f66
CI upgrade macos vm image (#115)
jeremiedbb Jan 20, 2022
41cef87
MTN add cron job to run CI (#118)
jeremiedbb Jan 28, 2022
9fac583
MNT Use flit_core build-backend (#116)
mgorny Jan 28, 2022
77a9170
MNT Add Prescott to the expected openblas archs (#117)
jeremiedbb Jan 28, 2022
9dad513
Workaround for openblas + openmp threading layer (#114)
jeremiedbb Jan 28, 2022
0b554d6
Release 3.1.0 (#119)
jeremiedbb Jan 31, 2022
86a709d
MNT back to dev mode 3.2.0.dev0 (#120)
jeremiedbb Jan 31, 2022
a33819e
TST Avoid side effects in test suite (#124)
jeremiedbb Apr 20, 2022
a39c6a4
CI Use packages from conda-forge to get more up to date versions in i…
jeremiedbb May 25, 2022
b9897ce
DOC Fix link to Intel Community forum (#129)
lesteve Sep 13, 2022
8826b8b
MAINT drop support for python 3.6/3.7 (#130)
jeremiedbb Sep 23, 2022
009e5b9
whitelist test_multiple_openmp (#133)
jeremiedbb Feb 21, 2023
36aebce
MAINT Fix BLIS install (#139)
jeremiedbb Jul 7, 2023
7b79693
add python 3.11 in pyproject.toml (#141)
jeremiedbb Jul 7, 2023
57a59e4
DOC Warn if coexisting libomp / libiomp on MacOS (#142)
jeremiedbb Jul 11, 2023
c2f4b0a
FEA Support custom lib controllers (#138)
jeremiedbb Jul 11, 2023
0172dfa
MAINT make CI fail when linting fails (#143)
jeremiedbb Jul 13, 2023
be1bf99
Release 3.2.0 (#144)
jeremiedbb Jul 13, 2023
d973678
MAINT start 3.3.0 dev (#145)
jeremiedbb Jul 13, 2023
85d329a
FIX check symbols to better identify supported libraries (#151)
jeremiedbb Oct 10, 2023
1644199
TST Remove cython conditional compilation (#152)
jeremiedbb Oct 17, 2023
767e37d
MAINT Python 3.12 version support and make tests tolerate the presenc…
ogrisel Oct 18, 2023
1e35b97
TST explicit noexcept in cython cdef because it's no longer the defau…
jeremiedbb Dec 19, 2023
dc260f1
TST Don't skip test_nested_prange_blas for BLIS (#157)
jeremiedbb Dec 19, 2023
d1450c4
MAINT Update BLIS install to use numpy's new build system (#160)
jeremiedbb Jan 23, 2024
8faf5f5
FEA Add support for flexiblas (#156)
jeremiedbb Feb 6, 2024
1c71599
MAINT fix linting to comply to black latest version (#164)
jeremiedbb Feb 7, 2024
c6cc9f0
BLD Limit version of flit_core specified to build with (#161)
takluyver Feb 7, 2024
a8d1917
make test case insensitive (#165)
jeremiedbb Feb 9, 2024
22098de
FEA Add support to switch FlexiBLAS backend (#163)
jeremiedbb Feb 14, 2024
832f732
MAINT Release 3.3.0 (#168)
jeremiedbb Feb 14, 2024
fef2303
FEA Add support for Pyodide (#169)
lesteve Feb 17, 2024
b6813a6
FEA Support static and / or alternative libc (#171)
jeremiedbb Mar 20, 2024
81f70f0
Release 3.4.0 (#172)
jeremiedbb Mar 20, 2024
7861969
MAINT bump version 3.5.0.dev0 (#173)
jeremiedbb Mar 20, 2024
5282c0b
update release instructions (#174)
jeremiedbb Mar 21, 2024
8dd980b
FEA Extend OpenBLAS controller to support scipy_openblas (#175)
jeremiedbb Apr 29, 2024
6b5590c
Release 3.5.0 (#177)
jeremiedbb Apr 29, 2024
41df9c6
MAINT 3.6.0 dev mode (#178)
jeremiedbb Apr 29, 2024
c137dc8
CI Bump macos image to latest (#179)
jeremiedbb Jun 28, 2024
7eff7eb
CI Fix MacOS Flexiblas build (#180)
jeremiedbb Jun 28, 2024
b95c4b5
MNT Update black (#182)
jeremiedbb Mar 6, 2025
b6bbcc2
CI Add gh workflow for linting (#184)
jeremiedbb Mar 6, 2025
2072b63
CI Migrate CI to gh actions (#185)
jeremiedbb Mar 9, 2025
ca27594
MNT Drop Python 3.8 support (#186)
jeremiedbb Mar 9, 2025
86f3f0b
DOC Replace azure pipelines badge with github actions badge (#187)
jeremiedbb Mar 9, 2025
ad953f5
CI Bump ubuntu image to 22.04 for system deps based jobs (#188)
jeremiedbb Mar 9, 2025
931a764
ENH Support path length > MAX_PATH on Windows (#189)
jeremiedbb Mar 11, 2025
4d1e0c1
MNT Drop Python 3.8 support follow-up (#191)
jeremiedbb Mar 13, 2025
527ef5f
REL Automate release process with github actions (#190)
jeremiedbb Mar 13, 2025
d5bf10b
Release 3.6.0 (#192)
jeremiedbb Mar 13, 2025
dbcc74b
CI fix publish workflow (#193)
jeremiedbb Mar 13, 2025
a8d7258
CI Temporary disable tag condition to publish to PyPI (#194)
jeremiedbb Mar 13, 2025
f8e068c
MNT Set version to 3.7.0.dev0 (#195)
jeremiedbb Mar 13, 2025
29a0734
DOC Update maintainers doc (#196)
jeremiedbb Mar 13, 2025
495eae9
CI skip workflow on forks (#197)
jeremiedbb Mar 13, 2025
1b35392
TST Add missing openblas arch (#198)
jeremiedbb May 8, 2025
cf38a18
Use `as_py_json` in place of deprecated `as_object_map` for Pyodide>=…
agriyakhetarpal Nov 8, 2025
757e83b
DOC discuss inconsistencies in openMP's limitation thread locality (#…
itamarst Jun 18, 2026
432d8ba
CI fix macOS FlexiBLAS build with newer CMake
cursoragent Jul 10, 2026
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
46 changes: 0 additions & 46 deletions .azure_pipeline.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
comment: off

3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
source=threadpoolctl

128 changes: 128 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: Publish threadpoolctl 🎮 distribution 📦 to PyPI and TestPyPI
# Taken from:
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

on: push

jobs:
build:
name: Build distribution 📦
# Don't run on forked repositories
if: github.event.repository.fork != true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install pypa/build
run: python -m pip install build --user

- name: Build a binary wheel and a source tarball
run: python -m build

- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
retention-days: 1

publish-to-pypi:
name: >-
Publish threadpoolctl 🎮 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/threadpoolctl/
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: >-
Sign the threadpoolctl 🎮 distribution 📦 with Sigstore
and upload them to GitHub Release
needs:
- publish-to-pypi
runs-on: ubuntu-latest

permissions:
contents: write # IMPORTANT: mandatory for making GitHub Releases
id-token: write # IMPORTANT: mandatory for sigstore

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v3.0.0
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
gh release create
"$GITHUB_REF_NAME"
--repo "$GITHUB_REPOSITORY"
--notes ""
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
# `dist/` contains the built packages, and the
# sigstore-produced signatures and certificates.
run: >-
gh release upload
"$GITHUB_REF_NAME" dist/**
--repo "$GITHUB_REPOSITORY"

publish-to-testpypi:
name: Publish threadpoolctl 🎮 distribution 📦 to TestPyPI
needs:
- build
runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/project/threadpoolctl/

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
# skip-existing is required for .dev0 versions with fixed names but
# different contents. See also: https://github.com/pypa/flit/issues/257
skip-existing: true
repository-url: https://test.pypi.org/legacy/
Loading
Loading