-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some errors in github action, and add python 3.12 (#286)
* fix build broken on cython 3.0.x * remove error StopIteration * add python 3.12 * add setuptools for python 3.12 * add github actions, build and test in python offical docker image on arm64 and amd64 * fix core dump after seg vcf write
- Loading branch information
Showing
6 changed files
with
93 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ARG PYTHON_VERSION=slim | ||
|
||
FROM python:${PYTHON_VERSION} | ||
|
||
WORKDIR /workspace | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y autoconf automake gcc \ | ||
libcurl4-openssl-dev make git libc6-dev zlib1g-dev libssl-dev liblzma-dev libbz2-dev && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY . . | ||
|
||
# build htslib | ||
RUN cd htslib && autoheader && autoconf && autoreconf --install && \ | ||
./configure --enable-s3 --disable-lzma --disable-bz2 && make | ||
|
||
RUN pip install -r requirements.txt && pip install pytest pytest-cov | ||
|
||
# build cyvcf2 | ||
RUN CYTHONIZE=1 python setup.py build_ext -i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ cython>=0.23.3 | |
numpy | ||
coloredlogs | ||
click | ||
setuptools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters