Skip to content

Commit

Permalink
Merge pull request #113 from paulsengroup/ci/py313
Browse files Browse the repository at this point in the history
Support Python 3.13
  • Loading branch information
robomics authored Oct 29, 2024
2 parents 63c784a + 975cb59 commit b438fca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-2019, macos-latest, ubuntu-latest]
python-version: ["3.9", "3.12", "3.13"]
python-version: ["3.9", "3.13"]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -83,11 +83,6 @@ jobs:
echo 'CXX=clang++' >> $GITHUB_ENV
- name: Build and install
if: matrix.python-version == '3.13'
run: pip install --verbose '.[numpy,scipy,test]'

- name: Build and install
if: matrix.python-version != '3.13'
run: pip install --verbose '.[all,test]'

- name: Save Conan cache
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Conda (bioconda)
From source
-----------

Building hictkpy from source should not be necessary for regular users, as we publish pre-built wheels for Linux, MacOS, and Windows for all Python versions we support (currently these include all CPython versions from 3.9 up until 3.12). For a complete and up-to-date list of available wheels refer to the `Download files <https://pypi.org/project/hictkpy/#files>`_ page on hictkpy's `homepage <https://pypi.org/project/hictkpy/>`_ on PyPI.
Building hictkpy from source should not be necessary for regular users, as we publish pre-built wheels for Linux, MacOS, and Windows for all Python versions we support (currently these include all CPython versions from 3.9 up until 3.13). For a complete and up-to-date list of available wheels refer to the `Download files <https://pypi.org/project/hictkpy/#files>`_ page on hictkpy's `homepage <https://pypi.org/project/hictkpy/>`_ on PyPI.

Building hictkpy's wheels from source requires a compiler toolchain supporting C++17, such as:

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ manylinux-pypy_x86_64-image = "manylinux_2_28"
manylinux-pypy_i686-image = "manylinux_2_28"
manylinux-pypy_aarch64-image = "manylinux_2_28"

skip = ["cp313*", "cp314*", "*musllinux*", "pp*"]
skip = ["cp314*", "*musllinux*", "pp*"]
test-command = "python -m pytest {project}/test"
test-extras = ["test", "numpy", "pandas", "pyarrow", "scipy"]
test-skip = ["cp313*", "cp314*", "*universal2", "pp*"]
test-skip = ["cp314*", "*universal2", "pp*"]

# Setuptools bug causes collision between pypy and cpython artifacts
before-build = [
Expand Down

0 comments on commit b438fca

Please sign in to comment.