text:
Many tests fail

Ubuntu 16.10
tag: 0.9.8
Building & testing with:
        echo --------
        echo Cleaning
        echo --------
        cd git-httpie
        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh $branch $tag

        echo -----------------------
        echo Installing Dependencies
        echo -----------------------
        pip install -r requirements-dev.txt -U

        echo --------
        echo Building
        echo --------
        sudo -u actionmystique -H python setup.py build

        echo ---------
        echo Installing
        echo ---------
        python setup.py install

        echo --------
        echo Testing
        echo --------
        python setup.py test

leads to:
--------
Testing
--------
running test
running egg_info
writing requirements to httpie.egg-info/requires.txt
writing httpie.egg-info/PKG-INFO
writing top-level names to httpie.egg-info/top_level.txt
writing dependency_links to httpie.egg-info/dependency_links.txt
writing entry points to httpie.egg-info/entry_points.txt
reading manifest file 'httpie.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'httpie.egg-info/SOURCES.txt'
running build_ext
============================================================================ test session starts ============================================================================
platform linux2 -- Python 2.7.12+, pytest-3.0.7, py-1.4.33, pluggy-0.4.0 -- /usr/bin/python
cachedir: .cache
rootdir: /home/actionmystique/src/HTTPie/git-httpie, inifile: pytest.ini
plugins: xdist-1.15.0, timeout-1.2.0, httpbin-0.2.3, cov-2.4.0, catchlog-1.2.2
collected 236 items

httpie/utils.py::httpie.utils.humanize_bytes PASSED
tests/test_auth.py::test_basic_auth[http] PASSED
tests/test_auth.py::test_digest_auth[http---auth-type] PASSED
tests/test_auth.py::test_digest_auth[http--A] PASSED
tests/test_auth.py::test_credentials_in_url[http] PASSED
tests/test_auth.py::test_credentials_in_url_auth_flag_has_priority[http] PASSED
tests/test_downloads.py::TestDownloads::test_actual_download[http] PASSED
tests/test_downloads.py::TestDownloads::test_download_with_Content_Length[http] PASSED
tests/test_downloads.py::TestDownloads::test_download_no_Content_Length[http] PASSED
tests/test_downloads.py::TestDownloads::test_download_interrupted[http] PASSED
tests/test_httpie.py::test_GET[http] PASSED
tests/test_httpie.py::test_DELETE[http] PASSED
tests/test_httpie.py::test_PUT[http] PASSED
tests/test_httpie.py::test_POST_JSON_data[http] PASSED
tests/test_httpie.py::test_POST_form[http] PASSED
tests/test_httpie.py::test_POST_form_multiple_values[http] PASSED
tests/test_httpie.py::test_POST_stdin[http] PASSED
tests/test_httpie.py::test_headers[http] PASSED
tests/test_httpie.py::test_headers_unset[http] PASSED
tests/test_httpie.py::test_unset_host_header[http] SKIPPED
tests/test_httpie.py::test_headers_empty_value[http] PASSED
tests/test_httpie.py::test_json_input_preserve_order[http] PASSED
tests/test_auth.py::test_basic_auth[https] PASSED
tests/test_auth.py::test_digest_auth[https---auth-type] PASSED
tests/test_auth.py::test_digest_auth[https--A] PASSED
tests/test_auth.py::test_credentials_in_url[https] PASSED
tests/test_auth.py::test_credentials_in_url_auth_flag_has_priority[https] PASSED
tests/test_downloads.py::TestDownloads::test_actual_download[https] PASSED
tests/test_downloads.py::TestDownloads::test_download_with_Content_Length[https] PASSED
tests/test_downloads.py::TestDownloads::test_download_no_Content_Length[https] PASSED
tests/test_downloads.py::TestDownloads::test_download_interrupted[https] PASSED
tests/test_httpie.py::test_GET[https] PASSED
tests/test_httpie.py::test_DELETE[https] PASSED
tests/test_httpie.py::test_PUT[https] PASSED
tests/test_httpie.py::test_POST_JSON_data[https] PASSED
tests/test_httpie.py::test_POST_form[https] PASSED
tests/test_httpie.py::test_POST_form_multiple_values[https] PASSED
tests/test_httpie.py::test_POST_stdin[https] PASSED
tests/test_httpie.py::test_headers[https] PASSED
tests/test_httpie.py::test_headers_unset[https] PASSED
tests/test_httpie.py::test_unset_host_header[https] SKIPPED
tests/test_httpie.py::test_headers_empty_value[https] PASSED
tests/test_httpie.py::test_json_input_preserve_order[https] PASSED
tests/test_auth.py::test_password_prompt PASSED
tests/test_auth.py::test_only_username_in_url[username@example.org] PASSED
tests/test_auth.py::test_only_username_in_url[username:@example.org] PASSED
tests/test_auth.py::test_missing_auth PASSED
tests/test_auth_plugins.py::test_auth_plugin_parse_auth_false PASSED
tests/test_auth_plugins.py::test_auth_plugin_require_auth_false PASSED
tests/test_auth_plugins.py::test_auth_plugin_require_auth_false_and_auth_provided PASSED
tests/test_auth_plugins.py::test_auth_plugin_prompt_password_false PASSED
tests/test_binary.py::TestBinaryRequestData::test_binary_stdin PASSED
tests/test_binary.py::TestBinaryRequestData::test_binary_file_path PASSED
tests/test_binary.py::TestBinaryRequestData::test_binary_file_form PASSED
tests/test_binary.py::TestBinaryResponseData::test_binary_suppresses_when_terminal PASSED
tests/test_binary.py::TestBinaryResponseData::test_binary_suppresses_when_not_terminal_but_pretty PASSED
tests/test_binary.py::TestBinaryResponseData::test_binary_included_and_correct_when_suitable PASSED
tests/test_cli.py::TestItemParsing::test_invalid_items PASSED
tests/test_cli.py::TestItemParsing::test_escape_separator PASSED
tests/test_cli.py::TestItemParsing::test_backslash_before_non_special_character_does_not_escape[path=c:\windows-path-=-c:\windows] PASSED
tests/test_cli.py::TestItemParsing::test_backslash_before_non_special_character_does_not_escape[path=c:\windows\-path-=-c:\windows\] PASSED
tests/test_cli.py::TestItemParsing::test_backslash_before_non_special_character_does_not_escape[path\==c:\windows-path=-=-c:\windows] PASSED
tests/test_cli.py::TestItemParsing::test_escape_longsep PASSED
tests/test_cli.py::TestItemParsing::test_valid_items PASSED
tests/test_cli.py::TestItemParsing::test_multiple_file_fields_with_same_field_name PASSED
tests/test_cli.py::TestItemParsing::test_multiple_text_fields_with_same_field_name PASSED
tests/test_cli.py::TestQuerystring::test_query_string_params_in_url PASSED
tests/test_cli.py::TestQuerystring::test_query_string_params_items PASSED
tests/test_cli.py::TestQuerystring::test_query_string_params_in_url_and_items_with_duplicates PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand_with_slash PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand_with_port PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand_with_path PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand_with_port_and_slash PASSED
tests/test_cli.py::TestLocalhostShorthand::test_expand_localhost_shorthand_with_port_and_path PASSED
tests/test_cli.py::TestLocalhostShorthand::test_dont_expand_shorthand_ipv6_as_shorthand PASSED
tests/test_cli.py::TestLocalhostShorthand::test_dont_expand_longer_ipv6_as_shorthand PASSED
tests/test_cli.py::TestLocalhostShorthand::test_dont_expand_full_ipv6_as_shorthand PASSED
tests/test_cli.py::TestArgumentParser::test_guess_when_method_set_and_valid PASSED
tests/test_cli.py::TestArgumentParser::test_guess_when_method_not_set PASSED
tests/test_cli.py::TestArgumentParser::test_guess_when_method_set_but_invalid_and_data_field PASSED
tests/test_cli.py::TestArgumentParser::test_guess_when_method_set_but_invalid_and_header_field PASSED
tests/test_cli.py::TestArgumentParser::test_guess_when_method_set_but_invalid_and_item_exists PASSED
tests/test_cli.py::TestNoOptions::test_valid_no_options PASSED
tests/test_cli.py::TestNoOptions::test_invalid_no_options PASSED
tests/test_cli.py::TestIgnoreStdin::test_ignore_stdin PASSED
tests/test_cli.py::TestIgnoreStdin::test_ignore_stdin_cannot_prompt_password PASSED
tests/test_cli.py::TestSchemes::test_invalid_custom_scheme PASSED
tests/test_cli.py::TestSchemes::test_invalid_scheme_via_via_default_scheme PASSED
tests/test_cli.py::TestSchemes::test_default_scheme PASSED
tests/test_config.py::test_default_options PASSED
tests/test_config.py::test_default_options_overwrite PASSED
tests/test_config.py::test_migrate_implicit_content_type PASSED
tests/test_defaults.py::TestImplicitHTTPMethod::test_implicit_GET PASSED
tests/test_defaults.py::TestImplicitHTTPMethod::test_implicit_GET_with_headers PASSED
tests/test_defaults.py::TestImplicitHTTPMethod::test_implicit_POST_json PASSED
tests/test_defaults.py::TestImplicitHTTPMethod::test_implicit_POST_form PASSED
tests/test_defaults.py::TestImplicitHTTPMethod::test_implicit_POST_stdin PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_GET_no_data_no_auto_headers PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_POST_no_data_no_auto_headers PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_POST_with_data_auto_JSON_headers PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_GET_with_data_auto_JSON_headers PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_POST_explicit_JSON_auto_JSON_accept PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_GET_explicit_JSON_explicit_headers PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_POST_form_auto_Content_Type PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_POST_form_Content_Type_override PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_print_only_body_when_stdout_redirected_by_default PASSED
tests/test_defaults.py::TestAutoContentTypeAndAcceptHeaders::test_print_overridable_when_stdout_redirected PASSED
tests/test_docs.py::test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/AUTHORS.rst] FAILED
tests/test_docs.py::test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/CONTRIBUTING.rst] FAILED
tests/test_docs.py::test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/CHANGELOG.rst] FAILED
tests/test_docs.py::test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/README.rst] FAILED
tests/test_docs.py::test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/tests/README.rst] FAILED
tests/test_downloads.py::TestDownloadUtils::test_Content_Range_parsing PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename=hello-WORLD_123.txt-hello-WORLD_123.txt] PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename=".hello-WORLD_123.txt"-hello-WORLD_123.txt] PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename="white space.txt"-white space.txt] PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename="\"quotes\".txt"-"quotes".txt] PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename=/etc/hosts-hosts] PASSED
tests/test_downloads.py::TestDownloadUtils::test_Content_Disposition_parsing[attachment; filename=-None] PASSED
tests/test_downloads.py::TestDownloadUtils::test_filename_from_url PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.bar-0-foo.bar] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.bar-1-foo.bar-1] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.bar-10-foo.bar-10] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[AAAAAAAAAAAAAAAAAAAA-0-AAAAAAAAAA] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[AAAAAAAAAAAAAAAAAAAA-1-AAAAAAAA-1] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[AAAAAAAAAAAAAAAAAAAA-10-AAAAAAA-10] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[AAAAAAAAAAAAAAAAAAAA.txt-0-AAAAAA.txt] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[AAAAAAAAAAAAAAAAAAAA.txt-1-AAAA.txt-1] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.AAAAAAAAAAAAAAAAAAAA-0-foo.AAAAAA] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.AAAAAAAAAAAAAAAAAAAA-1-foo.AAAA-1] PASSED
tests/test_downloads.py::TestDownloadUtils::test_unique_filename[foo.AAAAAAAAAAAAAAAAAAAA-10-foo.AAA-10] PASSED
tests/test_errors.py::test_error PASSED
tests/test_errors.py::test_error_traceback PASSED
tests/test_errors.py::test_timeout PASSED
tests/test_exit_status.py::test_keyboard_interrupt_during_arg_parsing_exit_status PASSED
tests/test_exit_status.py::test_keyboard_interrupt_in_program_exit_status PASSED
tests/test_exit_status.py::test_ok_response_exits_0 PASSED
tests/test_exit_status.py::test_error_response_exits_0_without_check_status PASSED
tests/test_exit_status.py::test_timeout_exit_status PASSED
tests/test_exit_status.py::test_3xx_check_status_exits_3_and_stderr_when_stdout_redirected PASSED
tests/test_exit_status.py::test_3xx_check_status_redirects_allowed_exits_0 PASSED
tests/test_exit_status.py::test_4xx_check_status_exits_4 PASSED
tests/test_exit_status.py::test_5xx_check_status_exits_5 PASSED
tests/test_httpie.py::test_debug PASSED
tests/test_httpie.py::test_help PASSED
tests/test_httpie.py::test_version PASSED
tests/test_httpie.py::test_headers_empty_value_with_value_gives_error PASSED
tests/test_output.py::test_output_option[True] PASSED
tests/test_output.py::test_output_option[False] PASSED
tests/test_output.py::TestVerboseFlag::test_verbose PASSED
tests/test_output.py::TestVerboseFlag::test_verbose_form PASSED
tests/test_output.py::TestVerboseFlag::test_verbose_json PASSED
tests/test_output.py::TestVerboseFlag::test_verbose_implies_all PASSED
tests/test_output.py::TestColors::test_get_lexer[application/json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[application/json+foo-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[application/foo+json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[application/json-foo-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[application/x-json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[foo/json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[foo/json+bar-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[foo/bar+json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[foo/json-foo-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[foo/x-json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[application/vnd.comverge.grid+hal+json-False-None-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[text/plain-True-{}-JSON] PASSED
tests/test_output.py::TestColors::test_get_lexer[text/plain-True-foo-Text only] PASSED
tests/test_output.py::TestColors::test_get_lexer_not_found PASSED
tests/test_output.py::TestPrettyOptions::test_pretty_enabled_by_default PASSED
tests/test_output.py::TestPrettyOptions::test_pretty_enabled_by_default_unless_stdout_redirected PASSED
tests/test_output.py::TestPrettyOptions::test_force_pretty PASSED
tests/test_output.py::TestPrettyOptions::test_force_ugly PASSED
tests/test_output.py::TestPrettyOptions::test_subtype_based_pygments_lexer_match PASSED
tests/test_output.py::TestPrettyOptions::test_colors_option PASSED
tests/test_output.py::TestPrettyOptions::test_format_option PASSED
tests/test_output.py::TestLineEndings::test_CRLF_headers_only PASSED
tests/test_output.py::TestLineEndings::test_CRLF_ugly_response PASSED
tests/test_output.py::TestLineEndings::test_CRLF_formatted_response PASSED
tests/test_output.py::TestLineEndings::test_CRLF_ugly_request PASSED
tests/test_output.py::TestLineEndings::test_CRLF_formatted_request PASSED
tests/test_redirects.py::test_follow_all_redirects_shown PASSED
tests/test_redirects.py::test_follow_without_all_redirects_hidden[--follow] PASSED
tests/test_redirects.py::test_follow_without_all_redirects_hidden[-F] PASSED
tests/test_redirects.py::test_follow_all_output_options_used_for_redirects PASSED
tests/test_redirects.py::test_follow_redirect_output_options PASSED
tests/test_redirects.py::test_max_redirects PASSED
tests/test_regressions.py::test_Host_header_overwrite PASSED
tests/test_regressions.py::test_output_devnull PASSED
tests/test_sessions.py::TestSessionFlow::test_session_created_and_reused PASSED
tests/test_sessions.py::TestSessionFlow::test_session_update PASSED
tests/test_sessions.py::TestSessionFlow::test_session_read_only PASSED
tests/test_sessions.py::TestSession::test_session_ignored_header_prefixes PASSED
tests/test_sessions.py::TestSession::test_session_by_path PASSED
tests/test_sessions.py::TestSession::test_session_unicode PASSED
tests/test_sessions.py::TestSession::test_session_default_header_value_overwritten PASSED
tests/test_sessions.py::TestSession::test_download_in_session PASSED
tests/test_ssl.py::test_ssl_version[ssl2.3] PASSED
tests/test_ssl.py::test_ssl_version[tls1] PASSED
tests/test_ssl.py::test_ssl_version[tls1.1] PASSED
tests/test_ssl.py::test_ssl_version[tls1.2] PASSED
tests/test_ssl.py::TestClientCert::test_cert_and_key PASSED
tests/test_ssl.py::TestClientCert::test_cert_pem PASSED
tests/test_ssl.py::TestClientCert::test_cert_file_not_found PASSED
tests/test_ssl.py::TestClientCert::test_cert_file_invalid FAILED
tests/test_ssl.py::TestClientCert::test_cert_ok_but_missing_key FAILED
tests/test_ssl.py::TestServerCert::test_verify_no_OK PASSED
tests/test_ssl.py::TestServerCert::test_verify_custom_ca_bundle_path PASSED
tests/test_ssl.py::TestServerCert::test_self_signed_server_cert_by_default_raises_ssl_error PASSED
tests/test_ssl.py::TestServerCert::test_verify_custom_ca_bundle_invalid_path FAILED
tests/test_ssl.py::TestServerCert::test_verify_custom_ca_bundle_invalid_bundle pytest-httpbin server hit an exception serving request: EOF occurred in violation of protocol (_ssl.c:590)
attempting to ignore so the rest of the tests can run
FAILED
tests/test_stream.py::test_pretty_redirected_stream PASSED
tests/test_stream.py::test_encoded_stream PASSED
tests/test_stream.py::test_redirected_stream PASSED
tests/test_unicode.py::test_unicode_headers PASSED
tests/test_unicode.py::test_unicode_headers_verbose PASSED
tests/test_unicode.py::test_unicode_form_item PASSED
tests/test_unicode.py::test_unicode_form_item_verbose PASSED
tests/test_unicode.py::test_unicode_json_item PASSED
tests/test_unicode.py::test_unicode_json_item_verbose PASSED
tests/test_unicode.py::test_unicode_raw_json_item PASSED
tests/test_unicode.py::test_unicode_raw_json_item_verbose PASSED
tests/test_unicode.py::test_unicode_url_query_arg_item PASSED
tests/test_unicode.py::test_unicode_url_query_arg_item_verbose PASSED
tests/test_unicode.py::test_unicode_url PASSED
tests/test_unicode.py::test_unicode_basic_auth PASSED
tests/test_unicode.py::test_unicode_digest_auth PASSED
tests/test_uploads.py::TestMultipartFormDataFileUpload::test_non_existent_file_raises_parse_error PASSED
tests/test_uploads.py::TestMultipartFormDataFileUpload::test_upload_ok PASSED
tests/test_uploads.py::TestMultipartFormDataFileUpload::test_upload_multiple_fields_with_the_same_name PASSED
tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path PASSED
tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path_with_explicit_content_type PASSED
tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path_no_field_name_allowed PASSED
tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path_no_data_items_allowed PASSED
tests/test_windows.py::TestWindowsOnly::test_windows_colorized_output SKIPPED
tests/test_windows.py::TestFakeWindows::test_output_file_pretty_not_allowed_on_windows PASSED
tests/utils.py::utils.http PASSED

================================================================================= FAILURES ==================================================================================
_______________________________________________ test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/AUTHORS.rst] ________________________________________________

filename = '/home/actionmystique/src/HTTPie/git-httpie/AUTHORS.rst'

    @pytest.mark.skipif(not has_docutils(), reason='docutils not installed')
    @pytest.mark.parametrize('filename', filenames)
    def test_rst_file_syntax(filename):
        p = subprocess.Popen(
            ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
            stderr=subprocess.PIPE,
            stdout=subprocess.PIPE
        )
        err = p.communicate()[1]
>       assert p.returncode == 0, err.decode('utf8')
E       AssertionError: Traceback (most recent call last):
E           File "/usr/local/bin/rst2pseudoxml.py", line 17, in <module>
E             from docutils.core import publish_cmdline, default_description
E           File "/usr/local/lib/python2.7/dist-packages/docutils/__init__.py", line 68, in <module>
E             class ApplicationError(StandardError):
E         NameError: name 'StandardError' is not defined
E
E       assert 1 == 0
E        +  where 1 = <subprocess.Popen object at 0x7f6c45daf8d0>.returncode

tests/test_docs.py:39: AssertionError
_____________________________________________ test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/CONTRIBUTING.rst] _____________________________________________

filename = '/home/actionmystique/src/HTTPie/git-httpie/CONTRIBUTING.rst'

    @pytest.mark.skipif(not has_docutils(), reason='docutils not installed')
    @pytest.mark.parametrize('filename', filenames)
    def test_rst_file_syntax(filename):
        p = subprocess.Popen(
            ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
            stderr=subprocess.PIPE,
            stdout=subprocess.PIPE
        )
        err = p.communicate()[1]
>       assert p.returncode == 0, err.decode('utf8')
E       AssertionError: Traceback (most recent call last):
E           File "/usr/local/bin/rst2pseudoxml.py", line 17, in <module>
E             from docutils.core import publish_cmdline, default_description
E           File "/usr/local/lib/python2.7/dist-packages/docutils/__init__.py", line 68, in <module>
E             class ApplicationError(StandardError):
E         NameError: name 'StandardError' is not defined
E
E       assert 1 == 0
E        +  where 1 = <subprocess.Popen object at 0x7f6c44de4950>.returncode

tests/test_docs.py:39: AssertionError
______________________________________________ test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/CHANGELOG.rst] _______________________________________________

filename = '/home/actionmystique/src/HTTPie/git-httpie/CHANGELOG.rst'

    @pytest.mark.skipif(not has_docutils(), reason='docutils not installed')
    @pytest.mark.parametrize('filename', filenames)
    def test_rst_file_syntax(filename):
        p = subprocess.Popen(
            ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
            stderr=subprocess.PIPE,
            stdout=subprocess.PIPE
        )
        err = p.communicate()[1]
>       assert p.returncode == 0, err.decode('utf8')
E       AssertionError: Traceback (most recent call last):
E           File "/usr/local/bin/rst2pseudoxml.py", line 17, in <module>
E             from docutils.core import publish_cmdline, default_description
E           File "/usr/local/lib/python2.7/dist-packages/docutils/__init__.py", line 68, in <module>
E             class ApplicationError(StandardError):
E         NameError: name 'StandardError' is not defined
E
E       assert 1 == 0
E        +  where 1 = <subprocess.Popen object at 0x7f6c44e22c90>.returncode

tests/test_docs.py:39: AssertionError
________________________________________________ test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/README.rst] ________________________________________________

filename = '/home/actionmystique/src/HTTPie/git-httpie/README.rst'

    @pytest.mark.skipif(not has_docutils(), reason='docutils not installed')
    @pytest.mark.parametrize('filename', filenames)
    def test_rst_file_syntax(filename):
        p = subprocess.Popen(
            ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
            stderr=subprocess.PIPE,
            stdout=subprocess.PIPE
        )
        err = p.communicate()[1]
>       assert p.returncode == 0, err.decode('utf8')
E       AssertionError: Traceback (most recent call last):
E           File "/usr/local/bin/rst2pseudoxml.py", line 17, in <module>
E             from docutils.core import publish_cmdline, default_description
E           File "/usr/local/lib/python2.7/dist-packages/docutils/__init__.py", line 68, in <module>
E             class ApplicationError(StandardError):
E         NameError: name 'StandardError' is not defined
E
E       assert 1 == 0
E        +  where 1 = <subprocess.Popen object at 0x7f6c44de4e10>.returncode

tests/test_docs.py:39: AssertionError
_____________________________________________ test_rst_file_syntax[/home/actionmystique/src/HTTPie/git-httpie/tests/README.rst] _____________________________________________

filename = '/home/actionmystique/src/HTTPie/git-httpie/tests/README.rst'

    @pytest.mark.skipif(not has_docutils(), reason='docutils not installed')
    @pytest.mark.parametrize('filename', filenames)
    def test_rst_file_syntax(filename):
        p = subprocess.Popen(
            ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
            stderr=subprocess.PIPE,
            stdout=subprocess.PIPE
        )
        err = p.communicate()[1]
>       assert p.returncode == 0, err.decode('utf8')
E       AssertionError: Traceback (most recent call last):
E           File "/usr/local/bin/rst2pseudoxml.py", line 17, in <module>
E             from docutils.core import publish_cmdline, default_description
E           File "/usr/local/lib/python2.7/dist-packages/docutils/__init__.py", line 68, in <module>
E             class ApplicationError(StandardError):
E         NameError: name 'StandardError' is not defined
E
E       assert 1 == 0
E        +  where 1 = <subprocess.Popen object at 0x7f6c44e1cfd0>.returncode

tests/test_docs.py:39: AssertionError
___________________________________________________________________ TestClientCert.test_cert_file_invalid ___________________________________________________________________

self = <test_ssl.TestClientCert instance at 0x7f6c3d403998>, httpbin_secure = <SecureServer(<class 'pytest_httpbin.serve.SecureServer'>, started 140102906935040)>

    def test_cert_file_invalid(self, httpbin_secure):
        with pytest.raises(SSLError):
            http(httpbin_secure + '/get',
>                '--cert', __file__)

tests/test_ssl.py:62:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:207: in http
    exit_status = main(args=args, **kwargs)
httpie/core.py:227: in main
    log_error=log_error,
httpie/core.py:99: in program
    final_response = get_response(args, config_dir=env.config.directory)
httpie/client.py:70: in get_response
    response = requests_session.request(**kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:488: in request
    resp = self.send(prep, **send_kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:609: in send
    r = adapter.send(request, **kwargs)
/usr/local/lib/python2.7/dist-packages/requests/adapters.py:423: in send
    timeout=timeout
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:600: in urlopen
    chunked=chunked)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:345: in _make_request
    self._validate_conn(conn)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:844: in _validate_conn
    conn.connect()
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py:326: in connect
    ssl_context=context)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:322: in ssl_wrap_socket
    context.load_cert_chain(certfile, keyfile)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py:416: in load_cert_chain
    self._ctx.use_certificate_file(certfile)
/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:740: in use_certificate_file
    _raise_current_error()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

exception_type = <class 'OpenSSL.SSL.Error'>

    def exception_from_error_queue(exception_type):
        """
        Convert an OpenSSL library failure into a Python exception.

        When a call to the native OpenSSL library fails, this is usually signalled
        by the return value, and an error code is stored in an error queue
        associated with the current thread. The err library provides functions to
        obtain these error codes and textual error messages.
        """
        errors = []

        while True:
            error = lib.ERR_get_error()
            if error == 0:
                break
            errors.append((
                text(lib.ERR_lib_error_string(error)),
                text(lib.ERR_func_error_string(error)),
                text(lib.ERR_reason_error_string(error))))

>       raise exception_type(errors)
E       Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')]

/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py:54: Error
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------

http: error: Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'PEM lib')]
----------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
connectionpool.py          818 DEBUG    Starting new HTTPS connection (1): 127.0.0.1
________________________________________________________________ TestClientCert.test_cert_ok_but_missing_key ________________________________________________________________

self = <test_ssl.TestClientCert instance at 0x7f6c3d2b9b00>, httpbin_secure = <SecureServer(<class 'pytest_httpbin.serve.SecureServer'>, started 140102906935040)>

    def test_cert_ok_but_missing_key(self, httpbin_secure):
        with pytest.raises(SSLError):
            http(httpbin_secure + '/get',
>                '--cert', CLIENT_CERT)

tests/test_ssl.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:207: in http
    exit_status = main(args=args, **kwargs)
httpie/core.py:227: in main
    log_error=log_error,
httpie/core.py:99: in program
    final_response = get_response(args, config_dir=env.config.directory)
httpie/client.py:70: in get_response
    response = requests_session.request(**kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:488: in request
    resp = self.send(prep, **send_kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:609: in send
    r = adapter.send(request, **kwargs)
/usr/local/lib/python2.7/dist-packages/requests/adapters.py:423: in send
    timeout=timeout
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:600: in urlopen
    chunked=chunked)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:345: in _make_request
    self._validate_conn(conn)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:844: in _validate_conn
    conn.connect()
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py:326: in connect
    ssl_context=context)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:322: in ssl_wrap_socket
    context.load_cert_chain(certfile, keyfile)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py:419: in load_cert_chain
    self._ctx.use_privatekey_file(keyfile or certfile)
/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:798: in use_privatekey_file
    self._raise_passphrase_exception()
/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:777: in _raise_passphrase_exception
    _raise_current_error()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

exception_type = <class 'OpenSSL.SSL.Error'>

    def exception_from_error_queue(exception_type):
        """
        Convert an OpenSSL library failure into a Python exception.

        When a call to the native OpenSSL library fails, this is usually signalled
        by the return value, and an error code is stored in an error queue
        associated with the current thread. The err library provides functions to
        obtain these error codes and textual error messages.
        """
        errors = []

        while True:
            error = lib.ERR_get_error()
            if error == 0:
                break
            errors.append((
                text(lib.ERR_lib_error_string(error)),
                text(lib.ERR_func_error_string(error)),
                text(lib.ERR_reason_error_string(error))))

>       raise exception_type(errors)
E       Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_PrivateKey_file', 'PEM lib')]

/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py:54: Error
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------

http: error: Error: [('PEM routines', 'PEM_read_bio', 'no start line'), ('SSL routines', 'SSL_CTX_use_PrivateKey_file', 'PEM lib')]
----------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
connectionpool.py          818 DEBUG    Starting new HTTPS connection (1): 127.0.0.1
_________________________________________________________ TestServerCert.test_verify_custom_ca_bundle_invalid_path __________________________________________________________

self = <test_ssl.TestServerCert instance at 0x7f6c45eab638>, httpbin_secure = <SecureServer(<class 'pytest_httpbin.serve.SecureServer'>, started 140102906935040)>

    def test_verify_custom_ca_bundle_invalid_path(self, httpbin_secure):
        with pytest.raises(SSLError):
>           http(httpbin_secure.url + '/get', '--verify', '/__not_found__')

tests/test_ssl.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:207: in http
    exit_status = main(args=args, **kwargs)
httpie/core.py:227: in main
    log_error=log_error,
httpie/core.py:99: in program
    final_response = get_response(args, config_dir=env.config.directory)
httpie/client.py:70: in get_response
    response = requests_session.request(**kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:488: in request
    resp = self.send(prep, **send_kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:609: in send
    r = adapter.send(request, **kwargs)
/usr/local/lib/python2.7/dist-packages/requests/adapters.py:423: in send
    timeout=timeout
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:600: in urlopen
    chunked=chunked)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:345: in _make_request
    self._validate_conn(conn)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:844: in _validate_conn
    conn.connect()
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py:326: in connect
    ssl_context=context)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:308: in ssl_wrap_socket
    context.load_verify_locations(ca_certs, ca_cert_dir)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py:411: in load_verify_locations
    self._ctx.load_verify_locations(cafile, capath)
/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:669: in load_verify_locations
    _raise_current_error()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

exception_type = <class 'OpenSSL.SSL.Error'>

    def exception_from_error_queue(exception_type):
        """
        Convert an OpenSSL library failure into a Python exception.

        When a call to the native OpenSSL library fails, this is usually signalled
        by the return value, and an error code is stored in an error queue
        associated with the current thread. The err library provides functions to
        obtain these error codes and textual error messages.
        """
        errors = []

        while True:
            error = lib.ERR_get_error()
            if error == 0:
                break
            errors.append((
                text(lib.ERR_lib_error_string(error)),
                text(lib.ERR_func_error_string(error)),
                text(lib.ERR_reason_error_string(error))))

>       raise exception_type(errors)
E       Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]

/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py:54: Error
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------

http: error: Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
----------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
connectionpool.py          818 DEBUG    Starting new HTTPS connection (1): 127.0.0.1
________________________________________________________ TestServerCert.test_verify_custom_ca_bundle_invalid_bundle _________________________________________________________

self = <test_ssl.TestServerCert instance at 0x7f6c3d2e27e8>, httpbin_secure = <SecureServer(<class 'pytest_httpbin.serve.SecureServer'>, started 140102906935040)>

    def test_verify_custom_ca_bundle_invalid_bundle(self, httpbin_secure):
        with pytest.raises(SSLError):
>           http(httpbin_secure.url + '/get', '--verify', __file__)

tests/test_ssl.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:207: in http
    exit_status = main(args=args, **kwargs)
httpie/core.py:227: in main
    log_error=log_error,
httpie/core.py:99: in program
    final_response = get_response(args, config_dir=env.config.directory)
httpie/client.py:70: in get_response
    response = requests_session.request(**kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:488: in request
    resp = self.send(prep, **send_kwargs)
/usr/local/lib/python2.7/dist-packages/requests/sessions.py:609: in send
    r = adapter.send(request, **kwargs)
/usr/local/lib/python2.7/dist-packages/requests/adapters.py:423: in send
    timeout=timeout
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:600: in urlopen
    chunked=chunked)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:345: in _make_request
    self._validate_conn(conn)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:844: in _validate_conn
    conn.connect()
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connection.py:326: in connect
    ssl_context=context)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:308: in ssl_wrap_socket
    context.load_verify_locations(ca_certs, ca_cert_dir)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py:411: in load_verify_locations
    self._ctx.load_verify_locations(cafile, capath)
/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py:669: in load_verify_locations
    _raise_current_error()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

exception_type = <class 'OpenSSL.SSL.Error'>

    def exception_from_error_queue(exception_type):
        """
        Convert an OpenSSL library failure into a Python exception.

        When a call to the native OpenSSL library fails, this is usually signalled
        by the return value, and an error code is stored in an error queue
        associated with the current thread. The err library provides functions to
        obtain these error codes and textual error messages.
        """
        errors = []

        while True:
            error = lib.ERR_get_error()
            if error == 0:
                break
            errors.append((
                text(lib.ERR_lib_error_string(error)),
                text(lib.ERR_func_error_string(error)),
                text(lib.ERR_reason_error_string(error))))

>       raise exception_type(errors)
E       Error: []

/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py:54: Error
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------

http: error: Error: []
----------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
connectionpool.py          818 DEBUG    Starting new HTTPS connection (1): 127.0.0.1
========================================================================== pytest-warning summary ===========================================================================
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_auth.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_binary.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_cli.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_config.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_defaults.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_downloads.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_exit_status.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_httpie.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_output.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_sessions.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_stream.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_uploads.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
WC1 /home/actionmystique/src/HTTPie/git-httpie/tests/test_windows.py cannot collect test class 'TestEnvironment' because it has a __init__ constructor
=================================================== 9 failed, 224 passed, 3 skipped, 13 pytest-warnings in 14.51 seconds ====================================================

Those tests pass over here as well as on TravisCI.
What are the outcome if you just run make?

Some of those tests are related to the version of docutils you have installed. The others appear to be problems with how you have installed pyOpenSSL/what version of OpenSSL you linked it against.

# apt-cache policy python-docutils
python-docutils:
  Installed: 0.12+dfsg-1
  Candidate: 0.12+dfsg-1
  Version table:
 *** 0.12+dfsg-1 500
        500 https://mirrors.kernel.org/ubuntu yakkety/main amd64 Packages

# apt-cache policy openssl
openssl:
  Installed: 1.0.2k-1~bpo8+1+16.10
  Candidate: 1.0.2k-1~bpo8+1+16.10
  Version table:
 *** 1.0.2k-1~bpo8+1+16.10 500
        500 https://gitlab.com/jean-christophe-manciot/ppa/raw/master/Ubuntu yakkety/stable amd64 Packages

# apt-cache policy python-openssl
python-openssl:
  Installed: 16.1.0-1
  Candidate: 16.1.0-1
  Version table:
 *** 16.1.0-1 500
        500 https://mirrors.kernel.org/ubuntu yakkety/main amd64 Packages

git-httpie# git checkout 0.9.8
Note: checking out '0.9.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 3a3aecc... 0.9.8

git-httpie# make

### Uninstalling httpie ###

pip uninstall --yes httpie &2>/dev/null
Verifying…
cd .. && ! python -m httpie --version &2>/dev/null
Done

### Installing dev requirements ###

pip install --upgrade -r "requirements-dev.txt"
/usr/bin/python: No module named httpie
Uninstalling httpie-0.9.8:
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/commands/uninstall.py", line 76, in run
    requirement_set.uninstall(auto_confirm=options.yes)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 346, in uninstall
    req.uninstall(auto_confirm=auto_confirm)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/usr/lib/python2.7/shutil.py", line 303, in move
    os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/httpie-0.9.8-py2.7.egg'
Requirement already up-to-date: tox in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 1))
Requirement already up-to-date: mock in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 2))
Requirement already up-to-date: pytest in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 3))
Collecting pytest-cov (from -r requirements-dev.txt (line 4))
  Downloading pytest_cov-2.5.1-py2.py3-none-any.whl
Requirement already up-to-date: pytest-httpbin>=0.0.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 5))
Requirement already up-to-date: docutils in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 6))
Requirement already up-to-date: wheel in /usr/local/lib/python2.7/dist-packages (from -r requirements-dev.txt (line 7))
Requirement already up-to-date: py>=1.4.17 in /usr/local/lib/python2.7/dist-packages (from tox->-r requirements-dev.txt (line 1))
Requirement already up-to-date: pluggy<1.0,>=0.3.0 in /usr/local/lib/python2.7/dist-packages (from tox->-r requirements-dev.txt (line 1))
Requirement already up-to-date: virtualenv>=1.11.2; python_version != "3.2" in /usr/local/lib/python2.7/dist-packages (from tox->-r requirements-dev.txt (line 1))
Requirement already up-to-date: funcsigs>=1; python_version < "3.3" in /usr/local/lib/python2.7/dist-packages (from mock->-r requirements-dev.txt (line 2))
Collecting pbr>=0.11 (from mock->-r requirements-dev.txt (line 2))
  Downloading pbr-3.0.1-py2.py3-none-any.whl (99kB)
    100% |████████████████████████████████| 102kB 736kB/s
Requirement already up-to-date: six>=1.9 in /usr/local/lib/python2.7/dist-packages (from mock->-r requirements-dev.txt (line 2))
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages (from pytest->-r requirements-dev.txt (line 3))
Collecting coverage>=3.7.1 (from pytest-cov->-r requirements-dev.txt (line 4))
  Downloading coverage-4.4.1-cp27-cp27mu-manylinux1_x86_64.whl (193kB)
    100% |████████████████████████████████| 194kB 711kB/s
