katcp-codec 0.2.1__tar.gz → 0.3.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.
Files changed (53) hide show
  1. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.github/workflows/test.yml +29 -29
  2. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.pre-commit-config.yaml +6 -6
  3. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.readthedocs.yml +2 -2
  4. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/Cargo.lock +252 -371
  5. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/Cargo.toml +4 -4
  6. {katcp_codec-0.2.1/python/katcp_codec.egg-info → katcp_codec-0.3.0}/PKG-INFO +5 -13
  7. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/crates/fsm/Cargo.lock +30 -62
  8. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/crates/fsm/Cargo.toml +2 -2
  9. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/changelog.rst +14 -0
  10. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/installation.rst +1 -1
  11. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc-requirements.txt +6 -6
  12. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/pyproject.toml +7 -14
  13. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec/__init__.py +6 -11
  14. {katcp_codec-0.2.1 → katcp_codec-0.3.0/python/katcp_codec.egg-info}/PKG-INFO +5 -13
  15. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec.egg-info/SOURCES.txt +2 -0
  16. katcp_codec-0.3.0/python/katcp_codec.egg-info/requires.txt +1 -0
  17. katcp_codec-0.3.0/python/katcp_codec.egg-info/scm_file_list.json +46 -0
  18. katcp_codec-0.3.0/python/katcp_codec.egg-info/scm_version.json +8 -0
  19. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/tests/test_parse.py +1 -2
  20. katcp_codec-0.3.0/requirements.txt +68 -0
  21. katcp_codec-0.2.1/python/katcp_codec.egg-info/requires.txt +0 -11
  22. katcp_codec-0.2.1/requirements.txt +0 -63
  23. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.ci/before_all_linux.sh +0 -0
  24. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.github/dependabot.yml +0 -0
  25. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/.gitignore +0 -0
  26. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/README.md +0 -0
  27. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/benches/bench_format.rs +0 -0
  28. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/benches/bench_parse.rs +0 -0
  29. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/build.rs +0 -0
  30. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/crates/fsm/src/lib.rs +0 -0
  31. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/.gitignore +0 -0
  32. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/Makefile +0 -0
  33. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/conf.py +0 -0
  34. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/design.rst +0 -0
  35. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/index.rst +0 -0
  36. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/introduction.rst +0 -0
  37. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/katcp_codec.rst +0 -0
  38. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/modules.rst +0 -0
  39. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/doc/usage.rst +0 -0
  40. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec/_lib.pyi +0 -0
  41. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec/py.typed +0 -0
  42. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec.egg-info/dependency_links.txt +0 -0
  43. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/katcp_codec.egg-info/top_level.txt +0 -0
  44. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/tests/test_format.py +0 -0
  45. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/python/tests/test_message.py +0 -0
  46. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/setup.cfg +0 -0
  47. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/binding.rs +0 -0
  48. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/format.rs +0 -0
  49. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/lib.rs +0 -0
  50. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/message.rs +0 -0
  51. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/parse.rs +0 -0
  52. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/tables.rs +0 -0
  53. {katcp_codec-0.2.1 → katcp_codec-0.3.0}/src/test.rs +0 -0
@@ -4,15 +4,15 @@ concurrency:
4
4
  group: test-${{ github.ref }}
5
5
  cancel-in-progress: true
6
6
  env:
7
- RUST_VERSION: '1.96.0'
8
- MIN_PYTHON_VERSION: '3.8'
9
- MAX_PYTHON_VERSION: '3.14'
7
+ RUST_VERSION: '1.99.1'
8
+ MIN_PYTHON_VERSION: '3.10'
9
+ MAX_PYTHON_VERSION: '3.15'
10
10
  jobs:
11
11
  pre-commit:
12
- runs-on: ubuntu-24.04
12
+ runs-on: ubuntu-26.04
13
13
  steps:
14
- - uses: actions/checkout@v6
15
- - uses: actions/setup-python@v6
14
+ - uses: actions/checkout@v7
15
+ - uses: actions/setup-python@v7
16
16
  with:
17
17
  python-version: ${{ env.MAX_PYTHON_VERSION }}
18
18
  cache: 'pip'
@@ -27,10 +27,10 @@ jobs:
27
27
  run: pre-commit run --all-files
28
28
 
29
29
  docs:
30
- runs-on: ubuntu-24.04
30
+ runs-on: ubuntu-26.04
31
31
  steps:
32
- - uses: actions/checkout@v6
33
- - uses: actions/setup-python@v6
32
+ - uses: actions/checkout@v7
33
+ - uses: actions/setup-python@v7
34
34
  with:
35
35
  python-version: ${{ env.MAX_PYTHON_VERSION }}
36
36
  cache: 'pip'
@@ -49,10 +49,10 @@ jobs:
49
49
  run: SPHINX_OPTS="-W --keep-going" make -C doc html
50
50
 
51
51
  rust-tests:
52
- runs-on: ubuntu-24.04
52
+ runs-on: ubuntu-26.04
53
53
  steps:
54
- - uses: actions/checkout@v6
55
- - uses: actions/setup-python@v6
54
+ - uses: actions/checkout@v7
55
+ - uses: actions/setup-python@v7
56
56
  with:
57
57
  python-version: ${{ env.MAX_PYTHON_VERSION }}
58
58
  - uses: dtolnay/rust-toolchain@v1
@@ -68,11 +68,11 @@ jobs:
68
68
  strategy:
69
69
  fail-fast: false
70
70
  matrix:
71
- python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
72
- runs-on: ubuntu-24.04
71
+ python: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
72
+ runs-on: ubuntu-26.04
73
73
  steps:
74
- - uses: actions/checkout@v6
75
- - uses: actions/setup-python@v6
74
+ - uses: actions/checkout@v7
75
+ - uses: actions/setup-python@v7
76
76
  with:
77
77
  python-version: ${{ matrix.python }}
78
78
  cache: 'pip'
@@ -93,16 +93,16 @@ jobs:
93
93
  fail-fast: false
94
94
  matrix:
95
95
  arch: [x86_64, aarch64]
96
- python: [cp38, cp39, cp310, cp311] # From 3.11 we can use the limited ABI
96
+ python: [cp310, cp311] # From 3.11 we can use the limited ABI
97
97
  # Set os based on arch
98
98
  include:
99
99
  - arch: x86_64
100
- os: ubuntu-24.04
100
+ os: ubuntu-26.04
101
101
  - arch: aarch64
102
- os: ubuntu-24.04-arm
102
+ os: ubuntu-26.04-arm
103
103
  runs-on: ${{ matrix.os }}
104
104
  steps:
105
- - uses: actions/checkout@v6
105
+ - uses: actions/checkout@v7
106
106
  with:
107
107
  fetch-depth: 0
108
108
  - uses: dtolnay/rust-toolchain@v1
@@ -124,12 +124,12 @@ jobs:
124
124
  fail-fast: false
125
125
  matrix:
126
126
  arch: [x86_64, arm64]
127
- python: [cp38, cp39, cp310, cp311] # From 3.11 we can use the limited ABI
127
+ python: [cp310, cp311] # From 3.11 we can use the limited ABI
128
128
  env:
129
129
  MACOSX_DEPLOYMENT_TARGET: "10.12" # Seems to be needed due to Rust version
130
- runs-on: macos-14
130
+ runs-on: macos-26
131
131
  steps:
132
- - uses: actions/checkout@v6
132
+ - uses: actions/checkout@v7
133
133
  with:
134
134
  fetch-depth: 0
135
135
  - uses: dtolnay/rust-toolchain@v1
@@ -139,13 +139,13 @@ jobs:
139
139
  - name: Install x86_64 Rust compiler
140
140
  run: rustup target add x86_64-apple-darwin
141
141
  if: matrix.arch == 'x86_64'
