From ee40c399413dfb8bc4771c89c5e86ddc7a0ebaa6 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Sun, 12 Dec 2021 08:55:16 +0200 Subject: [PATCH 1/3] Update test_rejson.py --- tests/test_rejson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rejson.py b/tests/test_rejson.py index 1f9054f..222023d 100644 --- a/tests/test_rejson.py +++ b/tests/test_rejson.py @@ -184,7 +184,7 @@ def testDebugMemoryShouldSucceed(self): "Test JSONDebug" rj.jsonset('str', Path.rootPath(), 'foo') - self.assertEqual(24, rj.jsondebugmemory('str', Path.rootPath())) + self.assertEqual(8, rj.jsondebugmemory('str', Path.rootPath())) def testPipelineShouldSucceed(self): "Test pipeline" From 265443dcc002aa1fbd2d770f1caccc79c22571b1 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Fri, 21 Jan 2022 08:43:39 +0200 Subject: [PATCH 2/3] Update test_rejson.py --- tests/test_rejson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rejson.py b/tests/test_rejson.py index 222023d..1a0607b 100644 --- a/tests/test_rejson.py +++ b/tests/test_rejson.py @@ -184,7 +184,7 @@ def testDebugMemoryShouldSucceed(self): "Test JSONDebug" rj.jsonset('str', Path.rootPath(), 'foo') - self.assertEqual(8, rj.jsondebugmemory('str', Path.rootPath())) + self.assertEqual(11, rj.jsondebugmemory('str', Path.rootPath())) def testPipelineShouldSucceed(self): "Test pipeline" From 8d38d3b27f2602868c9924fb423baffe6535484d Mon Sep 17 00:00:00 2001 From: Chayim Date: Wed, 8 Feb 2023 10:30:21 +0200 Subject: [PATCH 3/3] removing circle and ensuring we redirect to active libraries (#73) --- .circleci/circle_requirements.txt | 3 - .circleci/config.yml | 128 ------------------------------ README.md | 1 - 3 files changed, 132 deletions(-) delete mode 100644 .circleci/circle_requirements.txt delete mode 100644 .circleci/config.yml diff --git a/.circleci/circle_requirements.txt b/.circleci/circle_requirements.txt deleted file mode 100644 index 1c010d2..0000000 --- a/.circleci/circle_requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -poetry>=1.1.6 -tox>=3.23.1 -tox-poetry>=0.3.0 diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 8a25171..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,128 +0,0 @@ -# Python CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-python/ for more details -# -version: 2.1 - -commands: - - abort_for_docs: - steps: - - run: - name: Avoid tests for docs - command: | - if [[ $CIRCLE_BRANCH == *docs ]]; then - echo "Identifies as documents PR, no testing required" - circleci step halt - fi - - abort_for_noci: - steps: - - run: - name: Ignore CI for specific branches - command: | - if [[ $CIRCLE_BRANCH == *noci ]]; then - echo "Identifies as actively ignoring CI, no testing required." - circleci step halt - fi - - - early_return_for_forked_pull_requests: - description: >- - If this build is from a fork, stop executing the current job and return success. - This is useful to avoid steps that will fail due to missing credentials. - steps: - - run: - name: Early return if this build is from a forked PR - command: | - if [[ -n "$CIRCLE_PR_NUMBER" ]]; then - echo "Nothing to do for forked PRs, so marking this step successful" - circleci step halt - fi - - build_and_test: - steps: - - abort_for_docs - - abort_for_noci - - checkout - - - run: - name: install tox dependencies - command: | - pip install --user --quiet --upgrade pip virtualenv - pip install --user --quiet -r .circleci/circle_requirements.txt - - - run: - name: install dependencies - command: | - # https://github.com/python-poetry/poetry/issues/4210 - poetry config experimental.new-installer false - poetry install - - - run: - name: build sdist and wheels - command: | - poetry build - - - run: - name: lint - command: | - tox -e linters - - - run: - name: run tests - command: - tox -e cover - -jobs: - build: - parameters: - python_version: - type: string - default: "latest" - docker: - - image: circleci/python:<> - - image: redislabs/rejson:edge - steps: - - build_and_test - -on-any-branch: &on-any-branch - filters: - branches: - only: - - /.*/ - tags: - ignore: /.*/ - -on-master: &on-master - filters: - branches: - only: - - master - -# the is to build and test, per commit against all supported python versions -python-versions: &python-versions - matrix: - parameters: - python_version: - - "3.6.9" - - "3.7.9" - - "3.8.9" - - "3.9.4" - - "3.10.0" - - "latest" - -workflows: - commit: - jobs: - - build: - <<: *on-any-branch - <<: *python-versions - - nightly: - triggers: - - schedule: - cron: "0 0 * * *" - <<: *on-master - jobs: - - build diff --git a/README.md b/README.md index 4f9eb9a..b9f3165 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ [![license](https://img.shields.io/github/license/RedisJSON/RedisJSON-py.svg)](https://github.com/RedisJSON/redisjson-py/blob/master/LICENSE) -[![CircleCI](https://circleci.com/gh/RedisJSON/redisjson-py/tree/master.svg?style=svg)](https://circleci.com/gh/RedisJSON/redisjson-py/tree/master) [![pypi](https://badge.fury.io/py/rejson.svg)](https://badge.fury.io/py/rejson) [![PyVersions](https://img.shields.io/pypi/pyversions/rejson.svg)](https://github.com/RedisJSON/redisjson-py) [![GitHub issues](https://img.shields.io/github/release/RedisJSON/redisjson-py.svg)](https://github.com/RedisJSON/redisjson-py/releases/latest)