Collecting Flask (from pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
  Downloading Flask-0.12.2-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 936kB/s
Requirement already up-to-date: decorator in /usr/local/lib/python2.7/dist-packages (from pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Requirement already up-to-date: httpbin in /usr/local/lib/python2.7/dist-packages (from pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Requirement already up-to-date: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools->pytest->-r requirements-dev.txt (line 3))
Requirement already up-to-date: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools->pytest->-r requirements-dev.txt (line 3))
Requirement already up-to-date: click>=2.0 in /usr/local/lib/python2.7/dist-packages (from Flask->pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Collecting Werkzeug>=0.7 (from Flask->pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
  Downloading Werkzeug-0.12.2-py2.py3-none-any.whl (312kB)
    100% |████████████████████████████████| 317kB 2.3MB/s
Requirement already up-to-date: Jinja2>=2.4 in /usr/local/lib/python2.7/dist-packages (from Flask->pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Requirement already up-to-date: itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from Flask->pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Requirement already up-to-date: MarkupSafe in /usr/local/lib/python2.7/dist-packages (from httpbin->pytest-httpbin>=0.0.6->-r requirements-dev.txt (line 5))
Requirement already up-to-date: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools->pytest->-r requirements-dev.txt (line 3))
Installing collected packages: coverage, pytest-cov, pbr, Werkzeug, Flask
  Found existing installation: coverage 4.3.4
    Uninstalling coverage-4.3.4:
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
    paths_to_remove.remove(auto_confirm)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
    renames(path, new_path)
  File "/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
    shutil.move(old, new)
  File "/usr/lib/python2.7/shutil.py", line 303, in move
    os.unlink(src)
OSError: [Errno 13] Permission denied: '/usr/local/bin/coverage'
Makefile:15: recipe for target 'init' failed
make: *** [init] Error 2

I just build httpie, I did the test and it gave me 8 errors, I am a beginner to open source world I'd like to contribute to your project Any one of developers please let me know if you are willing to mentor me

I am building on ubuntu 16.04 and also created a python virtual environment as specified

what are the outcome of the with root?

sudo make

authors: Irindu jean-christophe-manciot scorphus sigmavirus24 sriyanfernando

repo: jakubroztocil/httpie


text:
Print only one header field

Is it possible to print only one, or multiple header fields?
Based on this,
'H' request headers
'B' request body
'h' response headers
'b' response body

Like, http --print=H[Host,User-Agent]b <url>

You can get the request headers with --print=H and then prepend the scheme and host, like this:
$ http httpbin.org/get key1==value1 key2==value2 --print=H |
awk '{print "http://httpbin.org" $2; exit}'
http://httpbin.org/get?key1=value1&key2=value2

what are you mean by multiple header fields? is it both request and response header field?
if it is,

@john-bonachon you want to filter the headers to only print Host and User-Agent, correct?

source: gharchive/issue

license_type: permissive

license_source: bigquery


text:
Can't install on MacOS via pip

Running pip, with or without su, on MacOS produces the following error:

Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;file='/private/var/folders/cm/60_4h2mj23d_70fhqwvtjf7m0000gn/T/pip-build-bd88s9/pdftotext/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/cm/60_4h2mj23d_70fhqwvtjf7m0000gn/T/pip-eNla3s-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/cm/60_4h2mj23d_70fhqwvtjf7m0000gn/T/pip-build-bd88s9/pdftotext/

This library is DOA until the dependency issue is resolved.

I only have linux, so we'll have to rely on Mac users like you to diagnose this and suggest a fix. The snippet you provided doesn't have much info. Perhaps pip has created, or can create, a more thorough log?

I had a similar error before using Homebrew to install poppler and pkg-config. It works fine now on MacOSX 10.11.6.

I have added macOS instructions to the README. Thanks, @rmharriman 👍

@pgg1610 Does it work if you do this first?
conda install libgcc

@jalan This works for me. I faced the same issue

Hi, I'm having issues installing this via pip on my Mac. I have installed all of the dependencies in listed in the read me file. The error I get is below
Building wheels for collected packages: pdftotext
  Building wheel for pdftotext (setup.py) ... error
  ERROR: Complete output from command /Users/vishalpatel/anaconda3/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/f1/wd32_gd10q58w4bdk8t5f1540000gn/T/pip-install-_esxfiou/pdftotext/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/f1/wd32_gd10q58w4bdk8t5f1540000gn/T/pip-wheel-rmq22rql --python-tag cp36:
  ERROR: running bdist_wheel
  running build
  running build_ext
  building 'pdftotext' extension
  creating build
  creating build/temp.macosx-10.7-x86_64-3.6
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/vishalpatel/anaconda3/include -arch x86_64 -I/Users/vishalpatel/anaconda3/include -arch x86_64 -DPOPPLER_CPP_AT_LEAST_0_30_0=1 -I/usr/local/include -I/Users/vishalpatel/anaconda3/include/python3.6m -c pdftotext.cpp -o build/temp.macosx-10.7-x86_64-3.6/pdftotext.o -Wall -mmacosx-version-min=10.9
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
  In file included from pdftotext.cpp:5:0:
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:37:22: error: expected ‘,’ or ‘...’ before ‘&&’ token
       text_box(text_box&&) = default;
                        ^
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:37:28: error: invalid constructor; you probably meant ‘poppler::text_box (const poppler::text_box&)’
       text_box(text_box&&) = default;
                              ^
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:38:33: error: expected ‘,’ or ‘...’ before ‘&&’ token
       text_box& operator=(text_box&&) = default;
                                   ^
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:63:5: error: ‘unique_ptr’ in namespace ‘std’ does not name a type
       std::unique_ptr<text_box_data> m_data;
       ^
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:38:15: error: defaulted declaration ‘poppler::text_box& poppler::text_box::operator=(poppler::text_box)’
       text_box& operator=(text_box&&) = default;
                 ^
  /Users/vishalpatel/anaconda3/include/poppler/cpp/poppler-page.h:38:15: error: does not match expected signature ‘poppler::text_box& poppler::text_box::operator=(poppler::text_box&)’
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pdftotext

Any idea why this is? I'm new to this so apologies if I have not provided the correct information here

@vish1200 It looks like your anaconda build environment doesn't support C++11 by default. Can you try again with CPPFLAGS="-std=c++11" pip install pdftotext?

@vish1200 It looks like your anaconda build environment doesn't support C++11 by default. Can you try again with CPPFLAGS="-std=c++11" pip install pdftotext?

Thanks, that helped me (Mac OS 10.14.6)

I faced many of the same issues mentioned above; the fixes worked for me (MacOSX 10.14.6, python 3.7):
brew install pkg-config poppler
conda install libgcc
pip install pdftotext

repo: jalan/pdftotext

license: mit


text:
Confusing rustc error message on generic struct with misleading suggestion

I have the following:
#[derive(Debug, BinRead)]
pub struct Array<T>
where
    T: for<'a> BinRead<Args<'a> = ()>,
{
    _count: u32,
    #[br(count = _count)]
    pub data: Vec<T>,
}

For this, rustc complains about a missing lifetime bound on T, but does so in an interesting manner (see expando at the end for the full message):

The correct solution here is to either add a 'static bound to T (if we're fine with disallowing a borrowed T), or to add a lifetime bound to the struct (and a PhantomData). Perhaps that could be made clearer.
Full message

error[E0310]: the parameter type `T` may not live long enough
   --> src\base_binrw.rs:159:17
    |
159 | #[derive(Debug, BinRead)]
    |                 ^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
    |
    = note: this error originates in the derive macro `BinRead` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider adding an explicit lifetime bound...
    |
162 |     T: for<'a> BinRead<Args<'a> = ()> + 'static,
    |                                       +++++++++

error[E0311]: the parameter type `T` may not live long enough
   --> src\base_binrw.rs:159:17
    |
159 | #[derive(Debug, BinRead)]
    |                 ^^^^^^^
    |
note: the parameter type `T` must be valid for the anonymous lifetime defined here...
   --> src\base_binrw.rs:159:17
    |
159 | #[derive(Debug, BinRead)]
    |                 ^^^^^^^
note: ...so that the type `T` will meet its required lifetime bounds
   --> src\base_binrw.rs:159:17
    |
159 | #[derive(Debug, BinRead)]
    |                 ^^^^^^^
    = note: this error originates in the derive macro `BinRead` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider adding an explicit lifetime bound...
    |
159 ~ #[derive(Debug, 'a, BinRead)]
160 | pub struct Array<T>
161 | where
162 ~     T: for<'a> BinRead<Args<'a> = ()> + 'a,
    |

I can modify the diagnostic to not give an obviously wrong suggestion about where to place a lifetime, but E0311 is bogus in this situation because impl<T> BinRead for Vec<T> is constrained to T: 'static (due to fake specialisation). As a result, the only correct actions are either to add 'static lifetime or use a different parse_with function. It seems to me that rustc should not be emitting these suggestions at all since they will never work—applying the suggestion just causes it to emit the same suggestion again with a different lifetime name.
I can’t think of a way to reliably communicate this information in a useful way. proc-macros don’t have the ability to retrieve type information so it’s not possible to know for sure what Vec is to see how it is being used and emit a custom error, nor am I aware of a way to suppress the bad E0311 diagnostic.

authors: csnover molenzwiebel

license: MIT

license_source: github-api


text:
Need to implement the ancestor filter with IN operator for LOINC

Carried over from #1454 and #1505
Still figuring my way around Lucene.
I've got this:
theBool.must(theQb.keyword().onField("myParentPids").matching("" + code.getId()).createQuery());

where myParentPids is a field for a space-delimited string of entity IDs. In this case, I'm getting all of the parent IDs for a given code ID, which Lucene resolves to returning the actual parent codes. This works.
Now I want to get all of the parent IDs for a given collection of code IDs. Basically: "select c.myParentPids from TermConcept c where c.myId IN (1, 2, 3,...n);" except I don't care about the parent IDs themselves, Lucene will return the actual parent codes.
I've tried
theBool.must(theQb.keyword().onField("myParentPids").matching(values).createQuery());

where values is a String[] or List but that's not working; I get
org.hibernate.search.bridge.BridgeException: Exception while calling bridge#objectToString
	entity class: ca.uhn.fhir.jpa.entity.TermConcept
	entity property path: myParentPids
	field bridge: TwoWayString2FieldBridgeAdaptor [stringBridge=org.hibernate.search.bridge.builtin.StringBridge@4e47b636]

I've also tried the string representation of the collection but that's equivalent to putting in a junk ID.

Working branch: 1512-need-to-implement-the-ancestor-filter-with-in-operator-for-loinc

Pull request: #1516

repo: jamesagnew/hapi-fhir


text:
Spring Boot With Fhir issue

We are trying SpringBoot with FHIR version R4, but it's not working.
Please suggest which project of this will work?

Hi @gsiva47 - Please see this wiki page for information on where to ask for help with HAPI FHIR: https://github.com/jamesagnew/hapi-fhir/wiki/Getting-Help


text:
Single periodic task?

Sorry, this is probably a stupid question but I want to clear this up before I get too involved with this module. The readme says "This library allows the scheduling of a single periodic task" so I am a little confused if I can do multiple "tasks". For example, say I want to make 3 web services calls (with different intervals) and do something with the responses.

The platform limitation on both platforms is one background task per ~15 mins.  You can't bypass that and have things more frequent than that by having multiple tasks.
However, of course you could have your own logic within the task which e.g. executes 1 of 3 code paths depending on a stored value of what was executed last time.

That's what I thought. Thank you for your response and the awesome module!

authors: jamesisaac joeabill

repo: jamesisaac/react-native-background-task


text:
Added a flavor for MaybeUninit

Hi, I started an implementation for MaybeUninit.
Lets iterate the impl here.

Hey @korken89, way too late, but I'm going to implement this as a flavor for v1.0.0. I'll close this PR, and open up an issue shortly.

source: gharchive/pull-request

repo: jamesmunns/postcard


text:
Add support for block commands

According to the sway man page you can use commands in block form by using the command in the form command { <subcommands...> } see https://github.com/swaywm/sway/blob/master/sway/sway.5.scd#description
However, when you use this form, the syntax is marked red.

Would it be possible for you to implement this feature?

Oddly enough the block code is no longer being highlighted red, but could it be implemented so that the command is highlighted?

Awesome, thanks!

Will these changes be merged into i3config by chance?

I haven't seen much activity on that repo in the last few months, so I wasn't planning on a PR.

authors: SynergyBest jamespeapen


text:
Load Prismic CDN as non blocking resource

Hi! A Lighthouse audit on my statically generated site returns that prismic.min.js should be loaded as non-blocking. Perhaps we can add the defer property to the script tag when the site gets generated?

Thanks for the suggestion @JoepSnijders , this is now available in v0.4.0. It's turned off by default just in case it breaks existing projects. All you have to do is add in a deferLoad: true into the options in your nuxt.config.js.

@jamespegg That's awesome! Thanks for implementing this feature.

authors: JoepSnijders jamespegg

repo: jamespegg/prismic-nuxt


text:
Multiple forms in one page ?

Hi,
First of all, thanks for this, it works very well as long as i don't put multiple forms on a single page. Do you know how i can manage that ?
Thanks.

I am also having the same issue

So in Step 6, you can set a different variable for each form.
Then, make a unique script to handle the post from each from as well.

I have the same problem guye ..................

repo: jamiewilson/form-to-google-sheets


text:
Unify retmc server addresses with panel domain

This PR aims to use the same 2nd-level subdomain for retmc server nodes as the panel. This makes SSL cert management easier as it's a single subdomain with a wildcard.

Applied

repo: jammehcow/dns


text:
.gitignore causing build failure in amplify website BuildPipeline

Hello Team,
The inclusion of the following statement is causing the build to fail on this.. The statement in the .gitignore is
# jamstack
jamstack-api-key.js

I hope this helps in resolving a solution for the same.

Hello! @medampudi
I am not a member of this team.
I ran into the same problem, but I was able to solve it.
Create a APPSYNC_KEY from the Environment variables in the navigation pane of your aws Amplify App.
I was able to complete the build by registering the value of APPSYNC_KEY as jamstack-pia-key.js > the value of "aws_appsync_apiKey".
const fileData = {
            "aws_appsync_apiKey": "YOUR-API-KEY" // <- this
      }
      module.exports = fileData

Please refer to the attached image.
I'm sorry not to speak ENGLISH fluently.
I hope your problem will be solved.
See ya!

authors: medampudi task-k

repo: jamstack-cms/jamstack-cms


text:
Show time since last build instead of build time

Hi,
I love this view and are currently using it on a large monitor in our development offices.
For us, the duration of each build is not that important, but I (and my coworkers) would like to monitor the activity on each project. Could it be configurable if the time shown in the right corner should be time elapsed time of build or time since last build?
That would be awesome!

1.6 build 140 introduced this feature :smiley: Thanks for your feedback guys!

Is there any way to get the duration displayed as well? For me this change is clearly a regression.

authors: andersbbeck jan-molak kugel-

repo: jan-molak/jenkins-build-monitor-plugin


text:
fix copyright format error, don't export pa_ounit.syntax

This fixes a build error introduced by the new copyright format.
It also prevents pa_ounit.syntax from being an exported dependency (which will stop camlp4 from being automatically loaded). I PR'ed a similar change to pa_test. This is more of the same, essentially.

@lpw25

authors: hhugo struktured

repo: janestreet/async


text:
create a table instead of an array to hold the fibers in pmap-full

There is a crash when using pmap-full because the list of fibers passed to "join" is an array and not a table.
The fix aligns pmap-full implementation to pcall.
error: bad slot #0, expected table, got <array 0x600002C65C40>
  in table/clear [src/core/table.c] on line 411
  in drain-fibers [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] on line 35, column 3
  in join [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] on line 56, column 10
  in pmap-full [/Users/mraveloarinjaka/projects/sandbox/aoc2023/jpm_tree/lib/spork/ev-utils.janet] (tailcall) on line 84, column 3

That does look like a mismatch.
Using tabseq seems better and it's what pcall (which also uses join) does -- perhaps that's something that motivated the specific proposed changes :)
Just spelling things out here for other reviewers.

Hello,
What are the next steps?
It is not clear whether I should amend the changes or if I am missing something.

My earlier comment was just saying that the proposed changes looked on the ok side.  Sorry if that was unclear.
I think this PR and some others are awaiting the main maintainer's availability -- AFAIU he is pretty busy.

authors: mraveloarinjaka sogaiu

repo: janet-lang/spork


text:
Update scalafmt-core to 3.7.14 (was 3.7.13)

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.13 to 3.7.14
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #58.


text:
🛑 Creative Park is down

In e15fd73, Creative Park (https://creativepark.com.py/) was down:

HTTP code: 403
Response time: 167 ms

Resolved: Creative Park is back up in 03d0f92 after 10 minutes.

repo: janparkio/uptime


text:
Syntax too strict

The #1 thing people just starting out ask me is if it matters exactly where the  ; and { and ( are placed.
In reality it doesn't. But in jsdares If I say
function foo()
{
stuff;
}
instead of
function foo() {
stuff;
}
it fails to run.
That is too strict in my opinion.
Also it doesn't seem to allow for loops inside of functions:
function automate (command) {
for( var i=0; i<command.length; i++) {
robot.drive( command[i] );
}
}
and doesn't seem to accept any kind of array syntax:
automate( [1,6] );
Is there a list of what is and isn't allowed?
And it would be nice if people could register with an existing account:
Google
Facebook
Twitter
BrowserID
OpenID
Other

Can you allow code to be entered in any valid syntax, but reformat it (on line feed, perhaps) to the required syntax for your code augmentation / visualisations?

authors: benjohnbarnes thinsoldier


text:
feat(rbac): nested condition

For RHIDP-2553: Add support for creating nested conditions
Screen recording(updated on 7/1):
https://github.com/janus-idp/backstage-plugins/assets/26255262/7127740e-e988-43e2-a5da-df621e2d0b1d
Screenshot for multiple level nested condition warning message:

Thanks @ciiay for the PR.
I am not sure if you have seen this https://docs.google.com/document/d/1UtQeeTwPvUndxEInjvEt9JgKIA5Pnrkl5ImFmGsAjR8/edit?disco=AAABPVRBMts but there are plans for adding conditions via a file and it can have any levels of nesting. From our end we should make sure if this happens the UI doesnt break as we are only supporting 1 level of nesting for now. For testing this you can create multi level nested conditions using the CLI and add necessary checks in UI so that it doesnt break in case a multi level nested condition is present.

Hi @divyanshiGupta , thanks for the tips. I have tested with third level conditional permission policies with mocked data in dev env and it shows empty rule rows as shown in the below screenshot. As the nested conditions don't have a rule property, it only shows empty data in rule rows, and it doesn't break anything. My question is, do we have a design for such situation? What needs to be showed in this case to indicate that there are more levels of conditional permission policies? And is it within the scope of this story or out of this story?
cc. @ShiranHi

@ciiay looks good, thank you! Few comments:

Can we add the nested condition tooltip (Figma)?

Can we increase the padding between the "Add rule" button and the field above it? it seems too small

This is really small but I think it will be better if the border of nested condition will be aligned with the beginning of the "Add nested condition" button (Figma)

Can we show this error only after users click on "Add rule" or on the side drawer "Save" button?

The bottom buttons of the side drawer "Save" and "Cancel" should be sticky, I didn't see that from the video so I write this to confirm we have it

#My question is, do we have a design for such situation? What needs to be showed in this case to indicate that there are more levels of conditional permission policies? And is it within the scope of this story or out of this story?
We agreed to limit ourselves to just one level of nested conditions for now, despite the backend's capability to support multiple levels. In case users use the CLI to create multiple levels we will show them one below each other, so I think the nested condition fields should not be empty. Does this make sense?

Hi @ShiranHi , thanks for the review. Here's updated screenshot.

About the form validation, it has consistent behavior as Plugin drop list and Resource type input field, which is from the form component we implemented with. I don't see a very straight forward solution here. @divyanshiGupta Any thoughts?

In case users use the CLI to create multiple levels we will show them one below each other, so I think the nested condition fields should not be empty

Do you mean we don't allow them to edit the multiple level nested conditions which is more than 1 level, but we need to display the nested condition? It's empty because the nested condition in a nested condition doesn't have a rule field to display in the Rule input field. I can filter the simple conditions in a nested condition which have a Rule field, but not sure what the design is for the nested conditions. Hopefully this screenshot explains what I mean:

The mocked condition I used is
      conditions: {
        anyOf: [
          {
            rule: 'IS_ENTITY_OWNER',
            resourceType: 'catalog-entity',
            params: {
              claims: ['user:default/ciiay'],
            },
          },
          {
            rule: 'IS_ENTITY_KIND',
            resourceType: 'catalog-entity',
            params: { kinds: ['Group'] },
          },
          {
            allOf: [
              {
                rule: 'IS_ENTITY_OWNER',
                resourceType: 'catalog-entity',
                params: {
                  claims: ['user:default/ciiay'],
                },
              },
              {
                rule: 'IS_ENTITY_KIND',
                resourceType: 'catalog-entity',
                params: {
                  kinds: ['User'],
                },
              },
              {
                not: {  // this is 2nd level nested condition
                  rule: 'HAS_LABEL',
                  resourceType: 'catalog-entity',
                  params: { label: 'temp' },
                },
              },
              {
                anyOf: [  // this is another 2nd level nested condition
                  {
                    rule: 'HAS_TAG',
                    resourceType: 'catalog-entity',
                    params: { tag: 'dev' },
                  },
                  {
                    rule: 'HAS_TAG',
                    resourceType: 'catalog-entity',
                    params: { tag: 'test' },
                  },
                ],
              },
            ],
          },
        ],
      },

I'm thinking maybe we could give some message like this

About the form validation, it has consistent behavior as Plugin drop list and Resource type input field, which is from the form component we implemented with. I don't see a very straight forward solution here. @divyanshiGupta Any thoughts?

I believe we should display error messages only after users have left the field empty, rather than immediately. If this behavior appears in other areas, I recommend making the same adjustment.

Do you mean we don't allow them to edit the multiple level nested conditions which is more than 1 level, but we need to display the nested condition? It's empty because the nested condition in a nested condition doesn't have a rule field to display in the Rule input field. I can filter the simple conditions in a nested condition which have a Rule field, but not sure what the design is for the nested conditions.

So, in case there are multiple level nested conditions, I suggest showing only the first level as in the screenshot and show a message like this one.
If we can provide a link explaining how to use the CLI for this, we can add it to the yellow notification.
And let's remove the red text "Detailed condition information is hard to display..."

I have uploaded the updated screen recording along with the screenshot of the multiple-level nested condition sidebar display.

Thank you!

Since this PR focuses on reusing the existing form component to implement the nested condition logic, we can track this improvement in a different ticket. What do you think?

Sure, it would be great to change that everywhere.

That was only a note on the screenshot to explain the situation, not in the code 😄

Good to know haha, thanks for clarifying it!

@ciiay Please rebase your PR and resolve the conflicts.

@ciiay I see there are a lot of issues reported by sonarcloud. Please try to fix these.

https://github.com/user-attachments/assets/57d998fe-35fd-44a7-ac29-ffcad9430aeb
@ciiay If I remove any simple rule row, entire form data is getting removed.

https://github.com/user-attachments/assets/3bccc5a6-dab1-4bfd-a9ca-491c604b02db
@ciiay I configured 5 rules but I see its saying 4 rules instead of 5.

https://github.com/user-attachments/assets/574913f7-28d5-42ab-8708-18f822adb94e
@ciiay since allOf/anyOf is an array of PermissionCriteria the user should be able to create a nested condition without having to add a simple rule. But I noticed that in the current flow the user cannot add a nested condition without a simple rule.

cc @AndrienkoAleksandr

/lgtm

/hold

/approve

authors: PatAKnight ShiranHi ciiay divyanshiGupta invincibleJai

repo: janus-idp/backstage-plugins


text:
feat(orchestrator): add open api documentation

FLPATH-1407
https://issues.redhat.com/browse/FLPATH-1407
make open api documentation of backend available via backend plugin

I think when navigating in github docs, it's more user friendly to refer to the markdown files
So I would keep the link to markdown in the README.md and use the html only for the endpoint

@ydayagi
we still need to handle the sonar cloud failures
@gciavarrini how can we accept this? I couldn't find how to do it in sonar cloud

@ydayagi we still need to handle the sonar cloud failures @gciavarrini how can we accept this? I couldn't find how to do it in sonar cloud

ok I figured out how to accept the issues
Not need to figure out how to pass the code analysis

/retest

Maybe you can consider updating catalog-info.yaml to view swagger definition like in this PR:
https://github.com/janus-idp/backstage-plugins/pull/2129

Maybe you can consider updating catalog-info.yaml to view swagger definition like in this PR: #2129

Thanks for the suggestion, we considered this approach
Our customers are working in disconnected environment that doesn't have access to github
Of course they do need to mirror somewhere the operator image and other artifacts, but we don't want them to need to clone another repository and maintain it just to get the API

/lgtm

@ydayagi
accepting the sonar issues didn't help
we need to add a // NOSONAR comment to the html file generated
It needs to be done in the openapi.sh script, a post process that adds this comment to the top of the file (I think that will disable it for entire file)
The "proper" solution is for auto generated files to be generated during build, but this approach caused instability, when we move to community-plugins we will add it to the build

authors: batzionb dzemanov ydayagi


text:
feat(rbac): implement REST method to list all plugin permission policies

Referenced issue:
Fixes janus-idp/backstage-showcase/issues#431

Hot to test it
export token=$token
curl http://localhost:7007/api/permission/plugins/policies  -H "Content-Type: application/json" -H "Authorization: Bearer $token" -v
http GET http://localhost:7007/api/permission/plugins/policies Authorization:"Bearer $token"

@gorkem, I rebased pr.

fixes janus-idp/backstage-showcase/issues#431

fixes janus-idp/backstage-showcase/issues#431

Fixes janus-idp/backstage-showcase/issues#431

Fixes janus-idp/backstage-showcase/issues#431

Fixes janus-idp/backstage-showcase/issues#431


text:
feat(rbac): role overview

Resolves:
https://github.com/janus-idp/backstage-plugins/issues/854
GIF:
https://github.com/janus-idp/backstage-plugins/assets/22490998/8583257f-eaae-4503-a781-0fa57c915499
TODO:
Add tests

@debsmita1 the changes needed are:

Members table name to 'Users and groups'.
The number of 'Permission policies' we should show is the number of policies- Eg: if there is a single row and there are 'Read,Update,Delete' those are 3 policies.

Hey @debsmita1, thanks! Noticed a few things:

The "role: default/guests" header looks a bit off – thinking it should have a background like the other catalog pages, also the tabs here seem to be floating
The about card needs to be wider, keeping it to a single row of content. "Modified by" and "Last modified" should share the row with the "Description" text (see design)
The edit button is missing in all cards
There's this empty space above each table, right before the column titles. Is that the table header? Can we remove it?

@parvathyvr FYI

Another small nit:
Cards should be aligned left to the header text (for example at the beginning of the video we can see that the cards are aligned to the left side of the "Administration" header, while at 00:03 we can see that they jumped to the right and are not aligned with the header.

Hey @debsmita1, thanks! Noticed a few things:

The "role: default/guests" header looks a bit off – thinking it should have a background like the other catalog pages, also the tabs here seem to be floating
The about card needs to be wider, keeping it to a single row of content. "Modified by" and "Last modified" should share the row with the "Description" text (see design)
The edit button is missing in all cards
There's this empty space above each table, right before the column titles. Is that the table header? Can we remove it?

@parvathyvr FYI

Updated

cc @nirfarkas

@debsmita1 Thanks for the updated screen. Few things missing:

For the Permission policies table-the number shown should be the number of policies selected.
For the Users and groups table, for type user we could keep it blank as in the design. Because i don’t see a members card in the User overview page.

@debsmita1 Thanks for the updated screen. Few things missing:

For the Permission policies table-the number shown should be the number of policies selected.
For the Users and groups table, for type user we could keep it blank as in the design. Because i don’t see a members card in the User overview page.

@parvathyvr I was wondering if we should have a search bar in the members and permissions tables? Wdyt?

The edit button is missing in all cards
I think this is still missing

Details

@ShiranHi We haven't implemented Edit yet. There's a separate story to handle it

The edit button is missing in all cards

I think this is still missing

@ShiranHi We haven't implemented Edit yet. There's a separate story to handle it

@parvathyvr I was wondering if we should have a search bar in the members and permissions tables? Wdyt?

@divyanshiGupta it's a good idea! I didn't add it since i haven't noticed search in the cards of Overview page! But if we can incorporate search into the table,it's a good addition. CC @debsmita1

@parvathyvr I was wondering if we should have a search bar in the members and permissions tables? Wdyt?

@divyanshiGupta it's a good idea! I didn't add it since i haven't noticed search in the cards of Overview page! But if we can incorporate search into the table,it's a good addition. CC @debsmita1

Done

@debsmita1 I see a mismatch in the number of users/groups and the policies in list page vs overview page

the reason for the user is, that the user is not registered however if we get the user in API we should show it irrespective of whether it's registered or not.
and the reason for policies in in list we are showing count of all the policies irrespective of effect allow or deny but in overview we only list allow once hence the mismatch @parvathyvr Let us know your thoughts here

Addressed this, now listing all users received in reponse, if a user doesn't exist simply showing "Entity not found" when the user is clicked.
Also, not listing a role if it has no users/ policies associated with it

authors: ShiranHi debsmita1 divyanshiGupta nirfarkas parvathyvr


text:
[RFC] enforce main: fn() -> !

Now that the Termination trait has been implemented (cf. rust-lang/rust#46479) we can narrow down
the return type of main to be one of the types that implements the Termination trait.
This RFC proposes only implementing Termination for the never type (!) -- currently
Termination is only implemented for the unit type (()). With this change all programs that link
to cortex-m-rt are forced to set the signature of main to be fn() -> !.  The rationale here is
that a divergent (never ending) function better matches the logic of microcontroller programs.
When the change is implemented the user will be forced to make main into a divergent function.
This won't work:
#![feature(termination_trait)]
#![no_std]

fn main() {}
//~^ error: the trait `cortex_m_rt::lang_items::Termination` is not implemented for `()`

Whereas this would works:
#![feature(termination_trait)]
#![no_std]

fn main() -> ! {
    loop {}
}

Drawbacks
Diagnostics for the Termination feature are rather bad at the moment. If this change is
implemented and you write a program where main: fn() but forget to add the
#![feature(termination_trait)] feature gate you get an unhelpful linker error:
#![no_std]

fn main() {}

$ xargo build
(..)
  = note: /home/japaric/tmp/cortex-m-quickstart/target/thumbv7m-none-eabi/debug/deps/cortex_m_quickstart-0f691e4b3fe1bbf7.cortex_m_quickstart.rcgu.o: In function `main':
          cortex_m_quickstart-fd49a734b68c9115d8712982b4fdc764.rs:(.text.main+0x36): undefined reference to `cortex_m_rt::lang_items::start'

cc @pftbest

This change seems logical, and I like it, but I'm not very happy about adding one more #![feature] to the user's code. It's one more roadblock on the path to stabilization. But maybe it will be stable soon, because it's a very popular feature.
Also I found one more error message that is not very helpful:
fn main() -> ! {
    while true {
    }
}

error[E0308]: mismatched types
 --> <source>:2:5
  |
1 |   fn main() -> ! {
  |                - expected `!` because of return type
2 | /     while true {
3 | |     }
  | |_____^ expected !, found ()
  |
  = note: expected type `!`
             found type `()`
error: aborting due to previous error

Oh, OK. That sounds like it might be worth to report in rust-lang/rust?

This has been done. The entry! requires the entry point to be a divergent function.

authors: japaric pftbest

repo: japaric/cortex-m-rt


text:
Don't report Phoenix.ActionClauseError to Bugsnag

ActionClauseError isn't really an unhandled error, but instead a result of a Bad Request that doesn't
provide params appropriate to satisfy the matched controller action. This exception will be rendered as an HTTP 400, and isn't logged as an error by Phoenix. This isn't really something that should show up in Bugsnag, and this sort of match error also results in the full Plug.Conn struct being sent to Bugsnag unsanitized, which is a security problem (conn can include the secret_key_base, used for session/token signing).

@jarednorman would you be able to review this PR?

https://github.com/PagerDuty/plugsnag/pull/1 provides a better, more general solution for not Bugsnagging about exceptions that Plug renders as non-HTTP-5xx responses.

Closed in favour of https://github.com/jarednorman/plugsnag/pull/32.

repo: jarednorman/plugsnag


text:
enqueue scripts

did a quick search but didnt find what I was looking for. I've used functions.php created new function to register and enqueue multiple stylesheets. used add_action in the constructor for the StarterSite class but nothing is being output on the front end. what am I missing?

@virtualLast Post your code, seems to be working fine for me.

Hi @virtualLast, did you managed to solve this?

I am going to close this as I haven't had a reply. Feel free to comment at any point in time and I will re-open.

authors: connorjburton corygibbons virtualLast

repo: jarednova/timber


text:
[Question] How can pell to keep the selection in editable area?

I found something interesting when I was using pell. I clicked the action button, then execCommand API worked with current selection, it seems everything is OK.But, as far as I know, clicking buttons means blur, blur means losing selection.
If I write a rich editor, I prefer to save the selection on blur and restore it on focus, however, I found handlers like this nowhere in the source code of pell.
How can pell do that?

There's a PR open for this: https://github.com/jaredreich/pell/pull/30
Should be easy for you to just edit the line

Maybe that PR doesn't matter with my question, because that code is not in the published version.
Let's see this demo page: https://jaredreich.com/pell
You can see that if you click the action button and the selection is still there, however no handlers for this behavior in the source code.

Yes, its not in the published version, because no one merged it.
I just forked the repo and applied the PRs I liked (eg #27, #30, #36, #69)

It's not the default behavior, you can just try yourself to add 'focus' & 'blur' event listener on the editable element in the demo page, then click an action button, both of them will be triggered and selection will lose after blur.

This is browser default behaviour, not implemented by pell.

Oh, that's a mistake. I'm sorry for this naive question.

I have tried to create an a tag for this case, only the button tag will trigger this behavior.

authors: Dafrok dogoku jaredreich

repo: jaredreich/pell


text:
Move configuration to ini file

Better for when the script is turened into exe.

done

repo: jarkowski/py


text:
Remove remaining jQuery from View tests

Now that #3003 is merged, we need an easy way for alternative View implementations to run against our View conformance test. This pulls jQuery out of the View tests except in for checking view.$el instanceof Backbone.$ (which all jQuery-like apis should support).

@braddunbar want to take one final pass through this and then either merge or close? I'm fine either way.

@akre54 Has PhantomJS 2 fixed this click event issue?

repo: jashkenas/backbone


text:
Fixed duplicate models with parsed ids being added multiple times

Brought up with @akre54 on getter. I think we're waiting for @caseywebdev's input.
Basically the issue is that the attributes are not parsed before being sent to get so modelId doesn't return the right properties. You could make modelId do the same thing as parse but its not clear you'd have to do that and then you're duplicating functionality that you have to remember to update whenever properties change.

Argh the dreaded double-parsing strikes again. It definitely feels weird to force a model's attributes to be parsed in two places (see discussion in #2976), but isn't this better handled in the Collection's parse? We don't tend to like to create temporary models just to merge them in later.

After thinking about this a bit more we definitely don't want to be creating temporary models just to set their attributes later on. Agreed that the logic duplication between modelId and parse isn't ideal, but this isn't the right fix. Let's keep discussing it.


text:
#853 - Allow calling 'scope' on an existing ScopeBuilder object.

This fix prevents an UnsupportedOperationException being raised by the implementation of the wrapped List upon calls to the scope method of ScopeBuilder.

@mdsell nice, thanks for contribution!

authors: ipolevoy mdsell

repo: javalite/activejdbc


text:
🛑 Principe de Vergara, 197 is down

In c7221e1, Principe de Vergara, 197 (http://159.65.204.200:7025/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Principe de Vergara, 197 is back up in e975a16 after 57 minutes.

repo: javisu/monitor


text:
🛑 Antonio Acuña, 10 is down

In 8c9f1ef, Antonio Acuña, 10 (http://159.65.204.200:7047/) was down:

HTTP code: 502
Response time: 18666 ms

Resolved: Antonio Acuña, 10 is back up in f9e5699.


text:
🛑 Colegio Malvar Piscina is down

In 1093128, Colegio Malvar Piscina (http://159.65.204.200:7041/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Colegio Malvar Piscina is back up in 8860112.


text:
Search words with accents? ^~

Is there a functionality that makes it possible to match words with accents?
Example, I have a list of users, one user is called "Antônio" with he ^ simble on the first O. Is there a way to ignore that? Make it so the search understand the ô as simply an "o" and returns the item?

There is undocumented support for custom search functions, so you could write your own function to do this.

thanks for the answer friend!
It is still unclear how do I start the list with my custom search function.
If I simply call  listObj.search(['name'], searchFunction) after starting my list var listObj = new List('users-mobile', options), it will just run the "search" function once, it is not clear to me how to make the list always use the custom search everytime someone types in the input.
Is there a way to do it?

It is not currently possible to instantiate List.js with a custom search function. You would have to add an event listener to your search field to run your custom function.

What I did some time ago

use a Javascript function to latinize the string, replace accents to latin characters, like https://gist.github.com/najlepsiwebdesigner/5822511
in list.js

prepare.setSearchString() after .toLowerCase() add s = s.latinise();
search.values() after .toLowerCase() add text = text.latinise();

This might also help: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize#Compatibility_normalization

What I did some time ago

use a Javascript function to latinize the string, replace accents to latin characters, like https://gist.github.com/najlepsiwebdesigner/5822511

in list.js

prepare.setSearchString() after .toLowerCase() add s = s.latinise();
search.values() after .toLowerCase() add text = text.latinise();

Can you explain this in a more detailed way? I am kind of new to JS
Thanks!

What I did some time ago

use a Javascript function to latinize the string, replace accents to latin characters, like https://gist.github.com/najlepsiwebdesigner/5822511

in list.js

prepare.setSearchString() after .toLowerCase() add s = s.latinise();
search.values() after .toLowerCase() add text = text.latinise();

Can you explain this in a more detailed way? I am kind of new to JS
Thanks!

authors: YZirkind marcelcaferati mmokross


text:
Add EDIP potential

This PR implements the Environment dependent interatomic potential (EDIP). The current parameter values are for Silicon [1,2].

Martin Z. Bazant, Efthimios Kaxiras, and J. F. Justo.  "Environment-dependent interatomic potential for bulk silicon". Phys. Rev. B 56, 8542 (1997).
João F. Justo, Martin Z. Bazant, Efthimios Kaxiras, V. V. Bulatov, and Sidney Yip. "Interatomic potential for silicon defects and disordered phases". Phys. Rev. B 58, 2539 (1998).

Thanks for adding this Abhijeet! We know you tested this potential on silicon quite a bit, but could you also add test(s) in energy_test.py?

I added tests for EDIP and EDIP with neighbor list.

Thank you!

authors: abhijeetgangan ekindogus

repo: jax-md/jax-md