Skip to content

Commit

Permalink
Bump openfisca core et france (#218)
Browse files Browse the repository at this point in the history
* chore: màj Openfisca-Core & France

* chore: màj Openfisca-Core & France

* fix: test_aides_jeunes_reform for openfisca-core version 42

* fix: tests aide_permis for openfisca-core version 42
  • Loading branch information
Shamzic authored Nov 4, 2024
1 parent 3eb6c5e commit c4c9abb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Changelog

## [6.15.1] - 2024-10-24

_Pour les changements détaillés et les discussions associées, référencez la pull request [#218](https://github.com/openfisca/openfisca-france-local/pull/218)_

### Changed

- Met à jour la dépendance `OpenFisca-France` pour supporter les versions jusqu'à `< 170`.
- Met à jour la dépendance `OpenFisca-Core` pour supporter les versions jusqu'à `< 44`.

## [6.15.0] - 2024-10-14

_Pour les changements détaillés et les discussions associées, référencez la pull request [#217](https://github.com/openfisca/openfisca-france-local/pull/217)_
Expand All @@ -7,7 +17,6 @@ _Pour les changements détaillés et les discussions associées, référencez la

- Ajoute la variable `eure_et_loir_eligibilite_aep`


## [6.14.1] - 2024-10-22

_Pour les changements détaillés et les discussions associées, référencez la pull request [#199](https://github.com/openfisca/openfisca-france-local/pull/199)_
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='OpenFisca-France-Local',
version='6.15.0',
version='6.15.1',
author='OpenFisca Team',
author_email='[email protected]',
classifiers=[
Expand All @@ -25,8 +25,8 @@
packages=find_namespace_packages(),
include_package_data=True,
install_requires=[
'OpenFisca-Core >= 40.0.1, < 42',
'OpenFisca-France >= 153.0.1, < 169',
'OpenFisca-Core >= 43, < 44',
'OpenFisca-France >= 169.0.0, < 170',
'pandas >= 1.5.3, <2.0'
],
extras_require={
Expand Down
6 changes: 3 additions & 3 deletions tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
reforms:
- openfisca_france_local.aides_jeunes_reform.aides_jeunes_reform_dynamic
input:
groupe_specialites_formation: ["groupe_330", "FOrmation non reconnue", "groupe_330", "groupe_330"]
activite: ["stagiaire", "stagiaire", "chomeur", "etudiant"]
groupe_specialites_formation: ["groupe_330", "aucun", "groupe_330", "groupe_330"]
activite: ["etudiant", "etudiant", "chomeur", "etudiant"]
stagiaire: [true,true,false,false]
scolarite: ["inconnue", "inconnue", "inconnue", "enseignement_superieur"]
output:
Expand Down Expand Up @@ -129,7 +129,7 @@
input:
depcom: ["29232", "29232", "29232", "29232", "29232"]
professionnalisation: [false, true, false, false, false]
activite: ["inactif", "inactif", "actif", "salarie", "service_civique"]
activite: ["inactif", "inactif", "actif", "actif", "actif"]
output:
test_profil_actif_et_professionnalisation: [0, 1, 1, 1,1]

Expand Down
2 changes: 1 addition & 1 deletion tests/regions/hauts-de-france/aide_permis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
age: [31, 18, 21, 21, 21, 21, 21]
depcom: [60, 95, 60, 60, 60, 60, 60]
statut_marital: [celibataire, celibataire, celibataire, marie, marie, celibataire, celibataire]
contrat_de_travail_type: [cdd, cdd, cdd, cdd, cdd, cdi, non_defini]
contrat_de_travail_type: [cdd, cdd, cdd, cdd, cdd, cdi, aucun]
rfr:
2019:
[1, 1, 1, 50000, 32000, 1, 1]
Expand Down
4 changes: 2 additions & 2 deletions tests/regions/ile_de_france/aide_achat_voiture_electrique.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
age: [18, 30, 21, 24, 22]
depcom: [77100, 78000, 78370, 78586, 78711]
statut_marital: [celibataire, marie, celibataire, marie, marie]
contrat_de_travail_type: [cdd, cdi, cdi, cdd, non_defini]
contrat_de_travail_type: [cdd, cdi, cdi, cdd, aucun]
rfr:
2022:
[1, 39000, 6500, 40000, 10000]
Expand All @@ -17,7 +17,7 @@

- period: 2024-01
input:
region: [ ile_de_france, haut_de_france ]
region: [ ile_de_france, hauts_de_france ]
age: [22, 23]
depcom: [95018, 59000]
statut_marital: [marie, marie]
Expand Down

0 comments on commit c4c9abb

Please sign in to comment.