[med-svn] [Git][med-team/cyvcf2][master] 5 commits: New upstream version 0.31.0

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri May 31 21:34:57 BST 2024



Étienne Mollier pushed to branch master at Debian Med / cyvcf2


Commits:
2f257653 by Étienne Mollier at 2024-05-31T22:26:10+02:00
New upstream version 0.31.0
- - - - -
7065452b by Étienne Mollier at 2024-05-31T22:26:11+02:00
Update upstream source from tag 'upstream/0.31.0'

Update to upstream version '0.31.0'
with Debian dir 296d4de0fe91643cd28697fa6a445d982a31d13c
- - - - -
298bc8b0 by Étienne Mollier at 2024-05-31T22:29:56+02:00
d/control: add myself to uploaders.

- - - - -
4cfc8fc6 by Étienne Mollier at 2024-05-31T22:30:46+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
e915c373 by Étienne Mollier at 2024-05-31T22:33:58+02:00
ready to upload to unstable.

- - - - -


8 changed files:

- .github/workflows/build.yml
- .github/workflows/wheels.yml
- CHANGES.md
- ci/linux-deps
- ci/osx-deps
- cyvcf2/__init__.py
- debian/changelog
- debian/control


Changes:

=====================================
.github/workflows/build.yml
=====================================
@@ -198,8 +198,10 @@ jobs:
         working-directory: dist
 
       - name: Install test prerequisites
+        # pytest 8.2.0~8.2.1 changed the behaivour of --import-mode, can't ignore local cyvcf2 folder.
+        # So we need to pin it before it breaks again.
         run: |
-          pip install pytest pytest-cov
+          pip install pytest==8.1.2 pytest-cov
 
       - name: Test
         run: |


=====================================
.github/workflows/wheels.yml
=====================================
@@ -28,7 +28,7 @@ jobs:
           - [ubuntu-22.04, manylinux_aarch64]
           - [ubuntu-22.04, musllinux_aarch64]
           - [macos-12, macosx_x86_64]
-          - [macos-12, macosx_arm64]
+          - [macos-14, macosx_arm64]
         python-version: [pp310, cp37, cp38, cp39, cp310, cp311, cp312]
         exclude:
           # pp310, cp37, cp38 on musllinux is not support
@@ -49,10 +49,13 @@ jobs:
             python-version: cp310
           - buildplat: [ubuntu-22.04, musllinux_aarch64]
             python-version: pp310
-          # cp37, pp310 on macos arm64 is not supported
-          - buildplat: [macos-12, macosx_arm64]
+          # cp37 on macos arm64 is not supported
+          - buildplat: [macos-14, macosx_arm64]
             python-version: cp37
-          - buildplat: [macos-12, macosx_arm64]
+          # cp38 pp310 on macos arm64 have some problem
+          - buildplat: [macos-14, macosx_arm64]
+            python-version: cp38
+          - buildplat: [macos-14, macosx_arm64]
             python-version: pp310
 
     steps:
@@ -65,7 +68,7 @@ jobs:
         uses: docker/setup-qemu-action at v3
 
       - name: Build wheels
-        uses: pypa/cibuildwheel at v2.16.4
+        uses: pypa/cibuildwheel at v2.18.1
         with:
           package-dir: .
           output-dir: wheelhouse
@@ -85,16 +88,15 @@ jobs:
           CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64" && auditwheel repair -w {dest_dir} {wheel}'
 
           # macos
-          CIBW_ARCHS_MACOS: auto64 arm64
+          CIBW_ARCHS_MACOS: auto64
           CIBW_BEFORE_BUILD_MACOS: "{project}/ci/osx-deps"
-
+          CIBW_REPAIR_WHEEL_COMMAND_MACOS: "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
+ 
           # build
           CIBW_ENVIRONMENT: >-
             CYVCF2_HTSLIB_CONFIGURE_OPTIONS="--enable-libcurl --enable-s3 --enable-lzma --enable-bz2 --with-libdeflate"
             CYTHONIZE=1
           CIBW_TEST_COMMAND: "{project}/ci/test"
-          # macOS build arm64 on x86_64 with cross-compiler, not support test
-          CIBW_TEST_SKIP: "*-macosx_arm64"
 
       # Enable tmate debugging of manually-triggered workflows if the input option was provided
       - name: Setup tmate session


=====================================
CHANGES.md
=====================================
@@ -1,3 +1,6 @@
+# v0.31.0
++ fix OSX ARM wheels (#305, #306 thanks @graphenn for fix)
+
 # v0.30.27
 
 + support num_records using index stats (#295 from @jeromekelleher)


=====================================
ci/linux-deps
=====================================
@@ -27,7 +27,7 @@ alpine)
 centos)
     yum install -y bzip2-devel xz-devel libcurl-devel openssl-devel
 
-    LIBDEFLATE_VERSION=1.19
+    LIBDEFLATE_VERSION=1.20
     curl -L -o libdeflate-v"$LIBDEFLATE_VERSION".tar.gz https://github.com/ebiggers/libdeflate/archive/refs/tags/v"$LIBDEFLATE_VERSION".tar.gz
     tar xzf libdeflate-v"$LIBDEFLATE_VERSION".tar.gz
     cd libdeflate-"$LIBDEFLATE_VERSION"


=====================================
ci/osx-deps
=====================================
@@ -2,25 +2,24 @@
 
 set -euo pipefail
 
-export DYLD_LIBRARY_PATH=/usr/local/lib
 # same with python
 export MACOSX_DEPLOYMENT_TARGET=10.9
 
-brew install automake
+brew install automake libdeflate
 brew unlink xz
 
-# build liblzma and libdelfate for muti arch
+# build liblzma and libdelfate for deployment target 10.9
 
-XZ_VERSION=5.4.5
+XZ_VERSION=5.4.6
 curl -L -o xz-$XZ_VERSION.tar.gz "https://github.com/tukaani-project/xz/releases/download/v$XZ_VERSION/xz-$XZ_VERSION.tar.gz"
 tar -xf xz-$XZ_VERSION.tar.gz
 cd xz-$XZ_VERSION
 cmake -B build && cmake --build build
-cd ./build && make install
+cd ./build && sudo make install
 
-LIBDEFLATE_VERSION=1.19
+LIBDEFLATE_VERSION=1.20
 curl -L -o libdeflate-v"$LIBDEFLATE_VERSION".tar.gz https://github.com/ebiggers/libdeflate/archive/refs/tags/v"$LIBDEFLATE_VERSION".tar.gz
 tar xzf libdeflate-v"$LIBDEFLATE_VERSION".tar.gz
 cd libdeflate-"$LIBDEFLATE_VERSION"
 cmake -B build && cmake --build build
-cd ./build && make install
+cd ./build && sudo make install


=====================================
cyvcf2/__init__.py
=====================================
@@ -2,4 +2,4 @@ from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness,
                      par_het)
 Reader = VCFReader = VCF
 
-__version__ = "0.30.28"
+__version__ = "0.31.0"


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+cyvcf2 (0.31.0-1) unstable; urgency=medium
+
+  * New upstream version 0.31.0
+  * d/control: add myself to uploaders.
+  * d/control: declare compliance to standards version 4.7.0.
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 31 May 2024 22:31:18 +0200
+
 cyvcf2 (0.30.28-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -2,6 +2,7 @@ Source: cyvcf2
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <moeller at debian.org>,
            Liubov Chuprikova <chuprikovalv at gmail.com>,
+           Étienne Mollier <emollier at debian.org>
 Section: science
 Testsuite: autopkgtest-pkg-python
 Priority: optional
@@ -20,7 +21,7 @@ Build-Depends: debhelper-compat (= 13),
                libhts-dev,
                libbz2-dev,
                help2man <!nodoc>
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/cyvcf2
 Vcs-Git: https://salsa.debian.org/med-team/cyvcf2.git
 Homepage: https://github.com/brentp/cyvcf2



View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/f957b105421a30a2ce002d99b91b7201db059df0...e915c373668585e314364bc9c9a2ea9a7c1f1c85

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/f957b105421a30a2ce002d99b91b7201db059df0...e915c373668585e314364bc9c9a2ea9a7c1f1c85
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240531/1460cd5c/attachment-0001.htm>


More information about the debian-med-commit mailing list