Skip to content

Commit

Permalink
fix: wrongly changed name (#159)
Browse files Browse the repository at this point in the history
* Crash fix
* Impacted areas: `pyproject.toml`
* Details:
- Changed `openfisca-country_template` to `openfisca-country-template`
by mistake
  - This changeset fixes that problem
  • Loading branch information
bonjourmauko authored Oct 18, 2024
2 parents de83b9e + 975947f commit 5c33a5c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

### 7.1.8 [#159](https://github.com/openfisca/country-template/pull/159)

* Crash fix
* Impacted areas: `pyproject.toml`
* Details:
- Changed `openfisca-country_template` to `openfisca-country-template` by mistake
- This changeset fixes that problem

### 7.1.7 [#158](https://github.com/openfisca/country-template/pull/158)

* Technical improvement.
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ build: clean deps
@# `make build` allows us to be be sure tests are run against the packaged version
@# of OpenFisca-Extension-Template, the same we put in the hands of users and reusers.
python -m build
pip uninstall --yes openfisca-country-template
pip uninstall --yes openfisca-country_template
find dist -name "*.whl" -exec pip install --force-reinstall {}[dev] \;

format:
@# Do not analyse .gitignored files.
@# `make` needs `$$` to output `$`. Ref: http://stackoverflow.com/questions/2382764.
ruff format `git ls-files | grep "\.py$$"`
isort `git ls-files | grep "\.py$$"`
pyproject-fmt pyproject.toml

lint:
@# Do not analyse .gitignored files.
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ build-backend = "setuptools.build_meta"
requires = [ "setuptools>=61" ]

[project]
name = "openfisca-country-template"
version = "7.1.7"
name = "openfisca-country_template"
version = "7.1.8"
description = "OpenFisca Rules as Code model for Country-Template."
readme = "README.md"
keywords = [ "benefit", "microsimulation", "rac", "rules-as-code", "tax" ]
Expand All @@ -28,7 +28,6 @@ dependencies = [
]
optional-dependencies.dev = [
"isort>=5.13.2,<6",
"pyproject-fmt>=2.3.1,<3",
"ruff>=0.6.9,<1",
"ruff-lsp>=0.0.57,<1",
"yamllint>=1.35.1",
Expand Down Expand Up @@ -110,7 +109,7 @@ commands_pre = [
"install",
"--find-links",
".",
"openfisca_country_template",
"openfisca-country_template",
],
]

Expand All @@ -124,7 +123,7 @@ commands_pre = [
"install",
"--find-links",
".",
"openfisca_country_template[dev]",
"openfisca-country_template[dev]",
],
]

Expand Down

0 comments on commit 5c33a5c

Please sign in to comment.