D6993: black: add a pyproject.toml that contains our black settings

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Sun Oct 13 01:03:46 EDT 2019


mharbison72 added a comment.


  I'm baffled, but this causes test-install.t to fail on Windows:
  
    $ ./run-tests.py --local test-install.t
    running 1 tests using 1 parallel processes
    
    --- c:/Users/Matt/hg/tests/test-install.t
    +++ c:/Users/Matt/hg/tests/test-install.t.err
    @@ -255,26 +255,23 @@
       $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log
       DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python
    2.7. (?)
       DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python
    2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support (?)
    +  Command "$TESTTMP\\installenv\\scripts\\python.exe -m pip install --ignore-installed --no-user --prefix c:\\users\\matt\\appdata\\local\\temp\\pip-build-env-b0jc5i --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- setuptools>=38.2.5 wheel" failed with error code 1 in None\r (esc)
    +  [1]
       $ ./installenv/*/hg debuginstall || cat pip.log
    -  checking encoding (ascii)...
    -  checking Python executable (*) (glob)
    -  checking Python version (2.*) (glob) (no-py3 !)
    -  checking Python version (3.*) (glob) (py3 !)
    -  checking Python lib (*)... (glob)
    -  checking Python security support (*) (glob)
    -    TLS 1.2 not supported by Python install; network connections lack modern security (?)
    -    SNI not supported by Python install; may have connectivity issues with some servers (?)
    -  checking Mercurial version (*) (glob)
    -  checking Mercurial custom build (*) (glob)
    -  checking module policy (*) (glob)
    -  checking installed modules (*/mercurial)... (glob)
    -  checking registered compression engines (*) (glob)
    -  checking available compression engines (*) (glob)
    -  checking available compression engines for wire protocol (*) (glob)
    -  checking "re2" regexp engine \((available|missing)\) (re)
    -  checking templates ($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
    -  checking default template ($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) (glob)
    -  checking commit editor... (*) (glob)
    -  checking username (test)
    -  no problems detected
    +  $TESTTMP.sh: line 95: ./installenv/*/hg: $ENOENT$
    +  checking Python version (3.*) (glob) (py3 !)
    +    TLS 1.2 not supported by Python install; network connections lack modern security (?)
    +    SNI not supported by Python install; may have connectivity issues with some servers (?)
    +  New python executable in $TESTTMP\\installenv\\Scripts\\python.exe\r (esc)
    +  Installing setuptools, pip, wheel...\r (esc)
    +  done.\r (esc)
    +  Processing c:\\users\\matt\\hg\r (esc)
    +    Installing build dependencies: started\r (esc)
    +    Installing build dependencies: finished with status 'error'\r (esc)
    +    Complete output from command $TESTTMP\\installenv\\scripts\\python.exe -m pip install --ignore-installed --no-user --prefix c:\\users\\matt\\appdata\\local\\temp\\pip-build-env-b0jc5i --no-warn-script-location --no-binary :none: --only-binary :none: --no-index -- setuptools>=38.2.5 wheel:\r (esc)
    +    Collecting setuptools>=38.2.5\r (esc)
    +      Could not find a version that satisfies the requirement setuptools>=38.2.5 (from versions: )\r (esc)
    +    No matching distribution found for setuptools>=38.2.5\r (esc)
    +    \r (esc)
    +    ----------------------------------------\r (esc)
     #endif
    
    ERROR: test-install.t output changed
  
  I had setuptools 39.0.1 installed, and upgraded to 41.4.0.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6993/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6993

To: durin42, #hg-reviewers, indygreg
Cc: mharbison72, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list