From 3d086605daff2adc365985d519194896c8f5edc0 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 11:17:26 -0400 Subject: [PATCH 01/16] Update config.yml --- .circleci/config.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6554e1f..ff55e8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,26 +1,22 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/2.0/configuration-reference/#jobs jobs: - say-hello: - # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + build_test: docker: - - image: cimg/base:stable - # Add steps to the job - # See: https://circleci.com/docs/2.0/configuration-reference/#steps + - image: circleci/python:3.6.1 steps: - - checkout + - checkout # checkout source code to working directory - run: - name: "Say hello" - command: "echo Hello, World!" + command: | # create whl and use pipenv to install dependencies + python setup.py sdist bdist_wheel + sudo pip install pipenv + pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl + pipenv install pytest + - run: + command: | # Run test suite + pipenv run pytest -s -vv -# Invoke jobs via workflows -# See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: - say-hello-workflow: + build_test: jobs: - - say-hello + - build_test From 308799429a16208fce92eaad9e4f6a9c0d0749a3 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 11:21:01 -0400 Subject: [PATCH 02/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ff55e8c..3535f90 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: command: | # create whl and use pipenv to install dependencies python setup.py sdist bdist_wheel sudo pip install pipenv - pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl + pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl --no-cache-dir pipenv install pytest - run: command: | # Run test suite From 40fde7604e3654397cf7858e80272d0c3a9f6b12 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 11:38:21 -0400 Subject: [PATCH 03/16] Update config.yml --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3535f90..50d37f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,13 +7,12 @@ jobs: steps: - checkout # checkout source code to working directory - run: - command: | # create whl and use pipenv to install dependencies - python setup.py sdist bdist_wheel - sudo pip install pipenv - pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl --no-cache-dir - pipenv install pytest + command: | # Install package + python3 -m venv build_test + source build_test/bin/activate + python3 setup.py install - run: - command: | # Run test suite + command: | # Run tests pipenv run pytest -s -vv workflows: From e36125cc577f2a4b6102ed63e2fd5b430f491002 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 11:44:05 -0400 Subject: [PATCH 04/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50d37f4..4ff2088 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build_test: docker: - - image: circleci/python:3.6.1 + - image: circleci/python:3.6.4 steps: - checkout # checkout source code to working directory - run: From 56017bcff3c27f73a49ab048e4f87099562bf916 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:03:28 -0400 Subject: [PATCH 05/16] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4ff2088..b34c70c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,12 +8,12 @@ jobs: - checkout # checkout source code to working directory - run: command: | # Install package - python3 -m venv build_test - source build_test/bin/activate - python3 setup.py install + sudo pip install pipenv + pipenv install . - run: command: | # Run tests - pipenv run pytest -s -vv + pipenv shell + pytest -s -vv python/fastgrouper/test/ workflows: build_test: From 34760308afe2298e5447849cf0c4fb6289dab68c Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:05:41 -0400 Subject: [PATCH 06/16] Add __ini__.py to tests, gitignore --- .gitignore | 5 ++++- python/fastgrouper/test/__init__.py | 0 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 python/fastgrouper/test/__init__.py diff --git a/.gitignore b/.gitignore index e01530a..d3d877c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ .cache grouper.egg-info dist -fastgrouper.egg-info \ No newline at end of file +fastgrouper.egg-info +build +Pipfile +Pipfile.lock \ No newline at end of file diff --git a/python/fastgrouper/test/__init__.py b/python/fastgrouper/test/__init__.py new file mode 100644 index 0000000..e69de29 From 12ebabb5c2ac868e56e8ea5e6d0f7f1f518b46e2 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:07:45 -0400 Subject: [PATCH 07/16] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b34c70c..52a20a6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,7 @@ jobs: pipenv install . - run: command: | # Run tests - pipenv shell - pytest -s -vv python/fastgrouper/test/ + pipenv run pytest python/fastgrouper/test/ -s -vv workflows: build_test: From 7b3f7661d03c7fb60ba5c8570a9c0886b1d41bd5 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:08:51 -0400 Subject: [PATCH 08/16] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 52a20a6..3510ca3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,7 @@ jobs: pipenv install . - run: command: | # Run tests + sudo pip install pytest pipenv run pytest python/fastgrouper/test/ -s -vv workflows: From 365468c8634df42e5ce70a6491e4e5301002d8bd Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:14:04 -0400 Subject: [PATCH 09/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3510ca3..7a9f278 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: pipenv install . - run: command: | # Run tests - sudo pip install pytest + pipenv install pytest pipenv run pytest python/fastgrouper/test/ -s -vv workflows: From 38938f7cbfb16a61a7f7aef37137db4039233c07 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:22:04 -0400 Subject: [PATCH 10/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a9f278..8f63b3b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: - checkout # checkout source code to working directory - run: command: | # Install package - sudo pip install pipenv + sudo pip install -U pipenv pipenv install . - run: command: | # Run tests From 7d022486bf782b7240a42b45720fa2abfbcd8a61 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:24:53 -0400 Subject: [PATCH 11/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f63b3b..d116136 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build_test: docker: - - image: circleci/python:3.6.4 + - image: cimg/python:3.6.4 steps: - checkout # checkout source code to working directory - run: From f74846417e8fcb07b8a41d7c1e9fb5e723707731 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:30:24 -0400 Subject: [PATCH 12/16] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d116136..f12945c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build_test: docker: - - image: cimg/python:3.6.4 + - image: cimg/python:3.6 steps: - checkout # checkout source code to working directory - run: From fe7d47ca6b420a581f284e29f3e333e4537dc4f9 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:33:01 -0400 Subject: [PATCH 13/16] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f12945c..3349df9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,7 @@ jobs: - checkout # checkout source code to working directory - run: command: | # Install package + sudo apt install python3-pip sudo pip install -U pipenv pipenv install . - run: From cc285741c6815a35da8b7a6ddb1530c22606e643 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:33:48 -0400 Subject: [PATCH 14/16] Update config.yml --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3349df9..7b37d84 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,8 +8,7 @@ jobs: - checkout # checkout source code to working directory - run: command: | # Install package - sudo apt install python3-pip - sudo pip install -U pipenv + sudo pip3 install -U pipenv pipenv install . - run: command: | # Run tests From fc0f5a5c584bedc43268ddcc3d3e5912afbe9e7b Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:41:59 -0400 Subject: [PATCH 15/16] Update config.yml --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7b37d84..2cb8a33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,18 +3,17 @@ version: 2.1 jobs: build_test: docker: - - image: cimg/python:3.6 + - image: circleci/python:3.6.4 steps: - checkout # checkout source code to working directory - run: command: | # Install package - sudo pip3 install -U pipenv + sudo pip install -U pipenv pipenv install . - run: command: | # Run tests pipenv install pytest pipenv run pytest python/fastgrouper/test/ -s -vv - workflows: build_test: jobs: From 72c669e29683a531d4432572cca907e430039c37 Mon Sep 17 00:00:00 2001 From: sjoshistrats Date: Sat, 16 Apr 2022 12:52:19 -0400 Subject: [PATCH 16/16] bump patch --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 75b13c2..62b316d 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setuptools.setup( name="fastgrouper", - version="0.1.0", + version="0.1.1", author="Shreyas Joshi", author_email="sjoshistrats@gmail.com", description="A package for applying efficient groupby operations.",