From 6c5114480dd6bd2b981f10634ba7927920edf0c7 Mon Sep 17 00:00:00 2001 From: SmartLamScott Date: Thu, 29 May 2025 10:37:34 -0500 Subject: [PATCH 1/4] fixed a bug that used incorrect import path in natural_language.py --- src/object_filtering/natural_language/natural_language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object_filtering/natural_language/natural_language.py b/src/object_filtering/natural_language/natural_language.py index 559380f..55b9a69 100644 --- a/src/object_filtering/natural_language/natural_language.py +++ b/src/object_filtering/natural_language/natural_language.py @@ -4,7 +4,7 @@ #!/usr/bin/env python3 import json import sys -from src.object_filtering.object_filtering import ( +from ..object_filtering import ( ObjectFilter, Rule, GroupExpression, ConditionalExpression, LogicalExpression, ) From 779afb3fa7ae9cab07f9c5222b98a6a37395f416 Mon Sep 17 00:00:00 2001 From: SmartLamScott Date: Thu, 29 May 2025 10:49:13 -0500 Subject: [PATCH 2/4] removed all dependencies not directly required in source --- requirements.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/requirements.txt b/requirements.txt index df9ac61..9c03a3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1 @@ -build>=1.2.1 -colorama>=0.4.6 -iniconfig>=2.0.0 numpy>=2.0.0 -packaging>=24.0 -pluggy>=1.5.0 -pyproject_hooks>=1.1.0 -pytest>=8.2.2 -setuptools>=71.0.0 -wheel>=0.43.0 From f7146bed3b891d2b6adf89b23768190cf4f35847 Mon Sep 17 00:00:00 2001 From: SmartLamScott Date: Thu, 29 May 2025 10:49:28 -0500 Subject: [PATCH 3/4] updated build instructions --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b4a6318..8c348ae 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ See `/docs/filter_specifications.md` for details on filter implementation. 1. `pip install object_filtering`. 2. Download the latest version of `object_filtering` from the Releases tab on GitHub and install the wheel (`.whl`). -## Making Modifications +## Building From Source 1. Clone this repository. -2. Make modifications to the source code. -3. (Optional) Change the module version in `pyproject.toml`. -4. Run `pytest` from the root of the repository to run unit tests. Only continue if all tests pass. -5. Build the module by running `py -m build` from the root of the repository. -6. Install the newly built wheel file. +2. Install the Python modules `build`, `wheel`, `hatchling`, and `hatch-requirements-txt`. +3. (Optional) Make modifications to the source code. +4. (Optional) Change the module version in `pyproject.toml`. +5. Run `pytest` from the root of the repository to run unit tests. Only continue if all tests pass. +6. Build the module by running `py -m build` from the root of the repository. ## License From 97277a2e05bb0fab4deb1721915d5f5c9597b6a3 Mon Sep 17 00:00:00 2001 From: SmartLamScott Date: Thu, 29 May 2025 10:50:04 -0500 Subject: [PATCH 4/4] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index df3ad36..0d89605 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages = ["object_filtering"] [project] name = "object_filtering" -version = "0.1.13" +version = "0.1.14" authors = [ { name="Scott Ratchford", email="object_filtering@scottratchford.com" }, ]