katcp-codec 0.2.0__tar.gz → 0.2.2__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 (51) hide show
  1. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.github/workflows/test.yml +26 -26
  2. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.pre-commit-config.yaml +5 -5
  3. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/Cargo.lock +443 -286
  4. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/Cargo.toml +2 -2
  5. {katcp_codec-0.2.0/python/katcp_codec.egg-info → katcp_codec-0.2.2}/PKG-INFO +1 -1
  6. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/crates/fsm/Cargo.lock +26 -58
  7. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/crates/fsm/Cargo.toml +1 -1
  8. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/crates/fsm/src/lib.rs +6 -1
  9. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/changelog.rst +10 -0
  10. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc-requirements.txt +18 -22
  11. {katcp_codec-0.2.0 → katcp_codec-0.2.2/python/katcp_codec.egg-info}/PKG-INFO +1 -1
  12. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec.egg-info/SOURCES.txt +2 -0
  13. katcp_codec-0.2.2/python/katcp_codec.egg-info/scm_file_list.json +46 -0
  14. katcp_codec-0.2.2/python/katcp_codec.egg-info/scm_version.json +8 -0
  15. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/requirements.txt +24 -9
  16. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.ci/before_all_linux.sh +0 -0
  17. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.github/dependabot.yml +0 -0
  18. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.gitignore +0 -0
  19. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/.readthedocs.yml +0 -0
  20. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/README.md +0 -0
  21. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/benches/bench_format.rs +0 -0
  22. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/benches/bench_parse.rs +0 -0
  23. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/build.rs +0 -0
  24. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/.gitignore +0 -0
  25. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/Makefile +0 -0
  26. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/conf.py +0 -0
  27. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/design.rst +0 -0
  28. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/index.rst +0 -0
  29. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/installation.rst +0 -0
  30. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/introduction.rst +0 -0
  31. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/katcp_codec.rst +0 -0
  32. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/modules.rst +0 -0
  33. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/doc/usage.rst +0 -0
  34. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/pyproject.toml +0 -0
  35. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec/__init__.py +0 -0
  36. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec/_lib.pyi +0 -0
  37. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec/py.typed +0 -0
  38. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec.egg-info/dependency_links.txt +0 -0
  39. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec.egg-info/requires.txt +0 -0
  40. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/katcp_codec.egg-info/top_level.txt +0 -0
  41. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/tests/test_format.py +0 -0
  42. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/tests/test_message.py +0 -0
  43. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/python/tests/test_parse.py +0 -0
  44. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/setup.cfg +0 -0
  45. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/binding.rs +0 -0
  46. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/format.rs +0 -0
  47. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/lib.rs +0 -0
  48. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/message.rs +0 -0
  49. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/parse.rs +0 -0
  50. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/tables.rs +0 -0
  51. {katcp_codec-0.2.0 → katcp_codec-0.2.2}/src/test.rs +0 -0
@@ -4,17 +4,17 @@ concurrency:
4
4
  group: test-${{ github.ref }}
5
5
  cancel-in-progress: true
6
6
  env:
7
- RUST_VERSION: '1.88.0'
7
+ RUST_VERSION: '1.96.0'
8
8
  MIN_PYTHON_VERSION: '3.8'
9
- MAX_PYTHON_VERSION: '3.12'
9
+ MAX_PYTHON_VERSION: '3.14'
10
10
  jobs:
11
11
  pre-commit:
12
12
  runs-on: ubuntu-24.04
13
13
  steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-python@v5
14
+ - uses: actions/checkout@v7
15
+ - uses: actions/setup-python@v6
16
16
  with:
17
- python-version: ${{ env.MIN_PYTHON_VERSION }}
17
+ python-version: ${{ env.MAX_PYTHON_VERSION }}
18
18
  cache: 'pip'
19
19
  - uses: dtolnay/rust-toolchain@v1
20
20
  with:
@@ -29,10 +29,10 @@ jobs:
29
29
  docs:
30
30
  runs-on: ubuntu-24.04
31
31
  steps:
32
- - uses: actions/checkout@v4
33
- - uses: actions/setup-python@v5
32
+ - uses: actions/checkout@v7
33
+ - uses: actions/setup-python@v6
34
34
  with:
35
- python-version: ${{ env.MIN_PYTHON_VERSION }}
35
+ python-version: ${{ env.MAX_PYTHON_VERSION }}
36
36
  cache: 'pip'
37
37
  - uses: dtolnay/rust-toolchain@v1
38
38
  with:
@@ -51,8 +51,8 @@ jobs:
51
51
  rust-tests:
52
52
  runs-on: ubuntu-24.04
53
53
  steps:
54
- - uses: actions/checkout@v4
55
- - uses: actions/setup-python@v5
54
+ - uses: actions/checkout@v7
55
+ - uses: actions/setup-python@v6
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']
71
+ python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
72
72
  runs-on: ubuntu-24.04
73
73
  steps:
74
- - uses: actions/checkout@v4
75
- - uses: actions/setup-python@v5
74
+ - uses: actions/checkout@v7
75
+ - uses: actions/setup-python@v6
76
76
  with:
