-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn about invalid extras during locking #3343
Comments
(Warn, but don’t fail) |
Has anyone been assigned to this issue? |
Nope, take it if you feel like it! |
Thanks. I'm on it. |
|
Development setup:OS: Device Specs: Python: 3.7.1 |
I'm following CONTRIBUTING.md Specifically, Development Setup section. Note: Current directory is I know I need to setup my dev environment using
But I'm not thoroughly familiar with From which directory do I do
|
Looks like you’re set up, need to thank whoever wrote those docs! |
Note to @snow8gaia:- 4 to 12 Dec 2018(till 2AM). Internet blackout. |
The command does not output any errors or warnings. But I can't run tests with The fork is in sync with upstream. I will try to do repeat same thing on a recent Ubuntu VM, maybe it works correctly and I am making a blunder(s). |
w.r.t. issues in #3343 (comment) Packages do get installed with python 3.7.1 on Win10, but maybe I was using In Testing section But for Are you sure you want to continue connecting (yes/no)?
Please type 'yes' or 'no':
Please type 'yes' or 'no': I type yes but it just keeps printing the same thing repeatedly. I try I then tried it again(3rd time), this time it accepted the response but didn't show it on screen( its not a password or is it? ). Or show a confirmation that the RSA key was stored. Also, this time it stopped at:- rootdir: G:\FreqsV\Github\pypa pipenv issue #3343\pipenv, inifile: pytest.ini
plugins: xdist-1.23.2, tap-2.3, forked-0.2, flaky-3.4.0, pypi-0.1.1
gw0 [219] / gw1 [219] / gw2 [219] / gw3 [219]
scheduling tests via LoadScheduling
… I try … to kill it.
PS: I am using Powershell for running tests. |
Tried it again, this time it showed: gw0 [219] / gw1 [219] / gw2 [219] / gw3 [219]
scheduling tests via LoadScheduling
........s................s......... I think the dots can be replaced with something that gives a concrete measure of progress in %, or just a uniform number of dots( I tried counting them). Currently, sometimes it seems like the program is unresponsive or not working. This might confuse new contributors not familiar with confusing progress outputs to skip tests and continue to the next step. EDIT: It takes way too long for the first [x%] to appear. I did see it but after going away for 5-8 minutes. If I used it for my work, 9min30s after I terminated the process. |
=========================== short test summary info ===========================
FAIL tests/integration/test_install_twists.py::test_multiple_editable_packages_should_not_race
FAIL tests/integration/test_install_twists.py::TestDependencyLinks::()::test_https_dependency_links_install
FAIL tests/integration/test_install_uri.py::test_vcs_entry_supersedes_non_vcs
FAIL tests/integration/test_install_uri.py::test_file_urls_work
FAIL tests/integration/test_install_uri.py::test_install_local_vcs_not_in_lockfile
FAIL tests/integration/test_windows.py::test_local_path_windows
FAIL tests/integration/test_windows.py::test_local_path_windows_forward_slash
FAIL tests/integration/test_lock.py::test_vcs_lock_respects_top_level_pins
SKIP [1] tests\integration\test_cli.py:215: non-deterministic
SKIP [1] tests\integration\test_install_basic.py:80: Does not work unless you can explicitly install into py2
SKIP [1] tests\integration\test_install_basic.py:267: Not mocking this.
SKIP [1] tests\integration\test_install_markers.py:131: Skip for python 3.7
SKIP [2] G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:81: requires github ssh
SKIP [1] tests\integration\test_install_twists.py:126: this doesn't work on windows
SKIP [1] tests\integration\test_lock.py:194: Needs numpy to be mocked
SKIP [1] tests\unit\test_utils.py:127: don't need to test if unicode is str
SKIP [4] tests\unit\test_utils.py:269: *nix file paths tested
SKIP [1] tests\integration\test_lock.py:450: This doesn't work for some reason.
SKIP [1] tests\integration\test_lock.py:524: scandir doesn't get installed on python 3.5+
SKIP [1] tests\integration\test_pipenv.py:19: non deterministic |
============================== warnings summary ===============================
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:52: RuntimeWarning: Cannot connect to GitHub via SSH
'Cannot connect to GitHub via SSH', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:55: RuntimeWarning: Will skip tests requiring SSH access to GitHub
'Will skip tests requiring SSH access to GitHub', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:52: RuntimeWarning: Cannot connect to GitHub via SSH
'Cannot connect to GitHub via SSH', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:55: RuntimeWarning: Will skip tests requiring SSH access to GitHub
'Will skip tests requiring SSH access to GitHub', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:52: RuntimeWarning: Cannot connect to GitHub via SSH
'Cannot connect to GitHub via SSH', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:55: RuntimeWarning: Will skip tests requiring SSH access to GitHub
'Will skip tests requiring SSH access to GitHub', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:52: RuntimeWarning: Cannot connect to GitHub via SSH
'Cannot connect to GitHub via SSH', RuntimeWarning
G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\conftest.py:55: RuntimeWarning: Will skip tests requiring SSH access to GitHub
'Will skip tests requiring SSH access to GitHub', RuntimeWarning
-- Docs: https://docs.pytest.org/en/latest/warnings.html
======= 8 failed, 195 passed, 16 skipped, 8 warnings in 2554.13 seconds ======= |
Command failed...
---------------------------- Captured stderr call -----------------------------
127.0.0.1 - - [15/Dec/2018 15:05:23] "GET /simple/urllib3/ HTTP/1.1" 200 694
127.0.0.1 - - [15/Dec/2018 15:05:23] "GET /urllib3/urllib3-1.21.1-py2.py3-none-any.whl HTTP/1.1" 200 131717
===Flaky Test Report===
test_extras_install passed 1 out of the required 1 times. Success!
test_outline_table_specifier passed 1 out of the required 1 times. Success!
test_top_level_overrides_environment_markers passed 1 out of the required 1 times. Success!
test_install_local_file_collision passed 1 out of the required 1 times. Success!
test_basic_vcs_install passed 1 out of the required 1 times. Success!
test_git_vcs_install passed 1 out of the required 1 times. Success!
test_urls_work passed 1 out of the required 1 times. Success!
test_editable_vcs_install passed 1 out of the required 1 times. Success!
test_install_editable_git_tag passed 1 out of the required 1 times. Success!
test_mirror_install passed 1 out of the required 1 times. Success!
test_install_without_dev passed 1 out of the required 1 times. Success!
test_backup_resolver passed 1 out of the required 1 times. Success!
test_platform_python_implementation_marker passed 1 out of the required 1 times. Success!
test_complex_deps_lock_and_install_properly passed 1 out of the required 1 times. Success!
test_bad_mirror_install passed 1 out of the required 1 times. Success!
test_install_without_dev_section passed 1 out of the required 1 times. Success!
test_alternative_version_specifier passed 1 out of the required 1 times. Success!
test_specific_package_environment_markers passed 1 out of the required 1 times. Success!
test_pipenv_check passed 1 out of the required 1 times. Success!
test_basic_install passed 1 out of the required 1 times. Success!
test_basic_dev_install passed 1 out of the required 1 times. Success!
test_windows_pinned_pipfile passed 1 out of the required 1 times. Success!
test_package_environment_markers passed 1 out of the required 1 times. Success!
test_global_overrides_environment_markers passed 1 out of the required 1 times. Success!
test_environment_variable_value_does_not_change_hash passed 1 out of the required 1 times. Success!
test_https_dependency_links_install failed (1 runs remaining out of 2).
<class 'AssertionError'>
assert 1 == 0
+ where 1 = <Command 'pipenv install -v -e .'>.return_code
[<TracebackEntry G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\test_install_twists.py:113>, <TracebackEntry G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\test_install_twists.py:101>]
test_https_dependency_links_install failed; it passed 0 out of the required 1 times.
<class 'AssertionError'>
assert 1 == 0
+ where 1 = <Command 'pipenv install -v -e .'>.return_code
[<TracebackEntry G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\test_install_twists.py:113>, <TracebackEntry G:\FreqsV\Github\pypa pipenv issue #3343\pipenv\tests\integration\test_install_twists.py:101>]
test_multiprocess_bug_and_install passed 1 out of the required 1 times. Success!
test_sequential_mode passed 1 out of the required 1 times. Success!
test_local_package passed 1 out of the required 1 times. Success!
test_local_zipfiles passed 1 out of the required 1 times. Success!
test_relative_paths passed 1 out of the required 1 times. Success!
===End Flaky Test Report=== |
I have not added SSH access to GitHub, so I think the 8 failed tests in #3343 (comment) can be ignored safely. Unless I am missing something, I think it's time for the next step. |
We don’t ignore failing tests. Note how one of our tests are failing in CI. You don’t need to post updates here, if you think your branch will pass our tests, I.e that these are not applicable, make a pull request and it will be auto-tested |
I just synced the fork with upstream. Now, both are identical. Can't make PR now. I will test again after I check the failing tests. |
I give up. This issue has no assignees as of now. Some unforeseen issues have come up on my end that will cause a massive delay. Thanks for everything. |
We don’t typically assign things. You are free to work on it or no, but if you have an open pull request please keep communication there for now |
I have started working on this. I'll make a dummy PR in a while. Linkhttps://github.com/snow8gaia/pipenv |
From #3026.
The text was updated successfully, but these errors were encountered: