Open bonjourmauko opened 2 days ago
Poke @benoit-cty
Hello, If we look at https://github.com/openfisca/openfisca-core/blob/master/.conda/openfisca-country-template/recipe.yaml
We see :
package:
name: ${{ name|lower }}
But name is not defined in this file.
Maybe we need to add {% set name = "OpenFisca-Country-Template" %}
But I'm not sure as your log output shows that he his trying to read setup.py to load the Name=
from it.
Not related but it is possible to read from pyproject.toml
instead of setup.py
with
{% set pyproject = load_file_data('pyproject.toml') %}
{% for req in pyproject.get('project').get('dependencies') %}
- {{ req }}
{% endfor %}
Hi there!
I really enjoy OpenFisca, but I recently encountered an issue.
Here is what I did:
I'm trying to deploy the country-template to conda. See: https://github.com/openfisca/country-template/pull/157
Here is what I expected to happen:
In the test phase, the country should be properly loaded, and the tests should run.
Whether the tests pass or not is not the issue, but the loading of the tax benefit system.
Here is what actually happened:
It fails. See: https://github.com/openfisca/country-template/actions/runs/11348459181/job/31562332866
Here is data (or links to it) that can help you reproduce this issue:
https://github.com/openfisca/openfisca-core/pull/1037 https://github.com/openfisca/openfisca-core/pull/1059 https://github.com/openfisca/openfisca-core/pull/1015
Context
I identify more as a: