diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88ca5c0..68338b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,19 +27,18 @@ jobs: max-parallel: 12 fail-fast: false matrix: - os: [ubuntu-latest, macos-13, windows-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ['3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v4 - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@v3 + uses: mamba-org/setup-micromamba@v1 with: - auto-update-conda: true - use-mamba: true - python-version: ${{ matrix.python-version }} environment-file: environment.yaml - activate-environment: pytng + environment-name: pytng + create-args: >- + python=${{ matrix.python-version }} - name: Install Pytng run: | python -m pip install . @@ -57,8 +56,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13, windows-latest] - python: ["3.9", "3.10", "3.11", "3.12"] + os: [ubuntu-latest, macos-latest, windows-latest] + python: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a10db44..99e45ff 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -29,16 +29,17 @@ jobs: matrix: buildplat: - [ubuntu-22.04, manylinux_x86_64, x86_64] - - [macos-11, macosx_*, x86_64] - - [windows-2019, win_amd64, AMD64] - python: ["cp39", "cp310", "cp311", "cp312"] + - [macos-13, macosx_*, x86_64] + - [windows-2022, win_amd64, AMD64] + - [macos-14, macos_*, arm64] + python: ["cp311", "cp312", "cp313", "cp314"] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@v2.19.1 + uses: pypa/cibuildwheel@v3.2.1 env: CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} CIBW_ARCHS: ${{ matrix.buildplat[2] }} @@ -94,7 +95,7 @@ jobs: path: dist - name: upload_source_and_wheels - uses: pypa/gh-action-pypi-publish@v1.8.10 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: skip_existing: true repository_url: https://test.pypi.org/legacy/ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7c40ab6..0522e67 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.11 - name: Install dependencies run: | diff --git a/environment.yaml b/environment.yaml index 51ea60a..65e5631 100644 --- a/environment.yaml +++ b/environment.yaml @@ -11,6 +11,6 @@ dependencies: - pytest-cov - pip # docs - - mdanalysis-sphinx-theme >=1.0.1 - pip: - - sphinx-sitemap + - sphinx-sitemap + - mdanalysis-sphinx-theme diff --git a/pyproject.toml b/pyproject.toml index 9916bf3..f56cd9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] # Minimum requirements for the build system to execute requires = [ - "cython>=0.28,<3.0", + "cython", "setuptools>=61.2", "versioningit", "wheel", @@ -27,10 +27,10 @@ classifiers = [ 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Programming Language :: C', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Bio-Informatics', @@ -38,7 +38,7 @@ classifiers = [ 'Topic :: Software Development :: Libraries :: Python Modules', ] urls = {Homepage = "http://mdanalysis.org/pytng"} -requires-python = ">= 3.9" +requires-python = ">= 3.10" dependencies = [ "numpy>1.22.3", ] @@ -51,7 +51,7 @@ test = [ "pytest-cov", ] docs = [ - "mdanalysis-sphinx-theme>=1.0.1", + "mdanalysis-sphinx-theme", "sphinx-sitemap", ]