Skip to content

Commit 180f350

Browse files
committed
Bump version
1 parent cec05e7 commit 180f350

2 files changed

Lines changed: 44 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# Changelog
22

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+
345
# 38.0.0 [#989](https://github.com/openfisca/openfisca-core/pull/989)
446

547
#### New Features

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
general_requirements = [
2929
'PyYAML >= 3.10',
3030
'dpath >= 1.5.0, < 3.0.0',
31-
'idna >= 3.4.0, < 4.0.0',
3231
'importlib-metadata < 4.3.0', # Required for Python 3.7 and Flake8
3332
'nptyping == 1.4.4',
3433
'numexpr >= 2.7.0, <= 3.0',
@@ -48,7 +47,6 @@
4847
]
4948

5049
dev_requirements = [
51-
'idna >= 3.4.0, < 4.0.0',
5250
'autopep8 >= 1.4.0, < 1.6.0',
5351
'coverage >= 6.0.2, < 7.0.0',
5452
'darglint == 1.8.0',
@@ -57,6 +55,7 @@
5755
'flake8-docstrings == 1.6.0',
5856
'flake8-print >= 3.1.0, < 4.0.0',
5957
'flake8-rst-docstrings == 0.2.3',
58+
'idna >= 3.4.0, < 4.0.0',
6059
'isort >= 5.0.0, < 6.0.0',
6160
'mypy == 0.910',
6261
'openapi-spec-validator >= 0.5.0, < 0.6.0',
@@ -67,7 +66,7 @@
6766

6867
setup(
6968
name = 'OpenFisca-Core',
70-
version = '38.0.0',
69+
version = '38.0.3',
7170
author = 'OpenFisca Team',
7271
author_email = 'contact@openfisca.org',
7372
classifiers = [

0 commit comments

Comments
 (0)