Commit graph

17 commits

Author SHA1 Message Date
Maximilian Nitsch
f57a32fc67 python: set license-file in pyproject.toml
> SetuptoolsDeprecationWarning: `project.license` as a TOML table is
> deprecated
> Please use a simple string containing a SPDX expression for
> `project.license`. You can also use `project.license-files`.
> (Both options available on setuptools>=77.0.0).
> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
> for details.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2026-06-18 15:18:36 +02:00
Felix Walter
06ed9bffdb python, nix: Bump version to v0.15.0
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-05-12 11:52:27 +02:00
Felix Walter
4c3dec3b16 python-d3tn-utils: Add tool to track FIB changes
This can be used for debugging the FIB and as example for developing
tools dealing with FIB changes.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2026-03-23 08:36:16 +01:00
Felix Walter
88f48e6fdd python, nix: Bump version to v0.14.5
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-09-26 11:24:34 +02:00
Felix Walter
7868c6fe63 python, nix: Bump version to v0.14.4
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-08-22 14:36:15 +02:00
Felix Walter
77780672a5 Adjust license of Python modules and Protobuf to Apache/BSD
We want to be permissive concerning client code and alernative client
implementations. Thus, we re-license these parts under Apache 2.0 and
BSD licenses.

Note: D3TN has all rights to publish the relevant code under an
arbitrary license, thus, this change does not conflict with the previous
licensing scheme.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-08-15 14:41:42 +02:00
Felix Walter
521f4aeccc Bump version to v0.14.3
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2025-07-24 15:34:34 +02:00
Maximilian Nitsch
87c25c3e8a treewide: Bump python>=3.9
As Python 3.8 is end-of-life and the latest python-protobuf package
requires at least Python 3.9, the minimum Python version is set to 3.9.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2025-06-03 17:12:08 +02:00
Maximilian Nitsch
5b876778af pyd3tn+python-ud3tn-utils: Use dynamic dependencies
setuptools >= v62.5 supports dynamic dependencies, which allow to read
dependencies from a file. This prevents dependencies from being repeated
twice.

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-12-05 18:07:09 +01:00
Maximilian Nitsch
9ea10702c1 pyd3tn+python-ud3tn-utils: Update the dependencies to match the version from nixpkgs
Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-12-05 17:23:16 +01:00
Felix Walter
00b29cb9c2 Bump dates and versions for v0.14.2
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-12-04 11:00:42 +01:00
Felix Walter
2c0f29e547 Bump version to v0.14.1
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-10-28 09:47:24 +01:00
Felix Walter
1ffc2fec06 Bump version to v0.14.0 and update CHANGELOG and dates
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-10-01 09:27:50 +02:00
Felix Walter
53abba28a3 Bump version to v0.14.0-rc1
Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-07-16 22:50:45 +02:00
Maximilian Nitsch
9902fd072d python: Use cbor2 instead of the deprecated cbor library
Since the last update of the cbor[^1] library was in 2016 and the
repository no longer even exists, the cbor2[^2] python library is now
used instead.

[^1]: https://pypi.org/project/cbor/
[^2]: https://pypi.org/project/cbor2/

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-07-02 17:17:57 +02:00
Maximilian Nitsch
fa6d159d10 python-ud3tn-utils: Add AAP + AAP2 tools
- Moves `tools/aap` + `tools/aap2` to `python-ud3tn-utils/aap*/bin/` to
  add the scripts to the python package
- Adds a `main()` function to each script to reference it
- Define `logger` as global variable
- Adds a symbolic link to keep compatibility with existing tooling
- Moves `tools/aap/aap_test.py` to `test/functional/`
- Adds additional dependencies (pyd3tn, cbor) to python-ud3tn-utils and
  the corresponding nix package
- Add scripts to python-ud3tn-utils `pyproject.toml`

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-07-01 10:10:56 +02:00
Maximilian Nitsch
2055faa2b3 ud3tn_utils+pyd3tn: Migrate setup.py to pyproject.toml
`pyproject.toml` is the new unified Python project settings file
that replaces `setup.py` and other build-systems by introducing a
build-system independent format for source trees. The installation of
setuptools and wheel is no longer necessary as it is automatically
bootstrapped.

https://peps.python.org/pep-0517/

Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
2024-07-01 10:10:56 +02:00