Commonpy

Latest version: v1.12.4

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

Scan your dependencies

Page 2 of 8

1.10.0

Changes in this release:

* `data_utils.flattened` now outputs `[]` as the value of dict or mapping keys whose original values are an empty sequence (e.g., when the value of a dict key is `[]`). Previously, it would output `None` as the value, which was an unexpected transformation of the input.

Bug fixes in this release:

* Fixed a bug in `data_utils.flattened` that caused it to ignore the `separator` argument in some cases.
* Fixed a missing import of `freezegun` in `requirements-dev.txt`.
* Pin the imported version of regex 2022.3.2, because more recent versions cause calls to `dateparser` to encounter an error ("regex._regex_core.error: bad escape \d at position 7").

1.9.5

The main functional change in this release is that error objects returned by `net(...)` will have error message bodies returned by network services, where possible.

Internally, there has been some refactoring of the Makefile and addition of things like GitHub template files.

1.9.4

This release merely changes the version of httpx required by `requirements.txt`. No other changes.

1.9.3

This version adds a missing internal function definition in `download(...)`.

1.9.2

This version changes `pluralized` so that it outputs `0 items` instead of `0 item` if the number of its argument has length 0.

1.9.1

This version adds more test cases and splits out the requirements for testing/development into a separate requirements file, [`requirements-dev.txt`](requirements-dev.txt).

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.