Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build py3.13 wheel for pysam 0.22.1 #49

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading