Skip to content

Commit

Permalink
py-threadpoolctl: add py312; drop py37; enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Feb 2, 2024
1 parent 4ed8ee3 commit 5735b1a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
9 changes: 4 additions & 5 deletions python/py-threadpoolctl/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ supported_archs noarch
platforms {darwin any}
license BSD

python.versions 37 38 39 310 311
python.versions 38 39 310 311 312

maintainers {stromnov @stromnov} openmaintainer

Expand All @@ -24,9 +24,8 @@ checksums rmd160 bc71e6ea121d307c1dcc2619ee2763a945838817 \
sha256 c96a0ba3bdddeaca37dc4cc7344aafad41cdb8c313f74fdfe387a867bba93355 \
size 36266

python.pep517 yes
patchfiles-append patch-test.diff

python.pep517_backend flit

if {${name} ne ${subport}} {
livecheck.type none
}
test.run yes
12 changes: 12 additions & 0 deletions python/py-threadpoolctl/files/patch-test.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Addressed upstream https://github.com/joblib/threadpoolctl/issues/162

--- tests/test_threadpoolctl.py.orig
+++ tests/test_threadpoolctl.py
@@ -600,6 +600,7 @@
expected_openblas_architectures = (
# XXX: add more as needed by CI or developer laptops
"armv8",
+ "ARMV8",
"Haswell",
"Prescott", # see: https://github.com/xianyi/OpenBLAS/pull/3485
"SkylakeX",

0 comments on commit 5735b1a

Please sign in to comment.