From 9407dea3eef6e82bcad488b41cfbb8e4e6c79427 Mon Sep 17 00:00:00 2001 From: mattip Date: Wed, 31 Jan 2024 11:35:58 +0200 Subject: [PATCH 1/2] get_pkg_config file uses f-strings --- local/scipy_openblas64/__init__.py | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/local/scipy_openblas64/__init__.py b/local/scipy_openblas64/__init__.py index 314d636..3f20715 100644 --- a/local/scipy_openblas64/__init__.py +++ b/local/scipy_openblas64/__init__.py @@ -59,10 +59,9 @@ def get_pkg_config(): """ if sys.platform == "win32": extralib = "-defaultlib:advapi32 -lgfortran -lquadmath" - libs_flags = f"-L${{libdir}} -l{get_library()}" else: extralib = f"-lm -lpthread -lgfortran -lquadmath -L${{libdir}} -l{get_library()}" - libs_flags = "-L${{libdir}} -l{get_library()}" + libs_flags = f"-L${{libdir}} -l{get_library()}" cflags = "-DBLAS_SYMBOL_PREFIX=scipy_ -DBLAS_SYMBOL_SUFFIX=64_ -DHAVE_BLAS_ILP64 -DOPENBLAS_ILP64_NAMING_SCHEME" return dedent(f"""\ libdir={get_lib_dir()} diff --git a/pyproject.toml b/pyproject.toml index 1195c90..17c358b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" [project] name = "scipy_openblas64" -version = "0.3.26.0" +version = "0.3.26.0.1" requires-python = ">=3.7" description = "Provides OpenBLAS for python packaging" readme = "README.md" From 193432fe69c7f0dec897dc31caedb2fb2a7b9a9b Mon Sep 17 00:00:00 2001 From: mattip Date: Wed, 31 Jan 2024 11:45:46 +0200 Subject: [PATCH 2/2] add a pull request template as a reminder --- .github/PULL_REQUEST_TEMPLATE.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..2408eb8 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1 @@ +- [ ] I updated the version in pyproject.toml and made sure it matches `git describe --tags --abbrev=8` in OpenBLAS at the `OPENBLAS_COMMIT`