From 1c40dcffe448866de53fe10fa2bd6abc3c8fb8b1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 17 Dec 2020 23:07:34 +0200
Subject: [PATCH] Pipenv.

- Only install bumpversion on Python 3.6 or later, don't install when
using Python 2.7 (I'm only using it locally and it's not needed when
testing).
- Remove dbus-python and keyring. They were optional requirements for
twine, but dbus-python is deprecated and keyring is now required.
- Don't require a specific Python version, in CI I'm testing with all
supported versions of Python and PyPy and Python 2.7.
---
 Pipfile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/Pipfile b/Pipfile
index 04cc131..4901092 100644
--- a/Pipfile
+++ b/Pipfile
@@ -5,17 +5,10 @@ verify_ssl = true
 
 [dev-packages]
 pre-commit = "*"
-bumpversion = "*"
+bumpversion = {version = "*", markers="python_version >= '3.6'"}
 twine = "*"
-dbus-python = "*"
-keyring = "*"
 template = {editable = true,path = "."}
 
-[packages]
-
-[requires]
-python_version = "3.7"
-
 [scripts]
 lint = "pre-commit run --all-files"
 build = "python setup.py bdist_wheel"
-- 
GitLab