From c0f0c9b143fae7c3e986cd393b1dcbd08902a421 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Wed, 29 Nov 2023 22:26:52 -0800 Subject: [PATCH] fix tests for latest pipenv Failing on master for pipenv>2023.2.4, which was the last version supported for python<3.8 --- tests/test_deploy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_deploy.py b/tests/test_deploy.py index 303fda63..d5980614 100644 --- a/tests/test_deploy.py +++ b/tests/test_deploy.py @@ -4,6 +4,7 @@ from __future__ import absolute_import import os +import sys import unittest from unittest.mock import patch, Mock @@ -323,7 +324,9 @@ def pipfile_test(self, req_name): 'package==0.0.0', 'hash-package==0.0.1', 'hash-package2==0.0.1', - 'git+https://github.com/vcs/package.git@master#egg=vcs-package', + 'git+https://github.com/vcs/package.git@master#egg=vcs-package' + if sys.version_info < (3, 8) + else 'vcs-package@ git+https://github.com/vcs/package.git@master' }) def test_pipfile_names(self):