Commit graph

15 commits

Author SHA1 Message Date
Maximilian Nitsch
db72d1f1bd ud3tn-utils: Add SQLiteAgent Protobuf bindings
Adds protobuf Python language bindings and a build target to create them
to the python-ud3tn-utils package.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-04-15 11:05:21 +02:00
Felix Walter
00be534830 python: Bump version to v0.13.0
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-12-22 11:36:43 +01:00
Maximilian Nitsch
5c8cfedf33 python: Update pinned dependencies
- pyd3tn: Fix pinned cbor version
- python-ud3tn-utils: Update protobuf to version 2.24.4
- tools: Update flake8 to version 6.1.0

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-12-22 11:22:31 +01:00
Maximilian Nitsch
f7856db8fb python: Update minimum required python version
Updates the minimum required Python version to 3.8, as 3.7 is EOL.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-12-22 11:22:31 +01:00
Maximilian Nitsch
a84501cf03 ud3tn-utils: Set the minimum required Python version to >=3.7
protobuf==4.21.12 requires python>=3.7[^1]. To resolve the version
conflict between μD3TN and the protobuf package, the required minimum
Python version is set to >=3.7.

[^1]: https://pypi.org/project/protobuf/4.21.12/

Closes: #153
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-11-16 17:02:33 +01:00
Maximilian Nitsch
8f55444280 nix+ud3tn-utils: Use protobuf==4.21.12
Since protobuf==4.24.4 is not (currently) part of nixpkgs, but
protobuf==4.21.12, the pinned version is changed to reduce the effort
for packaging version 4.24.4 itself.

The protobuf Python language bindings have been regenerated to
incorporate the changes from the modified version.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2023-11-16 17:02:33 +01:00
Felix Walter
82d90da82b python-ud3tn-utils: Add new modules to setup.py
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-11-09 14:33:48 +01:00
Felix Walter
22c6511a03 Pin version of protobuf Python dependency
See: #145, !126

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-11-08 15:11:53 +01:00
Felix Walter
a81f481e22 python-ud3tn-utils, tools: Add basic AAP2 tooling (send, receive, ping)
This adds adapted versions of `aap_send.py`, `aap_receive.py`, and
`aap_ping.py` for AAP2 and implements the required client classes in
the `ud3tn_utils` module.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-11-08 15:11:52 +01:00
Felix Walter
7276aa7de9 python: Bump version to v0.12.0
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2023-05-23 10:59:20 +02:00
Felix Walter
83b1b07186 python: Bump version to 0.11.0 2022-03-04 21:10:44 +01:00
Georg Alexander Murzik
298431c68f Insert SPDX license expression comments into our .c, .h, .py, and .sh code
ud3tn is available under multiple licenses and we want to reflect this in
our source code. But which license information should appear first and how
can we manage this efficiently in the future? The Linux Kernel uses SPDX
expressions instead of boilerplate sections. This seems to be a great
approach, so we do the same here.

Signed-off-by: Georg Alexander Murzik <georg.murzik@d3tn.com>
2022-02-20 16:24:38 +01:00
Felix Walter
f1024de0ea
python: Bump version to 0.10.0
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2021-09-24 12:45:09 +02:00
Felix Walter
baa58a7d4b
python: Bump version to 0.9.0
The first release will be v0.9.0 to continue with the µPCN history.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2020-11-19 18:52:42 +01:00
Maximilian Nitsch
45bbccebb6 Prepare PyPi packages
To distribute the pyD3TN DTN protocol implementations as well as the
uD3TN python utilities on PyPi, the Python code is organized in separate
directories and the PyPi packaging guideline is applied. The
restructuring also requires an adjustment of the imports in the scripts
in tools/ and test/.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2020-11-19 12:38:39 +01:00