Pipfile support (schema)#4782
Conversation
humitos
left a comment
There was a problem hiding this comment.
I'm blocking this one because the YAML is important and I want to be sure that I'm understanding the changes proposed here before I approve it.
In particular, the options --skip-lock and --ignore-pipfile are kind of confusing after reading the documentation. Using them together doesn't make too much sense and seems that pipenv should fail.
| assertValidConfig(tmpdir, content.format(value=value)) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize('value', [True, False]) |
There was a problem hiding this comment.
True and False shouldn't be true and false since it's a YAML file?
Other tests use true and false, which I think it's correct.
| extra_requirements: list(str(), required=False) | ||
|
|
||
| python-install-pipfile: | ||
| # The path to the project to be installed |
There was a problem hiding this comment.
I think this should be,
The path to the directory that contains the Pipfile to use
since the project is not going to be installed, but all the dependencies on the Pipfile.
Codecov Report
@@ Coverage Diff @@
## master #4782 +/- ##
=========================================
+ Coverage 76.12% 76.22% +0.1%
=========================================
Files 158 158
Lines 10007 10025 +18
Branches 1261 1264 +3
=========================================
+ Hits 7618 7642 +24
+ Misses 2044 2039 -5
+ Partials 345 344 -1
|
|
@agjohnson @humitos this is ready for re-review, I have changed (inverted) the defaults as #4782 (comment) |
agjohnson
left a comment
There was a problem hiding this comment.
Awesome, I think the schema matches how we want to use pipfile by default. I'm excited to get this implemented!
I think this satisfies the all the feedback, so we can unblock this. If @humitos has no other feedback tihs is ready for merge!
|
|
||
|
|
||
| def test_python_install_pipfile(tmpdir): | ||
| @pytest.mark.parametrize('pipfile', ['another_docs/', '.', 'project/']) |
Ref #3181