Openfisca-core

Latest version: v43.3.5

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

Scan your dependencies

Page 5 of 66

42.0.4

Technical changes

- Fix conda test and publish
- Add matrix testing to CI
- Now it tests lower and upper bounds of python and numpy versions

42.0.3

Technical changes

- Add matrix testing to CI
- Now it tests lower and upper bounds of python and numpy versions

> Note: Version `42.0.3` has been unpublished as was deployed by mistake.
> Please use versions `42.0.4` and subsequents.

42.0.2

Documentation

- Fix bad indent

42.0.1

Documentation

- Fix documentation of `entities`

42.0.0

Breaking changes

- Changes to `eternity` instants and periods
- Eternity instants are now `<Instant(-1, -1, -1)>` instead of
`<Instant(inf, inf, inf)>`
- Eternity periods are now `<Period(('eternity', <Instant(-1, -1, -1)>, -1))>`
instead of `<Period(('eternity', <Instant(inf, inf, inf)>, inf))>`
- The reason is to avoid mixing data types: `inf` is a float, periods and
instants are integers. Mixed data types make memory optimisations impossible.
- Migration should be straightforward. If you have a test that checks for
`inf`, you should update it to check for `-1` or use the `is_eternal` method.
- `periods.instant` no longer returns `None`
- Now, it raises `periods.InstantError`

New features

- Introduce `Instant.eternity()`
- This behaviour was duplicated across
- Now it is encapsulated in a single method
- Introduce `Instant.is_eternal` and `Period.is_eternal`
- These methods check if the instant or period are eternity (`bool`).
- Now `periods.instant` parses also ISO calendar strings (weeks)
- For instance, `2022-W01` is now a valid input

Technical changes

- Update `pendulum`
- Reduce code complexity
- Remove run-time type-checks
- Add typing to the periods module

41.5.7

Technical changes

- Refactor & test `eval_expression`

Page 5 of 66

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.