Skip to content

Commit 5c9c58c

Browse files
committed
Release v0.13.0
1 parent 02a3176 commit 5c9c58c

File tree

6 files changed

+61
-45
lines changed

6 files changed

+61
-45
lines changed

.github/workflows/publish.yml

+33-38
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,23 @@ on:
77

88
jobs:
99

10-
# wheel-linux-aarch64:
11-
# name: Build Linux wheels (Aarch64)
12-
# runs-on: ubuntu-latest
13-
# if: "startsWith(github.ref, 'refs/tags/v')"
14-
# steps:
15-
# - uses: actions/checkout@v4
16-
# - name: Set up QEMU
17-
# id: qemu
18-
# uses: docker/setup-qemu-action@v3
19-
# with:
20-
# platforms: all
21-
# - name: Build manylinux wheels
22-
# uses: pypa/[email protected]
23-
# env:
24-
# CIBW_ARCHS: aarch64
25-
# CIBW_BUILD: 'cp*-manylinux_aarch64'
26-
# with:
27-
# output-dir: dist
28-
# - uses: actions/upload-artifact@v4
29-
# with:
30-
# name: wheels-manylinux_aarch64
31-
# path: dist/*
10+
wheel-linux-aarch64:
11+
name: Build Linux wheels (Aarch64)
12+
runs-on: ubuntu-22.04-arm
13+
if: "startsWith(github.ref, 'refs/tags/v')"
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Build manylinux wheels
17+
uses: pypa/[email protected]
18+
env:
19+
CIBW_ARCHS: aarch64
20+
CIBW_BUILD: 'cp*-manylinux_aarch64'
21+
with:
22+
output-dir: dist
23+
- uses: actions/upload-artifact@v4
24+
with:
25+
name: wheels-manylinux_aarch64
26+
path: dist/*
3227

3328
wheel-linux-x86_64:
3429
name: Build Linux wheels (x86-64)
@@ -130,33 +125,33 @@ jobs:
130125
upload:
131126
environment: PyPI
132127
runs-on: ubuntu-latest
128+
name: Upload
129+
if: "startsWith(github.ref, 'refs/tags/v')"
133130
permissions:
131+
# IMPORTANT: this permission is mandatory for trusted publishing
134132
id-token: write
135-
name: Upload
136133
needs:
134+
- sdist
137135
- wheel-linux-aarch64
138136
- wheel-linux-x86_64
139137
- wheel-macos-aarch64
140138
- wheel-macos-x86_64
141139
- wheel-win32-x86_64
142140
steps:
143-
- name: Checkout code
144-
uses: actions/checkout@v1
145-
- name: Set up Python 3.10
146-
uses: actions/setup-python@v1
141+
- name: Download source distribution
142+
uses: actions/download-artifact@v4
147143
with:
148-
python-version: "3.10"
149-
- name: Install CI requirements
150-
run: python -m pip install -U -r ci/requirements.txt
151-
- name: Build source tarball with vendored sources
152-
run: python setup.py vendor sdist
153-
- name: Download built wheels
154-
uses: actions/download-artifact@v2
155-
with:
156-
name: wheels
157-
path: dist
144+
name: sdist
145+
path: dist/
146+
merge-multiple: true
147+
- name: Download wheel distributions
148+
uses: actions/download-artifact@v4
149+
with:
150+
pattern: wheels-*
151+
path: dist/
152+
merge-multiple: true
158153
- name: Publish distributions to PyPI
159-
if: startsWith(github.ref, 'refs/tags')
154+
if: startsWith(github.ref, 'refs/tags/v')
160155
uses: pypa/gh-action-pypi-publish@release/v1
161156

162157
release:

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77

88
## [Unreleased]
9-
[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.12.3...HEAD
9+
[Unreleased]: https://github.com/fastobo/fastobo-py/compare/v0.13.0...HEAD
10+
11+
## [v0.13.0] - 2025-02-14
12+
[v0.13.0]: https://github.com/fastobo/fastobo-py/compare/v0.12.3...v0.13.0
13+
### Added
14+
- Support for exporting to OWL/XML and RDF/XML syntaxes in `fastobo.dump_owl`.
15+
- Support for `os.PathLike` arguments as files in all `fastobo` top-level functions.
16+
### Changed
17+
- Bump `pyo3` to `v0.23.4`.
18+
- Bump `fastobo` to `v0.15.4`.
19+
- Bump `fastobo-owl` to `v0.3.2`.
20+
- Bump `horned-owl` to `v1.0`.
21+
- Bump `syn` derive dependency to `v2.0`.
22+
- Use `maturin` instead of `setuptools-rust` to build the project with `pip`.
23+
- Use PyData theme to render the Sphinx documentation.
24+
### Removed
25+
- `fastobo.syn.SynonymScope` type (replaced by literal strings where applicable).
1026

1127
## [v0.12.3] - 2023-12-06
1228
[v0.12.3]: https://github.com/fastobo/fastobo-py/compare/v0.12.2...v0.12.3

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["derive"]
33

44
[package]
55
name = "fastobo-py"
6-
version = "0.12.3"
6+
version = "0.13.0"
77
authors = ["Martin Larralde <[email protected]>"]
88
license = "MIT"
99
publish = false
@@ -43,7 +43,7 @@ version = "0.3.2"
4343
[dependencies.horned-owl]
4444
version = "1.0"
4545
[dependencies.fastobo-py-derive-internal]
46-
version = "0.12.3"
46+
version = "0.13.0"
4747
path = "./derive"
4848

4949
[features]

derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fastobo-py-derive-internal"
3-
version = "0.12.3"
3+
version = "0.13.0"
44
authors = ["Martin Larralde <[email protected]>"]
55
edition = "2018"
66
publish = false

docs/_static/json/switcher.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[
22
{
3-
"name": "v0.12 (latest)",
3+
"name": "v0.13 (latest)",
4+
"version": "0.13.0",
5+
"url": "https://fastobo.readthedocs.io/en/v0.13.0/"
6+
},
7+
{
8+
"name": "v0.12",
49
"version": "0.12.3",
510
"url": "https://fastobo.readthedocs.io/en/v0.12.3/"
611
}

0 commit comments

Comments
 (0)