pybgpkit-parser 0.18.0__tar.gz → 0.25.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/.github/workflows/release.yml +6 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/.github/workflows/rust.yaml +1 -1
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/.gitignore +3 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/CHANGELOG.md +26 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/Cargo.lock +409 -460
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/Cargo.toml +2 -2
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/PKG-INFO +1 -1
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/AGENTS.md +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/BUILD.md +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/LICENSE +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/README.md +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/benches/parse_bench.rs +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/build.rs +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/examples/filter_count_print.py +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/pyproject.toml +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/src/lib.rs +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/tests/benchmark.py +0 -0
- {pybgpkit_parser-0.18.0 → pybgpkit_parser-0.25.0}/tests/test_api.py +0 -0
|
@@ -49,6 +49,12 @@ jobs:
|
|
|
49
49
|
strategy:
|
|
50
50
|
fail-fast: false
|
|
51
51
|
matrix:
|
|
52
|
+
# `os` picks the runner, `target` the wheel it produces, and on macOS the two
|
|
53
|
+
# differ: every GitHub macOS image with a plain name is arm64, so the x86_64
|
|
54
|
+
# wheel is cross-compiled on the arm64 macos-15 runner. `macos-latest` is the
|
|
55
|
+
# macOS 26 arm64 image and moves with GitHub's image rollover, which is why the
|
|
56
|
+
# arm64 job tracks it while the x86_64 job names its runner. A native Intel
|
|
57
|
+
# build would need macos-15-intel, a smaller pool.
|
|
52
58
|
include:
|
|
53
59
|
- os: ubuntu-latest
|
|
54
60
|
target: x86_64
|
|
@@ -29,7 +29,7 @@ jobs:
|
|
|
29
29
|
- name: Install test tools
|
|
30
30
|
run: python -m pip install --upgrade pip maturin pytest pytest-benchmark
|
|
31
31
|
- name: Build wheel
|
|
32
|
-
run: maturin build --release --out dist
|
|
32
|
+
run: rm -rf dist && maturin build --release --out dist
|
|
33
33
|
- name: Install built wheel
|
|
34
34
|
run: python -m pip install --force-reinstall dist/*.whl
|
|
35
35
|
- name: Run Python API tests (unit)
|
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## v0.25.0 - 2026-11-30
|
|
6
|
+
|
|
7
|
+
### Highlights
|
|
8
|
+
|
|
9
|
+
* Update `bgpkit-parser` to v0.25.0. The release replaces the record-framing core: a full-table
|
|
10
|
+
element count on an rrc00 RIB drops from 39.8 s to 2.3 s, and borrowed element views remove the
|
|
11
|
+
per-record attribute copies on the RIB path. Python callers see the same API and the same
|
|
12
|
+
elements, faster.
|
|
13
|
+
* The element fixes from the 0.25 line are included: duplicate path attributes resolve first-wins on
|
|
14
|
+
every element path exactly as the accessors do, `AGGREGATOR` and `AS4_AGGREGATOR` decode at their
|
|
15
|
+
own width, TABLE_DUMP v1 elements merge `AS4_PATH` while keeping the confederation segments RFC
|
|
16
|
+
6793 requires, and a truncated attribute no longer satisfies the mandatory-attribute check.
|
|
17
|
+
* BMP version 4 peers keep their ADD-PATH state, and the BMP session key includes the peer type.
|
|
18
|
+
|
|
19
|
+
## v0.24.0 - 2026-11-06
|
|
20
|
+
|
|
21
|
+
### Highlights
|
|
22
|
+
|
|
23
|
+
* Update `bgpkit-parser` to v0.24.0.
|
|
24
|
+
* Withdrawals are no longer lost when an NLRI list starts with a default route: the parser read the
|
|
25
|
+
leading `/0` as an ADD-PATH path identifier, so a message whose withdrawn list began with
|
|
26
|
+
`0.0.0.0/0` or `::/0` dropped prefixes, sometimes all of them. Python callers see the missing
|
|
27
|
+
withdrawals appear in `Parser` output; no API change.
|
|
28
|
+
* The underlying parser also decodes EVPN NLRI (AFI 25 / SAFI 70) and carries the new `Afi`/`Safi`
|
|
29
|
+
families. The Python surface is unchanged.
|
|
30
|
+
|
|
5
31
|
## v0.18.0 - 2026-07-02
|
|
6
32
|
|
|
7
33
|
### Highlights
|