From 8bbcabf188e376a75df69934b5cb3e0c55dd2151 Mon Sep 17 00:00:00 2001 From: Yangyang Li Date: Thu, 26 Oct 2023 23:20:09 -0500 Subject: [PATCH] chore: Remove unnecessary installation of htslib and update OpenSSL dependencies --- .github/workflows/release.yml | 2 -- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a68d4b28..200ae313 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -154,7 +154,6 @@ jobs: HOMEBREW_NO_INSTALL_CLEANUP: 1 # Do not run brew cleanup automatically. HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 # Do not automatically update packages. run: | - brew install htslib brew install openssl@3 ln -sf $(brew --prefix openssl)/include/openssl /usr/local/include/openssl ln -sf $(brew --prefix openssl)/lib/*a /usr/local/lib/ @@ -200,7 +199,6 @@ jobs: HOMEBREW_NO_INSTALL_CLEANUP: 1 # Do not run brew cleanup automatically. HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 # Do not automatically update packages. run: | - brew install htslib brew install openssl@3 ln -sf $(brew --prefix openssl)/include/openssl /usr/local/include/openssl ln -sf $(brew --prefix openssl)/lib/*a /usr/local/lib/ diff --git a/pyproject.toml b/pyproject.toml index 90685bd5..943795ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -284,7 +284,7 @@ update_changelog_on_bump = true major_version_zero = true [tool.cibuildwheel.linux] -before-all = "yum install -y openssl-devel zlib-devel bzip2-devel xz-devel && curl -L https://github.com/samtools/htslib/releases/download/1.18/htslib-1.18.tar.bz2 | tar xj && cd htslib-1.18 && ./configure && make && make install" +before-all = "yum install -y openssl-devel xz-devel" test-requires = "pytest" test-command = "pytest {project}/tests -vls -m imports"