openfisca / openfisca-cote-d-ivoire

Ivorian tax and benefit system for OpenFisca
2 stars 2 forks source link

Update openfisca-core requirement from <35.0,>=34.2.6 to >=34.2.6,<36.0 #78

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on openfisca-core to permit the latest version.

Changelog

Sourced from openfisca-core's changelog.

35.3.6 #984

Technical changes

  • In web_api tests, extract test_client to a fixture reusable by all the tests in the test suite.
    • To mitigate possible performance issues, by default the fixture is initialised once per test module.
    • This follows the same approach as #997

35.3.5 #997

Technical changes

  • In tests, extract CountryTaxBenefitSystem to a fixture reusable by all the tests in the test suite.
    • It allows for a better reusability of test scenarios available to new contributors.
    • To mitigate possible performance issues, by default the fixture is initialised once per test module.

35.3.4 #999

Technical improvements

  • Change logging.warning to warnings.warn to allow users of the package to hide them.

35.3.3 #994

Bug fix

  • Repair expansion of axes on a variable given as input
    • When expanding axes, the expected behavour is to override any input value for the requested variable and period
    • As longs as we passed some input for a variable on a period, it was not being overrode, creating a NumPy's error (boradcasting)
    • By additionally checking that an input was given, now we make that the array has the correct shape by constructing it with NumPy's tile with a shape equal to the number of the axis expansion count requested.

35.3.2 #992

Technical improvements

  • Render all OpenFisca Core components modular and sandboxed
    • Allows for simpler contribution
    • Allows for better unit testing
    • Allows for dealing with circular dependencies
    • Allows for more explicit contracts between components

Future deprecations

  • Reorganise formula_helpers, memory_config, rates, simulation_builder.

    • Their functionalities are still there, just moved around
    • Transitional __init__.py files added to make transition smooth
  • Rename of some errors for consistency

    • Added the suffix Error to all errors

... (truncated)

Commits
  • 3123d27 Refactor web_api test using pytest.fixtures
  • 0e42b47 Style // remove redundant underscore from _client argument
  • b1dfd14 Update CHANGELOG.md
  • 390f194 bump version
  • aa3157c Remove tax_benefit_system and subject from "tests/web_api/init.py" si...
  • 9cd824b Modularise test_trace.py
  • d9fe83a Modularise test_spec.py
  • 8e7fec0 Modularise test_parameters.py
  • eddd680 Fix import styles
  • f3dbee3 Modularise test_headers.py
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually