File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
8
8
9
9
[project ]
10
10
name = " scipy_openblas64"
11
- version = " 0.3.24.95.2 "
11
+ version = " 0.3.26.0.0 "
12
12
requires-python = " >=3.7"
13
13
description = " Provides OpenBLAS for python packaging"
14
14
readme = " README.md"
Original file line number Diff line number Diff line change @@ -22,6 +22,17 @@ tar -C local/scipy_openblas64 --strip-components=2 -xf libs/openblas*.tar.gz
22
22
# do not package the static libs and symlinks, only take the shared object
23
23
find local/scipy_openblas64/lib -maxdepth 1 -type l -delete
24
24
rm local/scipy_openblas64/lib/* .a
25
+ # Check that the pyproject.toml and the pkgconfig versions agree.
26
+ py_version=$( grep " ^version" pyproject.toml | sed -e " s/version = \" //" )
27
+ pkg_version=$( grep " version=" ./local/scipy_openblas64/lib/pkgconfig/scipy-openblas* .pc | sed -e " s/version=//" )
28
+ if [[ -z " $pkg_version " ]]; then
29
+ echo Could not read version from pkgconfig file
30
+ exit 1
31
+ fi
32
+ if [[ $py_version != $pkg_version * ]]; then
33
+ echo Version from pyproject.toml " $py_version " does not match version from build " pkg_version"
34
+ exit 1
35
+ fi
25
36
# Do not package the pkgconfig stuff, use the wheel functionality instead
26
37
rm -rf local/scipy_openblas64/lib/pkgconfig
27
38
You can’t perform that action at this time.
0 commit comments