openfisca / country-template

Start modelling the tax and benefit system of your country in a few minutes.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
31 stars 15 forks source link

Broken since country-template v6 #155

Open bonjourmauko opened 2 days ago

bonjourmauko commented 2 days ago

Hi there!

I really enjoy OpenFisca, but I recently encountered an issue.

Here is what I did:

Edit setup.py:

+"OpenFisca-Country-Template >= 6.0.0,  < 7",

Then:

make install && make test

Here is what I expected to happen:

To work.

Here is what actually happened:

  Test 'A couple with 2 children gets 200€':
    You tried to calculate or to set a value for variable 'local_town_child_allowance', but it was not found in the loaded tax and benefit system (openfisca-country-template@6.0.3).
    Are you sure you spelled 'local_town_child_allowance' correctly?
    If this code used to work and suddenly does not, this is most probably linked to an update of the tax and benefit system.
    Look at its changelog to learn about renames and removals and update your code. If it is an official package,
    it is probably available on <https://github.com/openfisca/openfisca-country-template/blob/master/CHANGELOG.md>.

Context

I identify more as a: