From dd7e7672f7916cfc8463c670a399ba83c3dd130d Mon Sep 17 00:00:00 2001 From: Lakshmanan Meiyappan Date: Fri, 27 Mar 2026 18:53:30 -0700 Subject: [PATCH] separate runtime and dev dependencies Closes #4 Co-Authored-By: Claude Sonnet 4.6 --- .circleci/config.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 2 +- requirements-dev.txt | 2 ++ requirements.txt | 2 -- 5 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 requirements-dev.txt diff --git a/.circleci/config.yml b/.circleci/config.yml index 879eb34..b7ae72e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: command: | python -m virtualenv env . env/bin/activate - pip install --no-cache-dir -r requirements.txt + pip install --no-cache-dir -r requirements-dev.txt # - run: # name: Run tests diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1242188..8d6a957 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 run: | flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e031b1..363500f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..3c42f0b --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,2 @@ +-r requirements.txt +pytest==6.2.4 diff --git a/requirements.txt b/requirements.txt index ffe8742..a8ed785 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ requests==2.26.0 -pytest==6.2.4 -typing==3.7.4.3 \ No newline at end of file