openfisca / openfisca-tunisia

Tunisian tax and benefit system for OpenFisca
http://www.openfisca.tn
15 stars 7 forks source link

Update openfisca-core requirement from <35,>=34 to >=34,<36 #119

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


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

Changelog

Sourced from openfisca-core's changelog.

35.0.0 #954

Breaking changes

Migration details

You might need to change your code if any of the Numpy expired deprecations is used in your model formulas.

Here is a subset of the deprecations that you might find in your model with some checks and migration steps (where np stands for numpy):

  • Removed deprecated support for boolean and empty condition lists in np.select.
    • Before np.select([], []) result was 0 (for a default argument value set to 0).
      • Now, we have to check for empty conditions and, return 0 or the defined default argument value when we want to keep the same behavior.
    • Before, integer conditions where transformed to booleans.
      • For example, np.select([0, 1, 0], ['a', 'b', 'c']) result was array('b', dtype='<U21'). Now, we have to update such code to: np.select(np.array([0, 1, 0]).astype(bool), ['a', 'b', 'c']).
  • np.linspace parameter num must be an integer.
    • No surprise here, update the num parameter in np.linspace in order to get an integer.
  • Array order only accepts ‘C’, ‘F’, ‘A’, and ‘K’.
    • Check that numpy.array order argument gets one of the allowed values listed above.
  • UFuncs with multiple outputs must use a tuple for the out kwarg.

34.7.7 #951

Technical changes

  • Avoid Web API failure with dynamic variable generation
  • Using reforms to create dynamic variables can lead to a failure to start the API because introspection is failing to get a source code section

34.7.6 #957

Technical changes

  • Update dependencies: sortedcontainers

34.7.5 #958

Technical changes

  • Fix PytestDeprecationWarning on openfisca test command

34.7.4 #955

Technical changes

  • Update dependencies: flake8 (style consistency enforcement)
Commits
  • 074eff5 Upgrade numpy dependency to 1.18
  • fc71a02 Bump version to 35.0.0
  • 18cf151 Call for old pip dependency resolver
  • 290f52d Adapt join_with_persons to empty roles list
  • 4cf7862 Try adapting entity restoration to empty roles list
  • 104ef08 Try adapting entity dump to empty roles list
  • 1669c68 Replace ValueError by explicit message on switch helper
  • 5b40c69 Bump numpy version to 1.18
  • 89d8056 Avoid Web API failure with dynamic variable generation
  • 839057b Bump version to 3.7.7
  • 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 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
sandcha commented 3 years ago

@dependabot rebase

dependabot-preview[bot] commented 3 years ago

This repository is now using a version: 2 config so Dependabot Preview can no longer make changes to this pull request. You can close it and let Dependabot re-create it the next time it checks for updates.

sandcha commented 3 years ago

Rebase diari en cours.