Skip to content

Commit

Permalink
Update ci.yaml now that ubuntu-latest is Ubuntu 24.04
Browse files Browse the repository at this point in the history
Python 3.7 is not available via setup-python on 24.04, so omit it
and add the semi-recently released 3.13 instead.

Ensure that libbz2 and liblzma development files are installed.
  • Loading branch information
jmarshall committed Jan 20, 2025
1 parent d469039 commit 6243656
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
strategy:
matrix:
os: [ubuntu, macos]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
exclude:
# Run only the latest few 3.x versions on macOS
- os: macos
python-version: 3.7
- os: macos
python-version: 3.8
- os: macos
python-version: 3.9
- os: macos
python-version: 3.10

steps:
- name: Checkout pysam
Expand All @@ -34,7 +34,7 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -q --no-install-recommends --no-install-suggests libcurl4-openssl-dev
sudo apt-get install -q --no-install-recommends --no-install-suggests libbz2-dev libcurl4-openssl-dev liblzma-dev
- name: Update macOS build prerequisites
if: runner.os == 'macOS'
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -q --no-install-recommends --no-install-suggests libcurl4-openssl-dev
sudo apt-get install -q --no-install-recommends --no-install-suggests libbz2-dev libcurl4-openssl-dev liblzma-dev
- name: Create source distribution
run: python setup.py sdist --owner=root --group=root
Expand Down
2 changes: 2 additions & 0 deletions devtools/environment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ channels:
- conda-forge
- bioconda
dependencies:
- bzip2
- cython
- setuptools
- xz

0 comments on commit 6243656

Please sign in to comment.