Skip to content

Commit bc045e8

Browse files
committed
chore!: version bump (fixes #1271 #1267 #1233)
BREAKING_CHANGE: This changeset has not breaking changes to the `indexed_enums` public API. However, as a conservative measure concerning data preparation for large population simulations, it has been marked as a major release. Fixes #1271 Fixes #1267 Fixes #1233
1 parent ef85e1f commit bc045e8

File tree

4 files changed

+17
-26
lines changed

4 files changed

+17
-26
lines changed

.conda/openfisca-country-template/recipe.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ schema_version: 1
22

33
context:
44
name: openfisca-country-template
5-
version: 7.1.5
5+
version: 7.1.6.rc.1
66

77
package:
88
name: ${{ name|lower }}
99
version: ${{ version }}
1010

1111
source:
12-
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/openfisca_country_template-${{ version }}.tar.gz
12+
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/openfisca_country_template-7.1.5.tar.gz
1313
sha256: b2f2ac9945d9ccad467aed0925bd82f7f4d5ce4e96b212324cd071b8bee46914
1414

1515
build:
@@ -25,7 +25,7 @@ requirements:
2525
run:
2626
- numpy
2727
- python
28-
- openfisca-core >=42,<43
28+
- openfisca-core >=42,<44
2929

3030
tests:
3131
- python:

.conda/openfisca-extension-template/recipe.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ schema_version: 1
22

33
context:
44
name: openfisca-extension-template
5-
version: 1.3.15
5+
version: 1.3.16.rc.1
66

77
package:
88
name: ${{ name|lower }}
99
version: ${{ version }}
1010

1111
source:
12-
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/openfisca_extension_template-${{ version }}.tar.gz
12+
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/openfisca_extension_template-1.3.15.tar.gz
1313
sha256: e16ee9cbefdd5e9ddc1c2c0e12bcd74307c8cb1be55353b3b2788d64a90a5df9
1414

1515
build:
@@ -25,7 +25,7 @@ requirements:
2525
run:
2626
- numpy
2727
- python
28-
- openfisca-country-template >=7,<8
28+
- openfisca-country-template >=7.1.6-rc.1,<8
2929

3030
tests:
3131
- python:

CHANGELOG.md

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,25 @@
11
# Changelog
22

3-
### 42.1.1 [#1224](https://github.com/openfisca/openfisca-core/pull/1224)
3+
# 43.0.0 [#1224](https://github.com/openfisca/openfisca-core/pull/1224)
44

55
#### Technical changes
66

7+
- Add documentation to the `indexed_enums` module
78
- Fix type definitions in the enums module
8-
9-
## 42.1.0 [#1273](https://github.com/openfisca/openfisca-core/pull/1273)
9+
- Fix doctests
10+
- Fix bug in `Enum.encode` when passing a scalar
11+
- Fix bug in `Enum.encode` when encoding values not present in the enum
1012

1113
#### New features
1214

1315
- Introduce `indexed_enums.EnumType`
1416
- Allows for actually fancy indexing `indexed_enums.Enum`
1517

16-
#### Technical changes
18+
#### Note
1719

18-
- Fix doctests
19-
- Now `pytest openfisca_core/indexed_enums` runs without errors
20-
- Fix bug in `Enum.encode` when passing a scalar
21-
- Still raises `TypeError` but with an explanation of why it fails
22-
- Fix bug in `Enum.encode` when encoding values not present in the enum
23-
- When encoding values not present in an enum, `Enum.encode` always encoded
24-
the first item of the enum
25-
- Now, it correctly encodes only the values requested that exist in the enum
20+
This changeset has not breaking changes to the `indexed_enums` public API.
21+
However, as a conservative measure concerning data preparation for large
22+
population simulations, it has been marked as a major release.
2623

2724
##### Before
2825

@@ -53,12 +50,6 @@ TestEnum.encode([0,1,2,5])
5350
# EnumArray([<TestEnum.ONE: 'one'> <TestEnum.TWO: 'two'>])
5451
```
5552

56-
### 42.0.8 [#1272](https://github.com/openfisca/openfisca-core/pull/1272)
57-
58-
#### Documentation
59-
60-
- Add documentation to the `indexed_enums` module
61-
6253
### 42.0.7 [#1264](https://github.com/openfisca/openfisca-core/pull/1264)
6354

6455
#### Technical changes

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"StrEnum >=0.4.8, <0.5.0", # 3.11.x backport
3232
"dpath >=2.1.4, <3.0",
3333
"numexpr >=2.10.1, <3.0",
34-
"numpy >=1.24.3, <2.0",
34+
"numpy >=1.24.2, <2.0",
3535
"pendulum >=3.0.0, <4.0.0",
3636
"psutil >=5.9.4, <6.0",
3737
"pytest >=8.3.3, <9.0",
@@ -69,7 +69,7 @@
6969

7070
setup(
7171
name="OpenFisca-Core",
72-
version="42.1.1",
72+
version="43.0.0",
7373
author="OpenFisca Team",
7474
author_email="contact@openfisca.org",
7575
classifiers=[

0 commit comments

Comments
 (0)