Fix incorrect constraints file on pypy2.7
This commit is contained in:
@@ -133,8 +133,9 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
|
|||||||
|
|
||||||
dependency_constraint_flags = []
|
dependency_constraint_flags = []
|
||||||
if dependency_constraints:
|
if dependency_constraints:
|
||||||
|
python_version, _, _ = config.version.partition('-')
|
||||||
dependency_constraint_flags = [
|
dependency_constraint_flags = [
|
||||||
'-c', dependency_constraints.get_for_python_version(config.version)
|
'-c', dependency_constraints.get_for_python_version(python_version)
|
||||||
]
|
]
|
||||||
|
|
||||||
# make sure pip is installed
|
# make sure pip is installed
|
||||||
|
|||||||
Reference in New Issue
Block a user