Finsy

Latest version: v0.25.0

Safety actively analyzes 621469 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.25.0

- The `match_dict`, `match_str` and `action_str` formatting methods now require a P4Schema argument. Removed P4Schema's context manager API. (499)
- Add support for serializable enums in P4Schema.
- Add port of `flowcache` example that uses serializable enums.
- Add port of basic forwarding example from the P4lang tutorial.
- Re-compile example P4 programs with the latest P4c compiler. Replace file extension `p4info.txt` with `p4info.txtpb` (501).
- Make `shellous` an optional dependency that can be installed as an extra: `pip install finsy[demonet]` (502).
- Fix issue in CI testing which led to an ERROR log message when shutting down GNMIServer testing. (505)
- When using `black` in CI testing, call it as a library function, not a subprocess. This fixes an occasional thread-related hang on MacOS in CI testing.
- Incorporate the latest changes to `gnmi.proto` and `gnmi_ext.proto`. Upgrade protobuf compiler toolchain and re-compile all protobuf files. Bring "relative path" patch-file up to date.
- Update the demonet docker image: include gpg (for codecov), update ubuntu base tag, and update the mn-stratum base hash. Use latest demonet 24.04 build for CI testing.
- Add the `--with-mac` argument to the `Demonet` class to include the MAC address of hosts when drawing the network map.
- Update doc comments for the Switch, SwitchOptions and Controller classes.
- Improve reliability of CI testing and fix minor typing issues.
- Update dependencies.

0.24.0

- Update protobuf dependency and development dependencies.
- Update the demonet image tag used for testing to 24.01.
- Update black formatter to 24.1.1 and re-format source code.

0.23.0

- The Demonet class will only run Mininet locally if it detects the script is running inside the special DEMONET docker image.
- Add CI support for Windows.
- Update development dependencies.
- Update publish.yml CI action to use trusted publishing.

0.22.0

- Update project dependencies.
- Fix some typing warnings from pyright.

0.21.0

- Update P4Runtime protobuf files.
- Add the `metadata` property to `P4MulticastGroupEntry`.
- Update project dependencies. Add support for Python 3.12.
- Apply security best practices to CI builds.

0.20.0

- Add support for `P4ExternEntry`.
- Add `Match`, `Action` and `IndirectAction` as aliases for `P4TableMatch`, `P4TableAction`, and `P4IndirectAction`.
- The `Controller.remove` method now returns an `asyncio.Event` to signal when a Switch is fully removed.
- Rename the internal `pbuf.py` module to `pbutil.py`.
- Add a CI step to run tests under valgrind/extra-logging to stress test C-based grpc underpinnings.
- Update project dependencies.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.