From e3017b7a1368c8f2e00ea12c66d39a70081cfc14 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 20:39:07 +0200 Subject: [PATCH 1/9] adding older pythons as well --- .circleci/config.yml | 2 ++ pyproject.toml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index df87cf6..6a7a251 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -120,6 +120,8 @@ python-versions: &python-versions matrix: parameters: python_version: + - "3.6.15" + - "3.7.12" - "3.8.9" - "3.9.4" - "3.10.0" diff --git a/pyproject.toml b/pyproject.toml index d47791f..1676f03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,14 @@ classifiers = [ 'Topic :: Database', 'Programming Language :: Python', 'Intended Audience :: Developers', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'License :: OSI Approved :: BSD License', + 'Development Status :: 5 - Production/Stable' + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', From c6dfb9ba9d59f57f580b7cfc197dcee06b798973 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 20:43:41 +0200 Subject: [PATCH 2/9] toml fix --- .circleci/config.yml | 2 +- pyproject.toml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6a7a251..0c15725 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,7 +62,7 @@ commands: command: | # https://github.com/python-poetry/poetry/issues/4210 poetry config experimental.new-installer false - poetry install + poetry install --no-dev - run: name: build sdist and wheels diff --git a/pyproject.toml b/pyproject.toml index 1676f03..7987beb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,12 +18,6 @@ classifiers = [ 'License :: OSI Approved :: BSD License', 'Development Status :: 5 - Production/Stable' - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'License :: OSI Approved :: BSD License', - 'Development Status :: 5 - Production/Stable' - ] keywords = ["Redis Graph Extension"] From 520c5848300afe1a9b24fbec884741ab4fe63e4c Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 20:45:55 +0200 Subject: [PATCH 3/9] deps downgrade --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7987beb..65bad0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,11 +40,12 @@ codecov = "^2.1.11" flake8 = "^3.9.2" tox = "^3.23.1" tox-poetry = "^0.3.0" -bandit = "^1.7.0" -vulture = "^2.3" +bandit = "^1.6.0" +vulture = "^2.3.0" pytest = "^6.2.4" pytest-cov = "^2.12.1" pathos = "^0.2.8" +importlib-metadata = "^4.11.2" [build-system] requires = ["poetry-core>=1.0.0"] From 5b10b0a5ef9fab8c76bdbd348c8e7a1450f62208 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 20:58:37 +0200 Subject: [PATCH 4/9] lowgrades --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 65bad0b..267d9dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,8 @@ vulture = "^2.3.0" pytest = "^6.2.4" pytest-cov = "^2.12.1" pathos = "^0.2.8" -importlib-metadata = "^4.11.2" +importlib-metadata = "^3.0.0" +typing-extensions = "^4.0.0" [build-system] requires = ["poetry-core>=1.0.0"] From 511de14405c3502b896e697c1a6ef097e096824b Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 21:00:25 +0200 Subject: [PATCH 5/9] bandit --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 267d9dd..e2ffe21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ codecov = "^2.1.11" flake8 = "^3.9.2" tox = "^3.23.1" tox-poetry = "^0.3.0" -bandit = "^1.6.0" vulture = "^2.3.0" pytest = "^6.2.4" pytest-cov = "^2.12.1" From ca61a8aa302f422a6e9848e95ab0f2f71b607791 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 21:03:28 +0200 Subject: [PATCH 6/9] forgot the tox --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 51f3e37..9c99bed 100644 --- a/tox.ini +++ b/tox.ini @@ -20,4 +20,3 @@ commands = commands = # flake8 --show-source vulture redisgraph_bulk_loader/ --min-confidence 80 - bandit redisgraph_bulk_loader/ From 1e65e1744a08dbf4645e10a69ecd4a349552f13c Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 21:10:29 +0200 Subject: [PATCH 7/9] importlib --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e2ffe21..c041900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ vulture = "^2.3.0" pytest = "^6.2.4" pytest-cov = "^2.12.1" pathos = "^0.2.8" -importlib-metadata = "^3.0.0" +importlib-metadata = "^1.6.0" typing-extensions = "^4.0.0" [build-system] From d0239e1c5fbfa7859594f627e7b7946dce88cfda Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 21:25:58 +0200 Subject: [PATCH 8/9] deps --- pyproject.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c041900..2db2847 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,22 +30,20 @@ url = "https://redisgraph.io" repository = "https://github.com/RedisGraph/redisgraph-bulk-loader" [tool.poetry.dependencies] -python = "^3.8.5" +python = "^3.6.0" click = "^8.0.1" redis = "^4.1.4" -pathos = "^0.2.8" [tool.poetry.dev-dependencies] codecov = "^2.1.11" flake8 = "^3.9.2" -tox = "^3.23.1" +tox = "^3.15.0" tox-poetry = "^0.3.0" vulture = "^2.3.0" pytest = "^6.2.4" pytest-cov = "^2.12.1" pathos = "^0.2.8" -importlib-metadata = "^1.6.0" -typing-extensions = "^4.0.0" +typing-extensions = "^4.1.1" [build-system] requires = ["poetry-core>=1.0.0"] From c927acce9e02f510d71bfaf8cbc1634c77f6d371 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Wed, 9 Mar 2022 21:28:29 +0200 Subject: [PATCH 9/9] python 3.6, and 3.7 support bumped verisons --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2db2847..fa60ef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redisgraph-bulk-loader" -version = "0.10.0" +version = "0.10.1" description = "RedisGraph Bulk Import Tool" authors = ["Redis Inc "] license = "BSD-3-Clause"