Openfisca-core

Latest version: v41.4.5

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

Scan your dependencies

Page 22 of 60

34.0.0

Technical changes

- Use pytest instead of nose in `openfica test`

Breaking changes

- Remove `generate_tests` function from `openfisca_core.tools.test_runner`:
- While this function was public and documented, its purpose was primarily internal and is unlikely to have been directly used by users.

33.0.1

- Improve error message when too many persons are given a role with a `max` attribute
- This error typically happens when 3 parents are declared in a family, while the entity declaration specifies there can be at most 2.

33.0.0

Breaking changes

- Duplicate keys in YAML parameter files now raise an error
- Before, only one of the two values declared was taking into account, while the other was silently ignored

32.1.1

- Fix host in the `/spec` route of the Web API
- The host should not include the HTTP scheme (http or https)

32.1.0

- Display symbolic values of Enums in /trace and print_computation_log

32.0.0

Breaking changes

- Split the "Entity" class hierarchy (Entity, PersonEntity, GroupEntity) into two parallel hierarchies, representing respectively the abstract, model-level information (classes named Entity etc.) and the population-level information (classes named Population and GroupPopulation)
- As a result, the first parameter passed to a formula is now a Population instance
- Much more detail (and class diagrams) in the PR description
- Remove support from the syntax `some_entity.SOME_ROLE` to access roles (where `some_entity` is the entity passed to a formula).

Migration details

- Use the standard SomeEntity.SOME_ROLE instead. (Where SomeEntity is the capitalized entity or instance, Household.PARENT.)
- Code that relied excessively on internal implementation details of Entity may break, and should be updated to access methods of Entity/Population instead.

Page 22 of 60

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.