|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +### 38.0.3 [#1179](https://github.com/openfisca/openfisca-core/pull/1179) |
| 4 | + |
| 5 | +#### Bug fix |
| 6 | + |
| 7 | +- Do not install dependencies outside the `setup.py` |
| 8 | + - Dependencies installed outside the `setup.py` are not taken into account by |
| 9 | + `pip`'s dependency resolver. |
| 10 | + - In case of conflicting transient dependencies, the last library installed |
| 11 | + will "impose" its dependency version. |
| 12 | + - This makes the installation and build of the library non-deterministic and |
| 13 | + prone to unforeseen bugs caused by external changes in dependencies' |
| 14 | + versions. |
| 15 | + |
| 16 | +#### Note |
| 17 | + |
| 18 | +A definite way to solve this issue is to clearly separate library dependencies |
| 19 | +(with a `virtualenv`) and a universal dependency installer for CI requirements |
| 20 | +(like `pipx`), taking care of: |
| 21 | + |
| 22 | +- Always running tests inside the `virtualenv` (for example with `nox`). |
| 23 | +- Always building outside of the `virtualenv` (for example with `poetry` |
| 24 | + installed by `pipx`). |
| 25 | + |
| 26 | +Moreover, it is indeed even better to have a lock file for dependencies, |
| 27 | +using `pip freeze`) or with tools providing such features (`pipenv`, etc.). |
| 28 | + |
| 29 | +### 38.0.2 [#1178](https://github.com/openfisca/openfisca-core/pull/1178) |
| 30 | + |
| 31 | +> Note: Version `38.0.2` has been unpublished as it represented a temporal hot |
| 32 | +> fix allowing to unblock users of the library. Please use version `38.0.3` |
| 33 | +> and subsequents. |
| 34 | +
|
| 35 | +#### Technical changes |
| 36 | + |
| 37 | +- Remove use of `importlib_metadata`. |
| 38 | + |
| 39 | +### 38.0.1 - |
| 40 | + |
| 41 | +> Note: Version `38.0.1` has been unpublished as was deployed by mistake. |
| 42 | +> Please use version `38.0.3` and subsequents. |
| 43 | +
|
| 44 | + |
3 | 45 | # 38.0.0 [#989](https://github.com/openfisca/openfisca-core/pull/989) |
4 | 46 |
|
5 | 47 | #### New Features |
|
0 commit comments