Skip to content

Commit

Permalink
Update README.md python references, Reorder pyproject.toml (#153)
Browse files Browse the repository at this point in the history
* Technical improvement. 
* Details:
  - Update README.md references to latest supported python (3.11)
  - Reorder pyproject.toml content to match official example
  • Loading branch information
bonjourmauko committed Sep 26, 2024
2 parents 26fc0c9 + a4f6003 commit beb3ba1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

### 7.1.3 [#152](https://github.com/openfisca/country-template/pull/147)
### 7.1.4 [#153](https://github.com/openfisca/country-template/pull/153)

* Technical improvement.
* Details:
- Update README.md references to latest supported python (3.11)
- Reorder pyproject.toml content to match official example

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

* Technical improvement.
* Details:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ This involves detailed steps on preparing your package, creating distribution fi

## Install Instructions for Users and Contributors

This package requires [Python 3.9](https://www.python.org/downloads/release/python-390/). More recent versions should work, but are not tested.
This package requires [Python 3.11](https://www.python.org/downloads/release/python-390/). More recent versions should work, but are not tested.

All platforms that can execute Python are supported, which includes GNU/Linux, macOS and Microsoft Windows.

Expand Down Expand Up @@ -121,7 +121,7 @@ For more advanced uses, head to the [Advanced Installation](#advanced-installati
Inside your venv, check the prerequisites:

```sh
python --version # should print "Python 3.9.xx".
python --version # should print "Python 3.11.xx".
```

```sh
Expand Down Expand Up @@ -163,7 +163,7 @@ Set your working directory to the location where you want this OpenFisca Country
Inside your venv, check the prerequisites:

```sh
python --version # should print "Python 3.9.xx".
python --version # should print "Python 3.11.xx".
```

Clone this Country Package on your machine:
Expand Down
29 changes: 15 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[project]
name = "openfisca-country_template"
version = "7.1.3"
version = "7.1.4"
dependencies = [
"openfisca-core[web-api] >=41.4.5, <42.0.0"
]
requires-python = ">=3.9"
authors = []
maintainers = []
description = "OpenFisca Rules as Code model for Country-Template."
readme = "README.md"
keywords = ["microsimulation", "tax", "benefit", "rac", "rules-as-code"]
authors = []
maintainers = []
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Affero General Public License v3",
Expand All @@ -16,17 +20,6 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Information Analysis",
]
requires-python = ">=3.9"
dependencies = [
"openfisca-core[web-api] >=41.4.5, <42.0.0"
]

[project.urls]
Homepage = "https://github.com/openfisca/country-template"
Repository = "https://github.com/openfisca/country-template"
Documentation = "https://openfisca.org/doc"
Issues = "https://github.com/openfisca/country-template/issues"
Changelog = "https://github.com/openfisca/country-template/blob/main/CHANGELOG.md"

[project.optional-dependencies]
dev = [
Expand All @@ -38,6 +31,14 @@ dev = [
"yamllint >=1.35.1"
]

[project.urls]
Homepage = "https://github.com/openfisca/country-template"
Repository = "https://github.com/openfisca/country-template"
Documentation = "https://openfisca.org/doc"
Issues = "https://github.com/openfisca/country-template/issues"
Changelog = "https://github.com/openfisca/country-template/blob/main/CHANGELOG.md"


[tool.pytest.ini_options]
addopts = "--showlocals --doctest-modules"
testpaths = [ "openfisca_country_template/tests" ]
Expand Down

0 comments on commit beb3ba1

Please sign in to comment.