Skip to content
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
7 changes: 5 additions & 2 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI Documentation

on: [push, pull_request]

permissions: {}
jobs:
build:
runs-on: ubuntu-24.04
Expand All @@ -13,10 +14,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}

Expand Down
35 changes: 23 additions & 12 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
tags:
- "v*.*.*"

permissions: {}
jobs:
build-wheels:
name: Build unicode wheels ${{ matrix.type }} ${{ matrix.arch }} on ${{ matrix.os }}
Expand All @@ -39,6 +40,11 @@ jobs:
build: "cp{310,311,312,313,314}-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014

- os: ubuntu-24.04-arm
arch: aarch64
build: "cp{310,311,312,313,314}-*"
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014

- os: macos-latest
arch: universal2
build: "cp{310,311,312,313,314}-*"
Expand All @@ -48,20 +54,22 @@ jobs:
build: "cp{310,311,312,313,314}-*"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Build wheels and run tests
uses: pypa/cibuildwheel@v3.2.1
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }}
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.CIBW_MANYLINUX_AARCH64_IMAGE }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest -vvs {project}/tests

- name: Collect built wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: cyseq-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
Expand All @@ -71,19 +79,22 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Checkout and install reqs
run: |
pip install --upgrade --user build twine pkginfo packaging pip setuptools cython
pip install setuptools-scm==10.0.4

- name: Build sdist
run: |
python setup.py sdist
twine check dist/*

- name: Collect built sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: cyseq-sdist
path: dist/*.tar.gz
Expand All @@ -93,7 +104,7 @@ jobs:
needs: [build-sdist, build-wheels]
steps:
- name: Merge created wheels and sdist in a single zip
uses: actions/upload-artifact/merge@v4
uses: actions/upload-artifact/merge@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: cyseq-build
pattern: cyseq-*
Expand All @@ -103,7 +114,7 @@ jobs:
needs: merge
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
with:
path: cyseq-build
- run: find . -ls
Expand All @@ -117,13 +128,13 @@ jobs:

steps:
- name: Download builds
uses: actions/download-artifact@v4
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
with:
name: cyseq-build
path: cyseq-build

- name: Create GH release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
with:
draft: true
files: cyseq-build/*
Expand All @@ -139,7 +150,7 @@ jobs:

steps:
- name: Download builds
uses: actions/download-artifact@v4
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
with:
name: cyseq-build
path: dist/
Expand All @@ -150,4 +161,4 @@ jobs:

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
39 changes: 26 additions & 13 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ name: Run tests and build wheel and sdist on all supported OS and Python

on: [push, pull_request, workflow_dispatch]

permissions: {}
jobs:
build_wheels:
name: Build unicode wheels ${{ matrix.type }} ${{ matrix.arch }} on ${{ matrix.os }}
Expand All @@ -46,6 +47,11 @@ jobs:
build: "cp{310,311,312,313,314}-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014

- os: ubuntu-24.04-arm
arch: aarch64
build: "cp{310,311,312,313,314}-*"
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014

- os: macos-latest
arch: universal2
build: "cp{310,311,312,313,314}-*"
Expand All @@ -55,22 +61,22 @@ jobs:
build: "cp{310,311,312,313,314}-*"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Build wheels and run tests
uses: pypa/cibuildwheel@v3.2.1
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }}
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.CIBW_MANYLINUX_AARCH64_IMAGE }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest -vvs {project}/tests
# Skip PyPy wheels
CIBW_SKIP: "pp*"

- name: Collect built wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
Expand All @@ -80,19 +86,22 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Checkout and install reqs
run: |
pip install --upgrade --user build twine pkginfo packaging pip setuptools cython
pip install setuptools-scm==10.0.4

- name: Build sdist
run: |
python setup.py sdist
twine check dist/*

- name: Collect built sdist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
path: dist/*.tar.gz

Expand All @@ -106,16 +115,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14]
os: [ubuntu-22.04, ubuntu-24.04, ubuntu-24.04-arm, macos-14, macos-15]
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "${{ matrix.python }}"

- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Build, install and test
run: >
Expand All @@ -134,11 +145,13 @@ jobs:

steps:
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "${{ matrix.python }}"

- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false

- name: Build, install and test
run: >
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

v0.1.3
------

*2026-04-24* -- Also test and build linux arm wheels


v0.1.2
------

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = cyseq
version = 0.1.2
version = 0.1.3
license = Apache-2.0

# description must be on ONE line https://github.com/pypa/setuptools/issues/1390
Expand Down