diff --git a/README.md b/README.md index 3242edc..4afa313 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,13 @@ tag. They depend on each other by version, so install the ones you use **and the packages they depend on** from the same tag: ```bash -pip install "lambdafeedback-slr-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=slr_parsing" -pip install "lambdafeedback-criteria @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=criteria" -pip install "lambdafeedback-expression-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=expression_parsing" -pip install "lambdafeedback-physical-quantities @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=physical_quantities" +pip install "lambdafeedback-slr-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=slr_parsing" +pip install "lambdafeedback-criteria @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=criteria" +pip install "lambdafeedback-expression-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=expression_parsing" +pip install "lambdafeedback-physical-quantities @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=physical_quantities" ``` -With Poetry: `lambdafeedback-physical-quantities = { git = "https://github.com/lambda-feedback/lambda-feedback-packages.git", tag = "v0.3.0-rc.4", subdirectory = "physical_quantities" }`, and likewise for each package. +With Poetry: `lambdafeedback-physical-quantities = { git = "https://github.com/lambda-feedback/lambda-feedback-packages.git", tag = "v0.3.0-rc.5", subdirectory = "physical_quantities" }`, and likewise for each package. ## Packages diff --git a/criteria/CHANGELOG.md b/criteria/CHANGELOG.md index 3884b17..2521880 100644 --- a/criteria/CHANGELOG.md +++ b/criteria/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog: lambdafeedback-criteria -## 0.3.0 (unreleased; pre-release 0.3.0rc4, tag v0.3.0-rc.4) +## 0.3.0 (unreleased; pre-release 0.3.0rc5, tag v0.3.0-rc.5) The first public release, after the extraction refactor. The import path is now `lambdafeedback.criteria` (was `criteria`). There was no 0.2.0 release: all four `lambdafeedback-*` packages share one version, and the first release is 0.3.0. Supports Python 3.12 to 3.14 (3.11 is not supported); `__version__` gives the installed version. diff --git a/criteria/README.md b/criteria/README.md index e8e4acd..a8b3711 100644 --- a/criteria/README.md +++ b/criteria/README.md @@ -14,7 +14,7 @@ evaluation function. From git (not on PyPI yet): ```bash -pip install "lambdafeedback-criteria @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=criteria" +pip install "lambdafeedback-criteria @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=criteria" ``` Install the packages it depends on (`slr_parsing`) from the same tag; see the [repository README](../README.md#install). diff --git a/criteria/pyproject.toml b/criteria/pyproject.toml index 719ecf6..22d9129 100644 --- a/criteria/pyproject.toml +++ b/criteria/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "lambdafeedback-criteria" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Criteria parser and criteria graphs that turn evaluations into feedback, for Lambda Feedback evaluation functions." readme = "README.md" license = "MIT" @@ -25,7 +25,7 @@ classifiers = [ ] requires-python = ">=3.12" dependencies = [ - "lambdafeedback-slr-parsing (>=0.3.0rc4,<0.4.0)", + "lambdafeedback-slr-parsing (>=0.3.0rc5,<0.4.0)", ] [project.urls] diff --git a/expression_parsing/CHANGELOG.md b/expression_parsing/CHANGELOG.md index a9cf8fc..f183325 100644 --- a/expression_parsing/CHANGELOG.md +++ b/expression_parsing/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog: lambdafeedback-expression-parsing -## 0.3.0 (unreleased; pre-release 0.3.0rc4, tag v0.3.0-rc.4) +## 0.3.0 (unreleased; pre-release 0.3.0rc5, tag v0.3.0-rc.5) The first public release. Further tidy-up after the 0.2.0 extraction: previewing a response and mapping failures to learner-facing feedback text are app-layer concerns, so they move out of this package. `__version__` gives the installed version. diff --git a/expression_parsing/README.md b/expression_parsing/README.md index 09e61ce..3cefc75 100644 --- a/expression_parsing/README.md +++ b/expression_parsing/README.md @@ -11,7 +11,7 @@ functions such as compareExpressions. From git (not on PyPI yet): ```bash -pip install "lambdafeedback-expression-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=expression_parsing" +pip install "lambdafeedback-expression-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=expression_parsing" ``` Install the packages it depends on (`slr_parsing`) from the same tag; see the [repository README](../README.md#install). diff --git a/expression_parsing/pyproject.toml b/expression_parsing/pyproject.toml index 908c5b6..850a6d5 100644 --- a/expression_parsing/pyproject.toml +++ b/expression_parsing/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "lambdafeedback-expression-parsing" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Safe SymPy parsing and preprocessing of learner-written mathematical expressions, for Lambda Feedback evaluation functions." readme = "README.md" license = "MIT" @@ -27,7 +27,7 @@ classifiers = [ ] requires-python = ">=3.12" dependencies = [ - "lambdafeedback-slr-parsing (>=0.3.0rc4,<0.4.0)", + "lambdafeedback-slr-parsing (>=0.3.0rc5,<0.4.0)", "sympy (>=1.14,<2.0)", "latex2sympy2-extended[antlr4-13-2] (>=1.11.0,<2.0)", ] diff --git a/physical_quantities/CHANGELOG.md b/physical_quantities/CHANGELOG.md index 19cc309..7dda63b 100644 --- a/physical_quantities/CHANGELOG.md +++ b/physical_quantities/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog: lambdafeedback-physical-quantities -## 0.3.0 (unreleased; pre-release 0.3.0rc4, tag v0.3.0-rc.4) +## 0.3.0 (unreleased; pre-release 0.3.0rc5, tag v0.3.0-rc.5) The first public release. This is a further tidy-up after the 0.2.0 extraction: the package now only does unit conversion. Package metadata (MIT licence, README, URLs) is in place for PyPI. Python 3.13 and later is supported, now that `lambdafeedback-expression-parsing` no longer depends on latex2sympy2. SymPy 1.14 or later is required (was 1.12): 1.12 predates Python 3.12, and a configuration with a declared function (`symbol_assumptions` `function`) can only be pickled from 1.14. @@ -41,7 +41,7 @@ The first public release. This is a further tidy-up after the 0.2.0 extraction: ### Fixed -- A value that is a list, with a unit, is converted value by value: `{1, 2} km`, `1,2~\mathrm{km}` (LaTeX), `plus_minus 2 km` and `\pm 2~\mathrm{km}` give `standard_values` of 1000 and 2000 (or −2000 and 2000). Before, the unit factor multiplied the list as a whole, and `parse_quantity` raised `QuantityParseError`. +- (since 0.3.0rc5) A value that is a list, with a unit, is converted value by value: `{1, 2} km`, `1,2~\mathrm{km}` (LaTeX), `plus_minus 2 km` and `\pm 2~\mathrm{km}` give `standard_values` of 1000 and 2000 (or −2000 and 2000). Before, the unit factor multiplied the list as a whole, and `parse_quantity` raised `QuantityParseError`. - The roentgen was converted as kelvin per kilogram; it is 2.58×10⁻⁴ C/kg (ampere·second per kilogram). - The imperial pint was 0.00056826 m³; it is 0.00056826125 m³, so that 8 pints make a gallon. - `nautical_miles` is recognised as the plural of `nautical_mile`. Before, only `nauticalmiles` was, and in natural mode `2 nautical_miles` parsed as 2 nautical_mile·second. diff --git a/physical_quantities/README.md b/physical_quantities/README.md index 79d888e..150cd24 100644 --- a/physical_quantities/README.md +++ b/physical_quantities/README.md @@ -17,7 +17,7 @@ evaluation function. From git (not on PyPI yet): ```bash -pip install "lambdafeedback-physical-quantities @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=physical_quantities" +pip install "lambdafeedback-physical-quantities @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=physical_quantities" ``` Install the packages it depends on (`slr_parsing`, `expression_parsing`) from the same tag; see the [repository README](../README.md#install). diff --git a/physical_quantities/pyproject.toml b/physical_quantities/pyproject.toml index 74e3d49..ce85fa1 100644 --- a/physical_quantities/pyproject.toml +++ b/physical_quantities/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "lambdafeedback-physical-quantities" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Parse physical quantities such as 9.81 m/s^2 into value and unit, with SI conversion and dimensional analysis." readme = "README.md" license = "MIT" @@ -25,8 +25,8 @@ classifiers = [ ] requires-python = ">=3.12" dependencies = [ - "lambdafeedback-slr-parsing (>=0.3.0rc4,<0.4.0)", - "lambdafeedback-expression-parsing (>=0.3.0rc4,<0.4.0)", + "lambdafeedback-slr-parsing (>=0.3.0rc5,<0.4.0)", + "lambdafeedback-expression-parsing (>=0.3.0rc5,<0.4.0)", "sympy (>=1.14,<2.0)", ] diff --git a/poetry.lock b/poetry.lock index 772deff..8ab478f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1278,7 +1278,7 @@ type = ["pygobject-stubs", "pytest-mypy (>=1.0.1)", "shtab", "types-pywin32"] [[package]] name = "lambdafeedback-criteria" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Criteria parser and criteria graphs that turn evaluations into feedback, for Lambda Feedback evaluation functions." optional = false python-versions = ">=3.12" @@ -1287,7 +1287,7 @@ files = [] develop = true [package.dependencies] -lambdafeedback-slr-parsing = ">=0.3.0rc4,<0.4.0" +lambdafeedback-slr-parsing = ">=0.3.0rc5,<0.4.0" [package.source] type = "directory" @@ -1295,7 +1295,7 @@ url = "criteria" [[package]] name = "lambdafeedback-expression-parsing" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Safe SymPy parsing and preprocessing of learner-written mathematical expressions, for Lambda Feedback evaluation functions." optional = false python-versions = ">=3.12" @@ -1304,7 +1304,7 @@ files = [] develop = true [package.dependencies] -lambdafeedback-slr-parsing = ">=0.3.0rc4,<0.4.0" +lambdafeedback-slr-parsing = ">=0.3.0rc5,<0.4.0" latex2sympy2-extended = {version = ">=1.11.0,<2.0", extras = ["antlr4-13-2"]} sympy = ">=1.14,<2.0" @@ -1314,7 +1314,7 @@ url = "expression_parsing" [[package]] name = "lambdafeedback-physical-quantities" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Parse physical quantities such as 9.81 m/s^2 into value and unit, with SI conversion and dimensional analysis." optional = false python-versions = ">=3.12" @@ -1323,8 +1323,8 @@ files = [] develop = true [package.dependencies] -lambdafeedback-expression-parsing = ">=0.3.0rc4,<0.4.0" -lambdafeedback-slr-parsing = ">=0.3.0rc4,<0.4.0" +lambdafeedback-expression-parsing = ">=0.3.0rc5,<0.4.0" +lambdafeedback-slr-parsing = ">=0.3.0rc5,<0.4.0" sympy = ">=1.14,<2.0" [package.source] @@ -1333,7 +1333,7 @@ url = "physical_quantities" [[package]] name = "lambdafeedback-slr-parsing" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Dependency-free SLR(1) parser generator for Lambda Feedback evaluation functions." optional = false python-versions = ">=3.12" diff --git a/slr_parsing/CHANGELOG.md b/slr_parsing/CHANGELOG.md index 77b1c66..fb9594a 100644 --- a/slr_parsing/CHANGELOG.md +++ b/slr_parsing/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog: lambdafeedback-slr-parsing -## 0.3.0 (unreleased; pre-release 0.3.0rc4, tag v0.3.0-rc.4) +## 0.3.0 (unreleased; pre-release 0.3.0rc5, tag v0.3.0-rc.5) The first public release, after the extraction refactor. The import path is now `lambdafeedback.slr_parsing` (was `slr_parsing`). There was no 0.2.0 release: all four `lambdafeedback-*` packages share one version, and the first release is 0.3.0. Supports Python 3.12 to 3.14 (3.11 is not supported); `__version__` gives the installed version. diff --git a/slr_parsing/README.md b/slr_parsing/README.md index 8f21795..90fc47c 100644 --- a/slr_parsing/README.md +++ b/slr_parsing/README.md @@ -17,7 +17,7 @@ evaluation function. From git (not on PyPI yet): ```bash -pip install "lambdafeedback-slr-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.4#subdirectory=slr_parsing" +pip install "lambdafeedback-slr-parsing @ git+https://github.com/lambda-feedback/lambda-feedback-packages.git@v0.3.0-rc.5#subdirectory=slr_parsing" ``` Requires Python 3.12+. The import root is `lambdafeedback.slr_parsing`. diff --git a/slr_parsing/pyproject.toml b/slr_parsing/pyproject.toml index e3e1c9e..ee2966a 100644 --- a/slr_parsing/pyproject.toml +++ b/slr_parsing/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [project] name = "lambdafeedback-slr-parsing" -version = "0.3.0rc4" +version = "0.3.0rc5" description = "Dependency-free SLR(1) parser generator for Lambda Feedback evaluation functions." readme = "README.md" license = "MIT"