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 <27.0,>=26.0 to >=29.0,<30.0 #1293

Merged
merged 5 commits into from
Mar 27, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

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

Changelog

Sourced from openfisca-core's changelog.

29.0.1 #851

  • Remove print statements from simulations.py, add linting options to detect stray print statements

29.0.0 #843

Breaking changes

  • Remove argument simulation_json of Simulation constructor, which was deprecated as of Core 25
  • Remove keyword arguments from Simulation constructor, which should be called only from SimulationBuilder; introduce a property for trace
  • Remove period attribute of Simulation

Migration notes

  • As of Core 25, the preferred way of constructing new Simulation instances is via SimulationBuilder, any remaining uses of scenarios should be migrated to that API first.
  • Any period attribute of the Simulation was coming from the simulation data (test case or JSON structure), use that instead of the attribute in the Simulation instance.
  • Any keyword arguments of Simulation that you were using (or passing to Simulation-constructing methods) can now be accessed directly or as properties, trace being the most widely used. Example below:

Before

simulation = SimulationBuilder().build_from_entities(tax_benefit_system, input_data, trace = True)

After

simulation = SimulationBuilder().build_from_entities(tax_benefit_system, input_data)
simulation.trace = True

28.0.1 #845

28.0.0 #847

Breaking changes

Remove extra_params altogether from Core. This puts all formulas on an equal footing and simplifies
simulation and data storage code.

Migration notes

For almost all users, no migration is needed.

You may be impacted only if you were computing (for instance in a notebook) one of the two variables from France that used this non-standard extension to the calculate(variable, period) API: rsa_fictif or ppa_fictive. In that case you had to supply the additional parameter mois_demande. Use rsa or ppa directly, and go back to the standard API.

27.0.2 #844

... (truncated)
Commits
  • 5ddbbd2 Merge pull request #852 from openfisca/remove-stray-prints
  • 22e1f9a Bump version number
  • 8f30fad Remove stray print statements
  • da11599 Reject changes that introduce print statements
  • 36864a9 Merge pull request #843 from openfisca/remove-simulation-json
  • b73f262 Bump version number
  • 30fd42b Fixturize test_variables
  • 37c109c Fixturize test_reforms and upgrade to SimulationBuilder
  • dcf2a85 Fixturize test_formulas and upgrade to SimulationBuilder
  • 555b4ee Fixturize test_cycles and upgrade to SimulationBuilder
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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.

Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version.
- [Release notes](https://github.com/openfisca/openfisca-core/releases)
- [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md)
- [Commits](openfisca/openfisca-core@26.0.0...29.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@sandcha sandcha changed the title Update openfisca-core requirement from <27.0,>=26.0 to >=26.0,<30.0 Update openfisca-core requirement from <27.0,>=26.0 to >=29.0,<30.0 Mar 27, 2019
@sandcha sandcha force-pushed the dependabot/pip/openfisca-core-gte-26.0-and-lt-30.0 branch from afa77a9 to af6e7cd Compare March 27, 2019 17:50
@Morendil Morendil merged commit 066d37f into master Mar 27, 2019
@Morendil Morendil deleted the dependabot/pip/openfisca-core-gte-26.0-and-lt-30.0 branch March 27, 2019 17:57
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.

3 participants