Skip to content

Commit

Permalink
Release v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Feb 14, 2025
1 parent 02a3176 commit 5c9c58c
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 45 deletions.
71 changes: 33 additions & 38 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,23 @@ on:

jobs:

# wheel-linux-aarch64:
# name: Build Linux wheels (Aarch64)
# runs-on: ubuntu-latest
# if: "startsWith(github.ref, 'refs/tags/v')"
# steps:
# - uses: actions/checkout@v4
# - name: Set up QEMU
# id: qemu
# uses: docker/setup-qemu-action@v3
# with:
# platforms: all
# - name: Build manylinux wheels
# uses: pypa/[email protected]
# env:
# CIBW_ARCHS: aarch64
# CIBW_BUILD: 'cp*-manylinux_aarch64'
# with:
# output-dir: dist
# - uses: actions/upload-artifact@v4
# with:
# name: wheels-manylinux_aarch64
# path: dist/*
wheel-linux-aarch64:
name: Build Linux wheels (Aarch64)
runs-on: ubuntu-22.04-arm
if: "startsWith(github.ref, 'refs/tags/v')"
steps:
- uses: actions/checkout@v4
- name: Build manylinux wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: aarch64
CIBW_BUILD: 'cp*-manylinux_aarch64'
with:
output-dir: dist
- uses: actions/upload-artifact@v4
with:
name: wheels-manylinux_aarch64
path: dist/*

wheel-linux-x86_64:
name: Build Linux wheels (x86-64)
Expand Down Expand Up @@ -130,33 +125,33 @@ jobs:
upload:
environment: PyPI
runs-on: ubuntu-latest
name: Upload
if: "startsWith(github.ref, 'refs/tags/v')"
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
name: Upload
needs:
- sdist
- wheel-linux-aarch64
- wheel-linux-x86_64
- wheel-macos-aarch64
- wheel-macos-x86_64
- wheel-win32-x86_64
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v1
- name: Download source distribution
uses: actions/download-artifact@v4
with:
python-version: "3.10"
- name: Install CI requirements
run: python -m pip install -U -r ci/requirements.txt
- name: Build source tarball with vendored sources
run: python setup.py vendor sdist
- name: Download built wheels
uses: actions/download-artifact@v2
with:
name: wheels
path: dist
name: sdist
path: dist/
merge-multiple: true
- name: Download wheel distributions
uses: actions/download-artifact@v4
with:
pattern: wheels-*
path: dist/
merge-multiple: true
- name: Publish distributions to PyPI
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1

release:
Expand Down
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.


## [Unreleased]
[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.12.3...HEAD
[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.13.0...HEAD

## [v0.13.0] - 2025-02-14
[v0.13.0]: https://github.com/fastobo/fastobo-py/compare/v0.12.3...v0.13.0
### Added
- Support for exporting to OWL/XML and RDF/XML syntaxes in `fastobo.dump_owl`.
- Support for `os.PathLike` arguments as files in all `fastobo` top-level functions.
### Changed
- Bump `pyo3` to `v0.23.4`.
- Bump `fastobo` to `v0.15.4`.
- Bump `fastobo-owl` to `v0.3.2`.
- Bump `horned-owl` to `v1.0`.
- Bump `syn` derive dependency to `v2.0`.
- Use `maturin` instead of `setuptools-rust` to build the project with `pip`.
- Use PyData theme to render the Sphinx documentation.
### Removed
- `fastobo.syn.SynonymScope` type (replaced by literal strings where applicable).

## [v0.12.3] - 2023-12-06
[v0.12.3]: https://github.com/fastobo/fastobo-py/compare/v0.12.2...v0.12.3
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["derive"]

[package]
name = "fastobo-py"
version = "0.12.3"
version = "0.13.0"
authors = ["Martin Larralde <[email protected]>"]
license = "MIT"
publish = false
Expand Down Expand Up @@ -43,7 +43,7 @@ version = "0.3.2"
[dependencies.horned-owl]
version = "1.0"
[dependencies.fastobo-py-derive-internal]
version = "0.12.3"
version = "0.13.0"
path = "./derive"

[features]
Expand Down
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastobo-py-derive-internal"
version = "0.12.3"
version = "0.13.0"
authors = ["Martin Larralde <[email protected]>"]
edition = "2018"
publish = false
Expand Down
7 changes: 6 additions & 1 deletion docs/_static/json/switcher.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
[
{
"name": "v0.12 (latest)",
"name": "v0.13 (latest)",
"version": "0.13.0",
"url": "https://fastobo.readthedocs.io/en/v0.13.0/"
},
{
"name": "v0.12",
"version": "0.12.3",
"url": "https://fastobo.readthedocs.io/en/v0.12.3/"
}
Expand Down

0 comments on commit 5c9c58c

Please sign in to comment.