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 <26,>=25 to >=25,<27 #87

Merged
merged 6 commits into from
Feb 24, 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.

26.0.0 #790

What this PR brings

An exciting but under-documented feature, "axes", now has much better test coverage and thus long-term maintainability (the documentation is still lacking, but see https://github.com/openfisca/tutorial for demos)

Breaking changes

This PR deprecates the new_scenario approach to constructing Simulation objects. This will impact you if:

  • your notebooks or scripts or other Python code rely on the France model and use the old form of creating a Simulation object (see below)
  • or your country package defines a Scenario class and injects it the way France does

To migrate to this version, if you are in the first case, the minimum required change is this:

The old way:

simulation = tax_benefit_system.new_scenario().init_single_entity(...some data...).new_simulation()

The new way:

# At the top of your file
from openfisca_france.scenarios import init_single_entity
# Below
simulation = init_single_entity(tax_benefit_system.new_scenario(), ...some data...).new_simulation()

If you are in the latter case, you must also transform your init_single_entity from a Scenario method to a regular function at global scope, and change your tests and reuses as described above.

25.3.4 827

  • Optimize set_input_dispatch_by_period so that it doesn't create duplicate vectors in memory

25.3.3 821

  • Bring up the debugger on integration test failures with openfisca test --pdb optional argument

25.3.2 824

  • Rename LICENSE.AGPL.txt to LICENSE to let github recognize it

25.3.1 #820

  • Outputs a more helpful message when a variable checked in a test doesn't exist
  • Introduces unit tests for the test runner

25.3.0 #811

Technical changes

  • Allow France to model "Chèque Energie" in a cleaner way:
... (truncated)
Commits
  • ff5f703 Merge pull request #790 from openfisca/remove-scenarios
  • ef57876 Bump version number
  • 712d3af Update simple simulation vs axes attributes effects description
  • 7721e8d Remove unused code
  • 3f9e16f Clarify role of get_* methods with a comment
  • 0979867 Remove buffer from Holder
  • c192718 Remove Python 2 compatibility code
  • 994af50 Remove Python 2 compatibility code
  • e59610e Add deprecation warning to new_scenario
  • acfa9b7 Rename adapter layer
  • 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
  • @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@25.0...26.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 18, 2019
@benjello
Copy link
Member

@sandcha good to merge !

@sandcha sandcha merged commit 99bebf8 into master Feb 24, 2019
@sandcha sandcha deleted the dependabot/pip/openfisca-core-gte-25-and-lt-27 branch February 24, 2019 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants