OpenFisca-France 174.2.6__py3-none-any.whl → 174.2.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of OpenFisca-France might be problematic. Click here for more details.

@@ -1,8 +1,7 @@
1
+ from openfisca_core.errors import ParameterNotFoundError
1
2
  from openfisca_core.periods import Period
2
-
3
3
  from openfisca_france.model.base import *
4
4
 
5
-
6
5
  DEFAULT_ROUND_BASE_DECIMALS = 2
7
6
 
8
7
  cotisations_employeur_by_categorie_salarie = {
@@ -266,7 +265,7 @@ def apply_bareme_for_relevant_type_sal(
266
265
 
267
266
  try:
268
267
  categorie_salarie_baremes = bareme_by_categorie_salarie[categorie_salarie_type.name]
269
- except KeyError as e:
268
+ except (KeyError, ParameterNotFoundError) as e:
270
269
  # FIXME: dirty fix since public_titulaire_militaire does not exist
271
270
  if categorie_salarie_type.name == 'public_titulaire_militaire':
272
271
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OpenFisca-France
3
- Version: 174.2.6
3
+ Version: 174.2.7
4
4
  Summary: OpenFisca Rules as Code model for France.
5
5
  Author-email: OpenFisca Team <contact@openfisca.fr>
6
6
  Project-URL: Homepage, https://github.com/openfisca/openfisca-france
@@ -23,7 +23,7 @@ Requires-Python: >=3.9
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE.AGPL.txt
25
25
  Requires-Dist: numpy<2,>=1.24.3
26
- Requires-Dist: openfisca-core[web-api]<43.4.0,>=43
26
+ Requires-Dist: openfisca-core[web-api]<44,>=43
27
27
  Provides-Extra: inversion-revenus
28
28
  Requires-Dist: scipy<2.0,>=1.10.1; extra == "inversion-revenus"
29
29
  Provides-Extra: de-net-a-brut
@@ -62,7 +62,7 @@ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributi
62
62
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
63
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/allegements.py,sha256=xmenLkfZhy53euEhJ3yV-1nCyCLjyX-RFrTTygazTlQ,28305
64
64
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/apprentissage.py,sha256=eXMAn8G40C2D1pUEs8c7Dj2iL7nvIVd_WCACGzNdrUk,11196
65
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/base.py,sha256=eekvxzcmuZC924jEI5P0Yu_YznLiaLcupVB378XFmoY,13165
65
+ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/base.py,sha256=lKCrnwmazv84ZMxI069iFHQJWTBfqZSHAkZ8tVsMWOw,13246
66
66
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/chomage.py,sha256=BUI1fCE9frrtRvO1cCU3pOMRnWEvNK2m9uxAdZBGQ7A,2219
67
67
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/contrat_professionnalisation.py,sha256=8ideXZBZOWimNzDZ0mJN8GdUYsj-hlLKNEBKT7pIYS0,6274
68
68
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/exonerations.py,sha256=8HR0fqyFiQk6KpxsxIB9l3ooEjwFaLp_nBJqvz_JO3U,39059
@@ -4125,8 +4125,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4125
4125
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=MKrNJont9a0KEgZMy-QSiOx6hC5HUPDi377UV71_rS8,1822
4126
4126
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4127
4127
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4128
- openfisca_france-174.2.6.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4129
- openfisca_france-174.2.6.dist-info/METADATA,sha256=w0HnW9OC_QmsINbTgHwV76CjhcrN6cyqa21Yrx6S8YE,18592
4130
- openfisca_france-174.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4131
- openfisca_france-174.2.6.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4132
- openfisca_france-174.2.6.dist-info/RECORD,,
4128
+ openfisca_france-174.2.7.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4129
+ openfisca_france-174.2.7.dist-info/METADATA,sha256=aD7Qaby8hUysRN5qTcT3obyl4OacnZh_rspjs_dK7gg,18588
4130
+ openfisca_france-174.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
4131
+ openfisca_france-174.2.7.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4132
+ openfisca_france-174.2.7.dist-info/RECORD,,