142
- - uses: actions/setup-python@v6
142
+ - uses: actions/setup-python@v7
143
143
  with:
144
144
  python-version: ${{ env.MAX_PYTHON_VERSION }}
145
145
  cache: 'pip'
146
146
  - name: Install pipx
147
147
  run: pip install pipx
148
- - uses: pypa/cibuildwheel@v3.4.0
148
+ - uses: pypa/cibuildwheel@v4.3.5
149
149
  env:
150
150
  CIBW_ARCHS: ${{ matrix.arch }}
151
151
  CIBW_BUILD: ${{ matrix.python }}-macos*
@@ -155,12 +155,12 @@ jobs:
155
155
  path: ./wheelhouse/*.whl
156
156
 
157
157
  sdist:
158
- runs-on: ubuntu-24.04
158
+ runs-on: ubuntu-26.04
159
159
  steps:
160
- - uses: actions/checkout@v6
160
+ - uses: actions/checkout@v7
161
161
  with:
162
162
  fetch-depth: 0
163
- - uses: actions/setup-python@v6
163
+ - uses: actions/setup-python@v7
164
164
  with:
165
165
  python-version: ${{ env.MIN_PYTHON_VERSION }}
166
166
  cache: 'pip'
@@ -175,7 +175,7 @@ jobs:
175
175
 
176
176
  combine-wheels:
177
177
  needs: [linux-wheels, macos-wheels, sdist]
178
- runs-on: ubuntu-24.04
178
+ runs-on: ubuntu-26.04
179
179
  steps:
180
180
  - name: Create paths
181
181
  run: mkdir -p dist wheelhouse
@@ -5,12 +5,12 @@ repos:
5
5
  - id: fmt
6
6
  - id: clippy
7
7
  - repo: https://github.com/astral-sh/ruff-pre-commit
8
- rev: v0.14.2
8
+ rev: v0.17.3
9
9
  hooks:
10
10
  - id: ruff-check
11
11
  - id: ruff-format
12
12
  - repo: https://github.com/pre-commit/mirrors-mypy
13
- rev: v1.18.2
13
+ rev: v2.4.1
14
14
  hooks:
15
15
  - id: mypy
16
16
  # Passing filenames to mypy can do odd things.
@@ -19,14 +19,14 @@ repos:
19
19
  # The pre-commit hook passes some options, but we set options in pyproject.toml.
20
20
  args: []
21
21
  additional_dependencies:
22
- - pytest==8.3.5
22
+ - pytest==9.2.0
23
23
  - repo: https://github.com/astral-sh/uv-pre-commit
24
- rev: 0.9.8
24
+ rev: 0.13.7
25
25
  hooks:
26
26
  - id: pip-compile
27
- args: ["--output-file=requirements.txt", "--python-version=3.8", "--universal", "--extra=dev", "pyproject.toml"]
27
+ args: ["--output-file=requirements.txt", "--python-version=3.10", "--universal", "--group=dev", "pyproject.toml"]
28
28
  files: '^(pyproject\.toml|requirements\.txt)$'
29
29
  - id: pip-compile
30
30
  name: pip-compile doc-requirements
31
- args: ["--output-file=doc-requirements.txt", "--python-version=3.12", "--extra=doc", "pyproject.toml"]
31
+ args: ["--output-file=doc-requirements.txt", "--python-version=3.12", "--group=doc", "pyproject.toml"]
32
32
  files: '^(pyproject\.toml|doc-requirements\.txt)$'
@@ -18,12 +18,12 @@ version: 2
18
18
  sphinx:
19
19
  configuration: doc/conf.py
20
20
  build:
21
- os: ubuntu-24.04
21
+ os: ubuntu-26.04
22
22
  apt_packages:
23
23
  - pdf2svg # For sphinxcontrib-tikz
24
24
  tools:
25
25
  python: "3.12"
26
- rust: "1.86"
26
+ rust: "1.96"
27
27
 
28
28
  python:
29
29
  install: