Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openfisca-core requirement from <32.0,>=27.0 to >=27.0,<33.0 #76

Merged
merged 2 commits into from
Apr 15, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Apr 14, 2019

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

Changelog

Sourced from openfisca-core's changelog.

32.1.0 #863

  • Display symbolic values of Enums in /trace and print_computation_log

32.0.0 #857

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.

31.0.1 #840

  • Improve usability of Enum values:
  • Details:
    • Allow the use of Enum values in comparisons: instead of using <Enum class>.possible_values you can simply import the Enum class
    • Accept Enum values via set_input (same result as the previous point)

31.0.0 #813

Breaking changes

  • Require clients to make explicit when input variables cover a range of dates, rather than allowing inputs to be derived from past or future values; also removes the missing_value base function

Migration notes

You might need to change your code if any of the following applies:

  • you are a model author, and there are variables in your model that use a base_function attribute
  • your model or application uses any non-numeric variables (boolean, date, string or Enum) used in, for which the period on which you define inputs does not match the period for which you are requesting outputs

Detailed instructions are provided in the PR description.

30.0.3 #859

  • Raise an error instead of silently ignoring the input when a user tries to set an input for a variable for several months (or several years), but the variable has no set_input declared.

30.0.2 #860

  • Apply flake8-bugbear recommendations and enforce same in continuous integration.

30.0.1 #855

  • Remove Python 2 compatibility code.
... (truncated)
Commits
  • 5a1fd43 Merge pull request #863 from openfisca/symbolic-trace
  • 9502f37 Bump version number
  • 1290318 Avoid escaping single quotes within single
  • 9694f2c Display symbolic Enum values in print_computation_log
  • f4f1f85 Display symbolic Enum values in trace
  • c64f908 Merge pull request #857 from openfisca/refactor-entities
  • f01bff4 Bump version number
  • be3895c Remove Python 2 adaptation
  • 5a0e1f0 Reinstate check for missing period argument
  • 55f7f4d Add back type check on variable entity
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot force-pushed the dependabot/pip/openfisca-core-gte-27.0-and-lt-33.0 branch from 901db58 to 7609c1d Compare April 15, 2019 08:27
@Morendil Morendil merged commit a0a65c5 into master Apr 15, 2019
@Morendil Morendil deleted the dependabot/pip/openfisca-core-gte-27.0-and-lt-33.0 branch April 15, 2019 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants