Skip to content

Commit

Permalink
Merge pull request #49 from nsoranzo/pysam_py313
Browse files Browse the repository at this point in the history
Build py3.13 wheel for pysam 0.22.1
  • Loading branch information
nsoranzo authored Dec 7, 2024
2 parents 868958e + fe38239 commit 37451b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and upload wheels
on: [push, pull_request]
env:
CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-* cp312-*'
CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*'
CIBW_SKIP: '*-musllinux_*'
concurrency:
# Group runs by PR, but keep runs on the default branch separate
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- uses: actions/download-artifact@v4
with:
name: recipe_list
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
path: wheelhouse/
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Setup deploy environment
run: python3 -m pip install s3pypi
- name: Deploy wheels
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.12']
python-version: ['3.9', '3.13']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
include = '\.pyi?$'

[tool.darker]
isort = true

[tool.ruff]
target-version = "py38"
target-version = "py39"

[tool.ruff.lint]
select = ["E", "F", "B", "UP"]
Expand Down
1 change: 1 addition & 0 deletions recipes/pysam/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

name: pysam
version: 0.22.1
# as of 0.22.0 {project} in pyproject.toml [tool.cibuildwheel] expects to be the package dir
Expand Down
1 change: 1 addition & 0 deletions wheel_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
if is_package_pure or run_in_sdist:
tar_temp_dir = Path(tempfile.mkdtemp(dir=temp_dir))
with tarfile.open(sdist_filepath) as tar:
tar.extraction_filter = getattr(tarfile, "data_filter", (lambda member, path: member))
tar.extractall(path=tar_temp_dir)

try:
Expand Down

0 comments on commit 37451b9

Please sign in to comment.