77
77
  python-version: ${{ matrix.python }}
78
78
  cache: 'pip'
@@ -102,18 +102,18 @@ jobs:
102
102
  os: ubuntu-24.04-arm
103
103
  runs-on: ${{ matrix.os }}
104
104
  steps:
105
- - uses: actions/checkout@v4
105
+ - uses: actions/checkout@v7
106
106
  with:
107
107
  fetch-depth: 0
108
108
  - uses: dtolnay/rust-toolchain@v1
109
109
  with:
110
110
  toolchain: ${{ env.RUST_VERSION }}
111
111
  - uses: Swatinem/rust-cache@v2
112
- - uses: pypa/cibuildwheel@v3.1.3
112
+ - uses: pypa/cibuildwheel@v3.4.0
113
113
  env:
114
114
  CIBW_ARCHS: ${{ matrix.arch }}
115
115
  CIBW_BUILD: ${{ matrix.python }}-manylinux*
116
- - uses: actions/upload-artifact@v4
116
+ - uses: actions/upload-artifact@v7
117
117
  with:
118
118
  name: wheel_linux-${{ matrix.arch }}-${{ matrix.python }}
119
119
  path: ./wheelhouse/*.whl
@@ -129,7 +129,7 @@ jobs:
129
129
  MACOSX_DEPLOYMENT_TARGET: "10.12" # Seems to be needed due to Rust version
130
130
  runs-on: macos-14
131
131
  steps:
132
- - uses: actions/checkout@v4
132
+ - uses: actions/checkout@v7
133
133
  with:
134
134
  fetch-depth: 0
135
135
  - uses: dtolnay/rust-toolchain@v1
@@ -139,17 +139,17 @@ 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@v5
142
+ - uses: actions/setup-python@v6
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.1.3
148
+ - uses: pypa/cibuildwheel@v3.4.0
149
149
  env:
150
150
  CIBW_ARCHS: ${{ matrix.arch }}
151
151
  CIBW_BUILD: ${{ matrix.python }}-macos*
152
- - uses: actions/upload-artifact@v4
152
+ - uses: actions/upload-artifact@v7
153
153
  with:
154
154
  name: wheel_macos-${{ matrix.arch }}-${{ matrix.python }}
155
155
  path: ./wheelhouse/*.whl
@@ -157,10 +157,10 @@ jobs:
157
157
  sdist:
158
158
  runs-on: ubuntu-24.04
159
159
  steps:
160
- - uses: actions/checkout@v4
160
+ - uses: actions/checkout@v7
161
161
  with:
162
162
  fetch-depth: 0
163
- - uses: actions/setup-python@v5
163
+ - uses: actions/setup-python@v6
164
164
  with:
165
165
  python-version: ${{ env.MIN_PYTHON_VERSION }}
166
166
  cache: 'pip'
@@ -168,7 +168,7 @@ jobs:
168
168
  run: pip install -c requirements.txt build
169
169
  - name: build sdist
170
170
  run: python -m build --sdist .
171
- - uses: actions/upload-artifact@v4
171
+ - uses: actions/upload-artifact@v7
172
172
  with:
173
173
  name: sdist
174
174
  path: ./dist/*.tar.gz
@@ -179,17 +179,17 @@ jobs:
179
179
  steps:
180
180
  - name: Create paths
181
181
  run: mkdir -p dist wheelhouse
182
- - uses: actions/download-artifact@v4
182
+ - uses: actions/download-artifact@v8
183
183
  with:
184
184
  pattern: wheel_*
185
185
  path: wheelhouse/
186
186
  merge-multiple: true
187
- - uses: actions/download-artifact@v4
187
+ - uses: actions/download-artifact@v8
188
188
  with:
189
189
  name: sdist
190
190
  path: dist/
191
191
  merge-multiple: true
192
- - uses: actions/upload-artifact@v4
192
+ - uses: actions/upload-artifact@v7
193
193
  with:
194
194
  name: release
195
195
  path: |
@@ -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.12.5
8
+ rev: v0.14.2
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.14.1
13
+ rev: v1.18.2
14
14
  hooks:
15
15
  - id: mypy
16
16
  # Passing filenames to mypy can do odd things.
@@ -21,12 +21,12 @@ repos:
21
21
  additional_dependencies:
22
22
  - pytest==8.3.5
23
23
  - repo: https://github.com/astral-sh/uv-pre-commit
24
- rev: 0.8.5
24
+ rev: 0.9.8
25
25
  hooks:
26
26
  - id: pip-compile
27
- args: ["--output-file=requirements.txt", "--python-version=3.8", "--extra=dev", "pyproject.toml"]
27
+ args: ["--output-file=requirements.txt", "--python-version=3.8", "--universal", "--extra=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.8", "--extra=doc", "pyproject.toml"]
31
+ args: ["--output-file=doc-requirements.txt", "--python-version=3.12", "--extra=doc", "pyproject.toml"]
32
32
  files: '^(pyproject\.toml|doc-requirements\.txt)$'