From 64871d030c8b080c05654c92d2fcb098ba7a95f1 Mon Sep 17 00:00:00 2001 From: amithdas99 Date: Wed, 21 Oct 2026 22:41:01 +0530 Subject: [PATCH 1/3] Added environment.yml for conda devs --- environment.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 environment.yml diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..7b39e9a --- /dev/null +++ b/environment.yml @@ -0,0 +1,7 @@ +name: chispa +channels: + - conda-forge +dependencies: + - python=3.12 # Match your project's python version + - pip + - poetry \ No newline at end of file From 5186f41d4bb1ec73578b23b778ddb25b0513f9f7 Mon Sep 17 00:00:00 2001 From: amithdas99 Date: Sat, 24 Oct 2026 20:46:57 +0530 Subject: [PATCH 2/3] Fixed end of end of file new-line as part of pre-commit hook failure --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 7b39e9a..51c606b 100644 --- a/environment.yml +++ b/environment.yml @@ -4,4 +4,4 @@ channels: dependencies: - python=3.12 # Match your project's python version - pip - - poetry \ No newline at end of file + - poetry From 4b0ef77b8266b119b0eb80eea4d905ef4219c1ea Mon Sep 17 00:00:00 2001 From: amithdas99 Date: Sat, 24 Oct 2026 20:57:04 +0530 Subject: [PATCH 3/3] Added steps for conda dev support --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index bc34e7c..0e0b28e 100644 --- a/README.md +++ b/README.md @@ -578,6 +578,16 @@ This project uses [Poetry](https://python-poetry.org/) for packaging and depende * Setup the virtual environment with `poetry install` * Run the tests with `poetry run pytest tests` +If you prefer to use Conda, run these commands from the repository root: + +```sh +conda env create --file environment.yml +conda activate chispa +poetry install +``` + +The Conda environment provides Python and Poetry; `poetry install` installs the project dependencies. Run the tests with `poetry run pytest tests`. + Studying the codebase is a great way to learn about PySpark! ## Contributing