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

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

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

Changelog *Sourced from [openfisca-core's changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md).* > # 26.0.0 [#790](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/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](https://github.com/openfisca/openfisca-france/blob/11b18985ce4decc31b5666114b2525dddf42652b/openfisca_france/france_taxbenefitsystem.py#L29) > > **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](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/827) > > - Optimize `set_input_dispatch_by_period` so that it doesn't create duplicate vectors in memory > > ### 25.3.3 [821](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/821) > > - Bring up the debugger on integration test failures with `openfisca test --pdb` optional argument > > ### 25.3.2 [824](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/824) > > - Rename LICENSE.AGPL.txt to LICENSE to let github recognize it > > ### 25.3.1 [#820](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/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](https://github-redirect.dependabot.com/openfisca/openfisca-core/pull/811) > > #### Technical changes > > - Allow France to model "Chèque Energie" in a cleaner way: > ... (truncated)
Commits - [`ff5f703`](https://github.com/openfisca/openfisca-core/commit/ff5f703ba6f6842547bd82355e0b793bdf69180b) Merge pull request [#790](https://github-redirect.dependabot.com/openfisca/openfisca-core/issues/790) from openfisca/remove-scenarios - [`ef57876`](https://github.com/openfisca/openfisca-core/commit/ef5787608ca27f4f3a1d4910bcd2a21835f84571) Bump version number - [`712d3af`](https://github.com/openfisca/openfisca-core/commit/712d3afec84af31641f7e21fb96ea2d469136daa) Update simple simulation vs axes attributes effects description - [`7721e8d`](https://github.com/openfisca/openfisca-core/commit/7721e8de501ce20204a9485ef324242b8b25e208) Remove unused code - [`3f9e16f`](https://github.com/openfisca/openfisca-core/commit/3f9e16fa1627ad05169c9b85a2b4a1d744981bb9) Clarify role of get_* methods with a comment - [`0979867`](https://github.com/openfisca/openfisca-core/commit/0979867bb30a32f4ccff46015f1d41014d3df4a7) Remove buffer from Holder - [`c192718`](https://github.com/openfisca/openfisca-core/commit/c192718b9f8a04120fd63cfdb82b3e1e286a636a) Remove Python 2 compatibility code - [`994af50`](https://github.com/openfisca/openfisca-core/commit/994af50039cf2f442e286679d5d4d7320733ec6d) Remove Python 2 compatibility code - [`e59610e`](https://github.com/openfisca/openfisca-core/commit/e59610e1c733b5ef8abfdb5860e75a642f0c62b6) Add deprecation warning to new_scenario - [`acfa9b7`](https://github.com/openfisca/openfisca-core/commit/acfa9b795f508287a2427cea5f416ee74ec3c6bd) Rename adapter layer - Additional commits viewable in [compare view](https://github.com/openfisca/openfisca-core/compare/25.0...26.0.0)


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](https://app.dependabot.com): - 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.
benjello commented 5 years ago

@sandcha good to merge !