Skip to content

Commit 55c6c37

Browse files
committed
Release v0.3.0
1 parent df31147 commit 55c6c37

File tree

5 files changed

+43
-17
lines changed

5 files changed

+43
-17
lines changed

.github/workflows/python.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ jobs:
77

88
wheel-linux-aarch64:
99
name: Build Linux wheels (Aarch64)
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04-arm
1111
if: "startsWith(github.ref, 'refs/tags/v')"
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up QEMU
15-
id: qemu
16-
uses: docker/setup-qemu-action@v3
17-
with:
18-
platforms: all
14+
#- name: Set up QEMU
15+
# id: qemu
16+
# uses: docker/setup-qemu-action@v3
17+
# with:
18+
# platforms: all
1919
- name: Build manylinux wheels
20-
uses: pypa/cibuildwheel@v2.21.3
20+
uses: pypa/cibuildwheel@v2.22.0
2121
env:
2222
CIBW_ARCHS: aarch64
2323
CIBW_BUILD: 'cp*-manylinux_aarch64'
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v4
3636
- name: Build manylinux wheels
37-
uses: pypa/cibuildwheel@v2.21.3
37+
uses: pypa/cibuildwheel@v2.22.0
3838
env:
3939
CIBW_ARCHS: x86_64
4040
CIBW_BUILD: 'cp*-manylinux_x86_64'
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
targets: x86_64-apple-darwin
5656
- name: Build manylinux wheels
57-
uses: pypa/cibuildwheel@v2.21.3
57+
uses: pypa/cibuildwheel@v2.22.0
5858
env:
5959
CIBW_ARCHS: x86_64
6060
CIBW_BUILD: 'cp*-macosx_x86_64'
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
targets: aarch64-apple-darwin
7878
- name: Build manylinux wheels
79-
uses: pypa/cibuildwheel@v2.21.3
79+
uses: pypa/cibuildwheel@v2.22.0
8080
env:
8181
CIBW_ARCHS: arm64
8282
CIBW_BUILD: 'cp*-macosx_arm64'

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77

88
## [Unreleased]
9-
[Unreleased]: https://github.com/althonos/uniprot.rs/compare/v0.2.0...HEAD
9+
[Unreleased]: https://github.com/althonos/uniprot.rs/compare/v0.3.0...HEAD
10+
11+
12+
## [v0.3.0] - 2024-01-31
13+
[v0.3.0]: https://github.com/althonos/uniprot.rs/compare/v0.2.0...v0.3.0
14+
15+
### `nafcodec`
16+
17+
#### Changed
18+
- Update `nom` to `v8.0`.
19+
20+
#### Fixed
21+
- `Encoder::push` potentially recording length twice when given both sequence and quality string.
22+
- `SequenceWriter::write` not correctly reporting the number of bytes written for a sequence ([#3](https://github.com/althonos/nafcodec/issues/3)).
23+
24+
25+
### `nafcodec-py`
26+
27+
#### Changed
28+
- Update `pyo3` to `v0.23`.
29+
- Drop compilation of `tempfile` in `nafcodec-py` wrapper.
30+
- Make fields of `Record` struct copy-on-write.
31+
- Avoid copying data from Python heap in `Encoder`.
32+
- Use `maturin` instead of `setuptools-rust` to build the Python wheels.
33+
34+
#### Fixed
35+
- Use `std::os::raw::c_char` to fix Aarch64 build ([#2](https://github.com/althonos/nafcodec/issues/2)).
1036

1137

1238
## [v0.2.0] - 2024-04-10

nafcodec-py/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nafcodec-py"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Martin Larralde <[email protected]>"]
55
edition = "2021"
66
license = "MIT"
@@ -23,7 +23,7 @@ features = ["chrono", "cargo-lock"]
2323

2424
[dependencies.nafcodec]
2525
path = "../nafcodec"
26-
version = "0.2.0"
26+
version = "0.3.0"
2727
default-features = false
2828
features = ["arc"]
2929
[dependencies]

nafcodec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nafcodec"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Martin Larralde <[email protected]>"]
55
edition = "2021"
66
license = "MIT"

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "PyO3 bindings and Python interface to nafcodec, an encoder/decoder for Nucleotide Archive Format (NAF) files."
99
readme = 'nafcodec-py/README.md'
1010
requires-python = ">=3.7"
11-
license = "MIT"
11+
license = { file = "nafcodec-py/COPYING" }
1212
authors = [
1313
{ name = "Martin Larralde", email = "[email protected]" },
1414
]
@@ -35,8 +35,8 @@ classifiers = [
3535
"Typing :: Typed"
3636
]
3737

38-
[project.license-files]
39-
paths = [ "COPYING" ]
38+
#[project.license-files]
39+
#paths = [ "nafcodec-py/COPYING" ]
4040

4141
[project.urls]
4242
"Home Page" = "https://github.com/althonos/nafcodec/"

0 commit comments

Comments
 (0)