diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 7f26d13..a2a4303 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -6,13 +6,13 @@ jobs: env: OS: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@master + uses: actions/setup-python@v3 with: - python-version: "3.8" + python-version: "3.11" - name: Build myfm run: | pip install --upgrade pip diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index dbe926b..9cacefa 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -8,6 +8,6 @@ jobs: env: SKIP: no-commit-to-branch steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: pre-commit/action@v2.0.3 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index cfa65e4..6690726 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -6,13 +6,13 @@ jobs: env: OS: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@master + uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - name: Build myfm run: | pip install --upgrade pip diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 1011b8d..56491e0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -7,19 +7,19 @@ on: types: - created env: - cibuildwheel_version: "2.2.2" + cibuildwheel_version: "2.12.2" jobs: build_sdist: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 name: Install Python with: - python-version: "3.7" + python-version: "3.11" - name: Build sdist run: pip install pybind11 && python setup.py sdist - uses: actions/upload-artifact@v2 @@ -54,7 +54,7 @@ jobs: name: mac-arm cibw: arch: universal2 - build: "cp39* cp310*" + build: "cp39* cp310* cp311*" - os: ubuntu-20.04 name: manylinux1 @@ -67,7 +67,7 @@ jobs: - os: ubuntu-20.04 name: manylinux2014 cibw: - build: "cp38* cp39* cp310*" + build: "cp38* cp39* cp310* cp311*" skip: "*musllinux*" manylinux_image: manylinux2014 arch: auto64 @@ -104,6 +104,14 @@ jobs: manylinux_image: manylinux2014 arch: aarch64 + - os: ubuntu-20.04 + name: manylinux_aarch64_cp311 + cibw: + build: "cp311*" + skip: "*musllinux*" + manylinux_image: manylinux2014 + arch: aarch64 + - os: windows-2019 name: win_amd64 architecture: x64 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58c9c20..37e88d0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: end-of-file-fixer - id: check-added-large-files - repo: https://github.com/PyCQA/isort - rev: 5.6.4 + rev: 5.12.0 hooks: - id: isort name: isort diff --git a/src/myfm/_myfm.pyi b/src/myfm/_myfm.pyi index 8625dca..51de1d4 100644 --- a/src/myfm/_myfm.pyi +++ b/src/myfm/_myfm.pyi @@ -1,12 +1,13 @@ """Backend C++ implementation for myfm.""" -import myfm._myfm -from typing import * from typing import Iterable as iterable from typing import Iterator as iterator +from typing import * + +import scipy.sparse from numpy import float64 from numpy import typing as npt -import scipy.sparse +import myfm._myfm __all__ = [ "ConfigBuilder",