Finsy

Latest version: v0.27.0

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

Scan your dependencies

Page 1 of 5

0.27.0

- Update `P4Runtime` protobufs to the 1.4.1 release.
- Update dependencies to `grpcio` 1.67.1 and `protobuf` 5.28.3.
- Include CI testing support for Python 3.13.
- In test code, update pytest-asyncio to the latest version.

0.26.0

- Replace the `manager` property in the `Switch` class with `stash` and constrain the type to `dict[str, Any]`.
- Add the `stash` keyword argument to the `Switch.__init__` method.
- Remove the `configuration` property from the `SwitchOptions` class. (Use the Switch `stash` property instead.)
- The `control_task` property of the `Switch` class is now private (`_control_task`).
- Add the `pkg_info` accessor to `P4Schema`.
- The `Switch`, `SwitchOptions` and `Controller` classes are now `final`; they are not intended to be subclassed.
- Update the `protoc` compiler to 1.65.0 and re-compile all protobuf files.
- Update protobuf files from upstream; the `v1.p4info.proto` file now includes the PlatformProperties field in PkgInfo.

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.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.