From 08879170888e0a2bcd70d51420654d39a002fc44 Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Tue, 22 Oct 2024 01:00:24 +0200 Subject: [PATCH] Release v0.6.0 --- .github/workflows/package.yml | 6 ++++-- CHANGELOG.md | 20 +++++++++++++++++++- docs/_static/json/switcher.json | 7 ++++++- pyproject.toml | 4 ++-- src/pyfastani/__init__.py | 2 +- 5 files changed, 32 insertions(+), 7 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 0d76954..d1d50da 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -115,7 +115,7 @@ jobs: CIBW_BEFORE_BUILD: pip install cython CIBW_BUILD_VERBOSITY: 2 CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv - CIBW_TEST_REQUIRES: importlib-resources biopython + CIBW_TEST_REQUIRES: importlib-resources CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12 with: output-dir: dist @@ -148,7 +148,7 @@ jobs: CIBW_BEFORE_BUILD: pip install cython CIBW_BUILD_VERBOSITY: 2 CIBW_TEST_COMMAND: python -m unittest pyfastani.tests -vv - CIBW_TEST_REQUIRES: importlib-resources biopython + CIBW_TEST_REQUIRES: importlib-resources CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12 with: output-dir: dist @@ -245,6 +245,8 @@ jobs: environment: PyPI runs-on: ubuntu-latest name: Upload + permissions: + id-token: write needs: - sdist - test-sdist diff --git a/CHANGELOG.md b/CHANGELOG.md index c549f04..3fe36d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -[Unreleased]: https://github.com/althonos/pyfastani/compare/v0.5.1...HEAD +[Unreleased]: https://github.com/althonos/pyfastani/compare/v0.6.0...HEAD + + +## [v0.6.0] - 2024-10-22 +[v0.6.0]: https://github.com/althonos/pyfastani/compare/v0.5.1...v0.6.0 + +### Changed +- Rewrite package build using `scikit-build-core`. +- Update documentation to use the PyData theme. +- Bump embedded `cpu-features` library to `v0.9.0`. + +### Added +- Support for Python 3.13. + +### Fixed +- Null pointer dereference in FASTA parser deallocation. + +### Removed +- Support for Python 3.6. ## [v0.5.1] - 2024-02-20 diff --git a/docs/_static/json/switcher.json b/docs/_static/json/switcher.json index cdfbedd..ca265d4 100644 --- a/docs/_static/json/switcher.json +++ b/docs/_static/json/switcher.json @@ -1,6 +1,11 @@ [ { - "name": "v0.5 (latest)", + "name": "v0.6 (latest)", + "version": "0.6.0", + "url": "https://pytantan.readthedocs.io/en/v0.6.0/" + }, + { + "name": "v0.5", "version": "0.5.1", "url": "https://pytantan.readthedocs.io/en/v0.5.1/" }, diff --git a/pyproject.toml b/pyproject.toml index 208c03a..0973a46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["scikit-build-core", "cython >=3.0", "scoring-matrices ~=0.3.0"] +requires = ["scikit-build-core", "cython >=3.0"] build-backend = "scikit_build_core.build" [project] name = "pyfastani" -version = "0.5.1" +version = "0.6.0" description = "Cython bindings and Python interface to FastANI, a method for fast whole-genome similarity estimation." readme = "README.md" requires-python = ">=3.7" diff --git a/src/pyfastani/__init__.py b/src/pyfastani/__init__.py index d88776e..07398d7 100644 --- a/src/pyfastani/__init__.py +++ b/src/pyfastani/__init__.py @@ -12,7 +12,7 @@ __author__ = "Martin Larralde " __license__ = "MIT" -__version__ = "0.5.1" +__version__ = "0.6.0" __doc__ = _fastani.__doc__ __all__ = [