Not able to install pandas inside linux container.

 pip install pandas
bash-5.0# pip install pandas
Collecting pandas
  Using cached https://files.pythonhosted.org/packages/2f/79/f236ab1cfde94bac03d7b58f3f2ab0b1cc71d6a8bda3b25ce370a9fe4ab1/pandas-1.0.3.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.7 /usr/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u2khmfwq/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"''
       cwd: None
  Complete output (574 lines):
  Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version >= "3.7" and platform_system == "AIX"' don't match your environment
  Collecting setuptools
    Using cached https://files.pythonhosted.org/packages/2c/c5/0d38afb961f83e0d51f319f7dc166195ebabc1ea3cb20a10a77f500f7156/setuptools-46.4.0-py3-none-any.whl
  Collecting wheel
    Using cached https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
  Collecting Cython>=0.29.13
    Using cached https://files.pythonhosted.org/packages/ba/b7/00ef671f74ee4694de58d88101e6f9a655cb8009e37a66a57f19642ff5d6/Cython-0.29.19-py2.py3-none-any.whl
  Collecting numpy==1.14.5
    Using cached https://files.pythonhosted.org/packages/d5/6e/f00492653d0fdf6497a181a1c1d46bbea5a2383e7faf4c8ca6d6f3d2581d/numpy-1.14.5.zip
  Building wheels for collected packages: numpy
    Building wheel for numpy (setup.py): started
    Building wheel for numpy (setup.py): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ts0b0xaw/numpy/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 /tmp/pip-wheel-l0qntpm5 --python-tag cp37
         cwd: /tmp/pip-install-ts0b0xaw/numpy/
    Complete output (258 lines):
    Running from numpy source directory.
    blas_opt_info:
    blas_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    blis_info:
    customize UnixCCompiler
      libraries blis not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_info:
    customize UnixCCompiler
      libraries satlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_info:
    customize UnixCCompiler
      libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
        Atlas (http://math-atlas.sourceforge.net/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [atlas]) or by setting
        the ATLAS environment variable.
      self.calc_info()
    blas_info:
    customize UnixCCompiler
      libraries blas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
        Blas (http://www.netlib.org/blas/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [blas]) or by setting
        the BLAS environment variable.
      self.calc_info()
    blas_src_info:
      NOT AVAILABLE

    /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
        Blas (http://www.netlib.org/blas/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [blas_src]) or by setting
        the BLAS_SRC environment variable.
      self.calc_info()
      NOT AVAILABLE

    /bin/sh: svnversion: not found
    non-existing path in 'numpy/distutils': 'site.cfg'
    /bin/sh: svnversion: not found
    F2PY Version 2
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_lapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_clapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries tatlas,tatlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries tatlas,tatlas not found in /usr/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
    customize UnixCCompiler
      libraries satlas,satlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries satlas,satlas not found in /usr/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
    customize UnixCCompiler
      libraries f77blas,cblas,atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/local/lib
    customize UnixCCompiler
      libraries f77blas,cblas,atlas not found in /usr/lib
    customize UnixCCompiler
      libraries lapack_atlas not found in /usr/lib
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
    customize UnixCCompiler
      libraries lapack not found in ['/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      self.calc_info()
    lapack_src_info:
      NOT AVAILABLE

    /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      self.calc_info()
      NOT AVAILABLE

    /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    running bdist_wheel
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building py_modules sources
    creating build
    creating build/src.linux-x86_64-3.7
    creating build/src.linux-x86_64-3.7/numpy
    creating build/src.linux-x86_64-3.7/numpy/distutils
    building library "npymath" sources
    get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
    customize Gnu95FCompiler
    Could not locate executable gfortran
    Could not locate executable f95
    customize IntelFCompiler
    Could not locate executable ifort
    Could not locate executable ifc
    customize LaheyFCompiler
    Could not locate executable lf95
    customize PGroupFCompiler
    Could not locate executable pgfortran
    customize AbsoftFCompiler
    Could not locate executable f90
    Could not locate executable f77
    customize NAGFCompiler
    customize VastFCompiler
    customize CompaqFCompiler
    Could not locate executable fort
    customize IntelItaniumFCompiler
    Could not locate executable efort
    Could not locate executable efc
    customize IntelEM64TFCompiler
    customize GnuFCompiler
    Could not locate executable g77
    customize G95FCompiler
    Could not locate executable g95
    customize PathScaleFCompiler
    Could not locate executable pathf95
    customize NAGFORCompiler
    Could not locate executable nagfor
    don't know how to compile Fortran code on platform 'posix'
    C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC

    compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.7m -c'
    gcc: _configtest.c
    /bin/sh: gcc: not found
    /bin/sh: gcc: not found
    failure.
    removing: _configtest.c _configtest.o
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-ts0b0xaw/numpy/setup.py", line 394, in <module>
        setup_package()
      File "/tmp/pip-install-ts0b0xaw/numpy/setup.py", line 386, in setup_package
        setup(**metadata)
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/core.py", line 169, in setup
        return old_setup(**new_attr)
      File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
        self.run_command('build')
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build.py", line 47, in run
        old_build.run(self)
      File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 148, in run
        self.build_sources()
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 159, in build_sources
        self.build_library_sources(*libname_info)
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 294, in build_library_sources
        sources = self.generate_sources(sources, (lib_name, build_info))
      File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources
        source = func(extension, build_dir)
      File "numpy/core/setup.py", line 675, in get_mathlib_info
        raise RuntimeError("Broken toolchain: cannot link a simple C program")
    RuntimeError: Broken toolchain: cannot link a simple C program
    ----------------------------------------
    ERROR: Failed building wheel for numpy
    Running setup.py clean for numpy
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
         cwd: /tmp/pip-install-ts0b0xaw/numpy
    Complete output (10 lines):
    Running from numpy source directory.

    `setup.py clean` is not supported, use one of the following instead:

      - `git clean -xdf` (cleans all files)
      - `git clean -Xdf` (cleans all versioned files, doesn't touch
                          files that aren't checked into the git repo)

    Add `--force` to your command to use it anyway if you must (unsupported).

    ----------------------------------------
    ERROR: Failed cleaning build dir for numpy
  Failed to build numpy
  Installing collected packages: setuptools, wheel, Cython, numpy
      Running setup.py install for numpy: started
      Running setup.py install for numpy: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8gos7sco/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-u2khmfwq/overlay --compile
           cwd: /tmp/pip-install-ts0b0xaw/numpy/
      Complete output (267 lines):
      Running from numpy source directory.

      Note: if you need reliable uninstall behavior, then install
      with pip instead of using `setup.py install`:

        - `pip install .`       (from a git repo or downloaded source
                                 release)
        - `pip install numpy`   (last NumPy release on PyPi)

      blas_opt_info:
      blas_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      blis_info:
      customize UnixCCompiler
        libraries blis not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_blas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries tatlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_blas_info:
      customize UnixCCompiler
        libraries satlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_blas_info:
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
          Atlas (http://math-atlas.sourceforge.net/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [atlas]) or by setting
          the ATLAS environment variable.
        self.calc_info()
      blas_info:
      customize UnixCCompiler
        libraries blas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
          Blas (http://www.netlib.org/blas/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [blas]) or by setting
          the BLAS environment variable.
        self.calc_info()
      blas_src_info:
        NOT AVAILABLE

      /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
          Blas (http://www.netlib.org/blas/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [blas_src]) or by setting
          the BLAS_SRC environment variable.
        self.calc_info()
        NOT AVAILABLE

      /bin/sh: svnversion: not found
      non-existing path in 'numpy/distutils': 'site.cfg'
      /bin/sh: svnversion: not found
      F2PY Version 2
      lapack_opt_info:
      lapack_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_lapack_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_clapack_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries tatlas,tatlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries tatlas,tatlas not found in /usr/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE

      atlas_3_10_info:
      customize UnixCCompiler
        libraries satlas,satlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries satlas,satlas not found in /usr/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_info'>
        NOT AVAILABLE

      atlas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE

      atlas_info:
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in /usr/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE

      lapack_info:
      customize UnixCCompiler
        libraries lapack not found in ['/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
          Lapack (http://www.netlib.org/lapack/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [lapack]) or by setting
          the LAPACK environment variable.
        self.calc_info()
      lapack_src_info:
        NOT AVAILABLE

      /tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/system_info.py:624: UserWarning:
          Lapack (http://www.netlib.org/lapack/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [lapack_src]) or by setting
          the LAPACK_SRC environment variable.
        self.calc_info()
        NOT AVAILABLE

      /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
        warnings.warn(msg)
      running install
      running build
      running config_cc
      unifing config_cc, config, build_clib, build_ext, build commands --compiler options
      running config_fc
      unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
      running build_src
      build_src
      building py_modules sources
      building library "npymath" sources
      get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
      customize Gnu95FCompiler
      Could not locate executable gfortran
      Could not locate executable f95
      customize IntelFCompiler
      Could not locate executable ifort
      Could not locate executable ifc
      customize LaheyFCompiler
      Could not locate executable lf95
      customize PGroupFCompiler
      Could not locate executable pgfortran
      customize AbsoftFCompiler
      Could not locate executable f90
      Could not locate executable f77
      customize NAGFCompiler
      customize VastFCompiler
      customize CompaqFCompiler
      Could not locate executable fort
      customize IntelItaniumFCompiler
      Could not locate executable efort
      Could not locate executable efc
      customize IntelEM64TFCompiler
      customize GnuFCompiler
      Could not locate executable g77
      customize G95FCompiler
      Could not locate executable g95
      customize PathScaleFCompiler
      Could not locate executable pathf95
      customize NAGFORCompiler
      Could not locate executable nagfor
      don't know how to compile Fortran code on platform 'posix'
      C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC

      compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python3.7m -c'
      gcc: _configtest.c
      /bin/sh: gcc: not found
      /bin/sh: gcc: not found
      failure.
      removing: _configtest.c _configtest.o
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-install-ts0b0xaw/numpy/setup.py", line 394, in <module>
          setup_package()
        File "/tmp/pip-install-ts0b0xaw/numpy/setup.py", line 386, in setup_package
          setup(**metadata)
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/core.py", line 169, in setup
          return old_setup(**new_attr)
        File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/install.py", line 62, in run
          r = self.setuptools_run()
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/install.py", line 36, in setuptools_run
          return distutils_install.run(self)
        File "/usr/lib/python3.7/distutils/command/install.py", line 545, in run
          self.run_command('build')
        File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build.py", line 47, in run
          old_build.run(self)
        File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 148, in run
          self.build_sources()
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 159, in build_sources
          self.build_library_sources(*libname_info)
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 294, in build_library_sources
          sources = self.generate_sources(sources, (lib_name, build_info))
        File "/tmp/pip-install-ts0b0xaw/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources
          source = func(extension, build_dir)
        File "numpy/core/setup.py", line 675, in get_mathlib_info
          raise RuntimeError("Broken toolchain: cannot link a simple C program")
      RuntimeError: Broken toolchain: cannot link a simple C program
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ts0b0xaw/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8gos7sco/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-u2khmfwq/overlay --compile Check the logs for full command output.
  WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.7 /usr/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u2khmfwq/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output.

Can you give all the commands you ran and any relevant files or logs for reproducing the issue
Using the python image works fine as it has gcc already installed
For python:slim you'd need to temporarily install gcc to compile pandas
FROM python:3.7-slim

RUN apt update && apt install -y --no-install-recommends gcc \
 && pip install pandas \
 && apt remove -y gcc \
 && rm -rf /var/lib/apt/lists/*

 docker build
$ docker build . -t python:test
Sending build context to Docker daemon  38.15MB
Step 1/2 : FROM python:3.7-slim
3.7-slim: Pulling from library/python
afb6ec6fdc1c: Pull complete
2cf47e503ea9: Pull complete
2244bb424472: Pull complete
9322f0967529: Pull complete
5c48bdad7afa: Pull complete
Digest: sha256:1d96a34649e53ee768aff6d75918aa7ebb7e0b21b55a41795a95f27bb7268026
Status: Downloaded newer image for python:3.7-slim
 ---> 87b1022604d5
Step 2/2 : RUN apt update && apt install -y --no-install-recommends gcc  && pip install pandas  && apt remove -y gcc  && rm -rf /var/lib/apt/lists/*
 ---> Running in ded2138109f4

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [201 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
Fetched 8350 kB in 2s (4252 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 gcc-8 libasan5
  libatomic1 libbinutils libcc1-0 libgcc-8-dev libgomp1 libisl19 libitm1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libtsan0 libubsan1
Suggested packages:
  binutils-doc cpp-doc gcc-8-locales gcc-multilib make manpages-dev autoconf
  automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg
  libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg
Recommended packages:
  libc6-dev | libc-dev libc6-dev
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 gcc gcc-8
  libasan5 libatomic1 libbinutils libcc1-0 libgcc-8-dev libgomp1 libisl19
  libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libtsan0 libubsan1
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.7 MB of archives.
After this operation, 105 MB of additional disk space will be used.

(Reading database ... 6831 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../04-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../05-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../06-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../07-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../08-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../09-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../10-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../11-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../12-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../13-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../14-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../15-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../16-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../17-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../18-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../19-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../20-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../21-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...
Collecting pandas
  Downloading pandas-1.0.3-cp37-cp37m-manylinux1_x86_64.whl (10.0 MB)
Collecting pytz>=2017.2
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting python-dateutil>=2.6.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting numpy>=1.13.3
  Downloading numpy-1.18.4-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: pytz, six, python-dateutil, numpy, pandas
Successfully installed numpy-1.18.4 pandas-1.0.3 python-dateutil-2.8.1 pytz-2020.1 six-1.15.0

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 gcc-8 libasan5
  libatomic1 libbinutils libcc1-0 libgcc-8-dev libgomp1 libisl19 libitm1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libtsan0 libubsan1
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  gcc
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 46.1 kB disk space will be freed.
(Reading database ... 7517 files and directories currently installed.)
Removing gcc (4:8.3.0-1) ...
Removing intermediate container ded2138109f4
 ---> 2b66244f7679
Successfully built 2b66244f7679
Successfully tagged python:test

$ docker run -it --rm python:3.7 bash
root@879ea7cbdf02:/# pip install pandas
Collecting pandas
  Downloading pandas-1.0.3-cp37-cp37m-manylinux1_x86_64.whl (10.0 MB)
     |████████████████████████████████| 10.0 MB 13.0 MB/s
Collecting pytz>=2017.2
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
     |████████████████████████████████| 510 kB 17.8 MB/s
Collecting numpy>=1.13.3
  Downloading numpy-1.18.4-cp37-cp37m-manylinux1_x86_64.whl (20.2 MB)
     |████████████████████████████████| 20.2 MB 25.5 MB/s
Collecting python-dateutil>=2.6.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 10.7 MB/s
Collecting six>=1.5
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: pytz, numpy, six, python-dateutil, pandas
Successfully installed numpy-1.18.4 pandas-1.0.3 python-dateutil-2.8.1 pytz-2020.1 six-1.15.0

Testing
$ docker run -it --rm python:test
Python 3.7.7 (default, May 20 2020, 21:10:21)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

>>> import pandas as pd

>>> import numpy as np

>>> s = pd.Series([1,3,5,np.nan,6,8])

>>> s
0    1.0
1    3.0
2    5.0
3    NaN
4    6.0
5    8.0
dtype: float64

If you're using Alpine then see https://github.com/docker-library/python/issues/381#issuecomment-463880366


Match URL Before Comment

Match URL pattern before comment to prevent wrong detection between URL and JavaScript’s inline comment.

I just pushed a fix for this: c754140e97da2fadf2c10b12b436b92fd15d85f3
Even if your fix correctly matched URLs, it wouldn't have fixed the core bug because of the way Rainbow matches are processed


Fix hangs/crashes on Linux and Windows

Fixes https://github.com/gradle/gradle/issues/12457

@lptr PTAL!


OneDrive cannot be accessed anymore

I have updated to v2.0 today and afterwards was unable to connect to OneDrive again.
It opens the authentication website, asks for permissions and correctly shows the success page at the end "Received verification code. You may now close this window."
But in KeePass, an error window pops up:

If the blackened IDs are important, I could share them in private.
Best Regards,
Tobias

I cannot find an issue with that. Is it maybe a temporary thing?
Can you delete your OneDrive Account and recreate it?
Do you use a proxy?

I have tried with "Check" first, but afterwards completely deleted and reset the account.
Currently I am working behind a VPN but without proxy, could try it without VPN in the evening..
Thanks :)

I'm getting the same error message when trying to re-authenticate after upgrading to the new version 2.0.0.
I also removed my OneDrive account from KeeAnywhere and re-added it. But I still get the same error message. :-(

This is weired. Yesterday I checked everything and everything was fine :-/

I just updated the plugin to 2.0.0 and also received the same error. Tried your 2.0.1 plugin and it connected.

Hello, the new version 2.0.1 is not working for me! After I login into my OneDrive account, it redirects my Mozilla browser to this URL : http://<IP_ADDRESS>:49215/
Which is obviously not right. Any help please? I had to revert back to 1.6.0
Thanks.

With version 2.0.1 re-authentication of OneDrive failed. After removing and adding the OneDrive account access now works again!

I could use my Google Drive account directly without the need to re-authenticate.
I could use my Dropbox account after re-authentication. I didn't need to remove and re-add it!

Hi! same here. I was get the same error when I updated to 2.0.0 version. I just updated to 2.0.1 version and it's fine now. Anyway, I needed to remove my onedrive account before and re-added after.

Well, this is weird but I solved my problem...
I reinstalled the 2.0.1 version, removed my OneDrive account, re-added it after the loggin process my browser still got redirected to this weird URL : http://<IP_ADDRESS>:49215/
Then going back to KeePass I clicked on the "Check" button and it said "Connection succeeded".
I don't know if you can "solve" this weird redirection after the loggin process (I don't know why it looks like I'm the only one facing this issue) but anyway it works now.
Thanks for the quick update.

@Kyrodan
I have just tested the same on my other PC, similar problem appeared with 2.0.0.
With 2.0.1 it was fixed and I could re-connect to OneDrive.
However, on this PC I am seeing a error when the page is loaded after OneDrive authentication (still in the browser) where I would expect to see the success message "Received verification code. You may now close this window.".
@Snoobz
I think this redirect is perfectly fine and the way this authentication works.

2.0.1 fix for me.

same here. No connection with 2.0.0, but works again with 2.0.1
Thnaks for quick reaction!

Hi, I just came here after I had the same problem and then tried 2.0.1. Unfortunately, it claims it's a different account now instead of the "code line error message". I am sure I am using the right account. I am using a second factor with MSAuth-App on my OneDrive, maybe this leads to it?

It does work to create the account from scratch again.

... it redirects my Mozilla browser to this URL : http://<IP_ADDRESS>:49215/
Which is obviously not right. Any help please?

This is correct. I should add a migration guide for Version 2.x to documentation to clarify this.

@Angel0fDarkness

However, on this PC I am seeing a error when the page is loaded after OneDrive authentication (still in the browser) where I would expect to see the success message "Received verification code. You may now close this window.".

Why is the exact message? Or do you have a screenshot of that?

I cannot reproduce it on my laptop, it is working fine here.
Yesterday, it was showing the "Page could not be loaded" general error in Firefox as if the page wouldn't exist.
But authentication of the OneDrive account worked in both cases.

For me, with OneDrive, version 2.0.1 worked by deleting the account and recreating it from scratch.

I released v2.0.2 a few minutes ago, that should fix this issue.
Please read "notworthy" in changelog.
So this can be closed now?
If problems are still present in v2.0.2 then please open a new issue, this is a liitle bit confusing now (due to the many comments)


Linux cache not valid

The application data directory is null on linux, so the cache is placed in the current directory.

Moved cache under user profile instead of local app data.


fixed broken link

Docs Build status updates of commit 7347a09:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/authorize-to-microsoft-graph-without-sso.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

I removed the broken ASP.NET code sample links and added a link to the new(ish) landing page for Get started with Microsoft Graph and ASP.NET. Please merge to master if sufficient.

Docs Build status updates of commit d0dc7f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/authorize-to-microsoft-graph-without-sso.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@Rick-Kirkham @davidchesnut Do you know why these samples are not in the Gallery tagged as samples? SHould I add them?


chore(deps): update dependency vite to v4

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

vite (source)
^2.9.15 -> ^4.0.0

Release Notes

vitejs/vite
v4.2.1
Compare Source

fix: add virtual: to virtual module source map ignore (#12444) (c4aa28f), closes #12444
fix(css): inject source content conditionally (#12449) (3e665f6), closes #12449
fix(worker): using data URLs for inline shared worker (#12014) (79a5007), closes #12014
chore: changelog edits for 4.2 (#12438) (ce047e3), closes #12438

v4.2.0
Compare Source
Vite 4.2 is out!
Support env variables replacement in HTML files
Vite now supports replacing env variables in HTML files. Any properties in import.meta.env can be used in HTML files with a special %ENV_NAME% syntax:

Vite is running in %MODE%

Using data from %VITE_API_URL%

Sourcemaps improvements
The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an improved experience and tools for framework authors to hide 3rd party code and build artifacts from the user from console log traces using server.sourcemapIgnoreList and build.rollupOptions.output.sourcemapIgnoreList.
ESM subpath imports
Vite 4.2 now supports subpath imports, thanks to @lukeed05's resolve.exports library.
TypeScript 5 support
Vite 4.2 also supports TypeScript 5's tsconfig extends array format, thanks to tsconfck.
esbuild 0.17
esbuild v0.17.0 improved the design of its incremental, watch, and serve APIs. Check out #11908 for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts.
Use Rollup types from the vite package
Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like vite-ecosystem-ci (#12316).
import type { Rollup } from 'vite'

Português Docs Translation
The Vite documentation is now translated to Português at pt.vitejs.dev thanks to Nazaré Da Piedade .
Features

feat: add status message for 504 caused by optimizer (#12435) (5cdd3fa), closes #12435
feat: update tsconfck to 2.1.0 to add support for typescript 5 config syntax (#12401) (3f1c379), closes #12401
feat: default esbuild jsxDev based on config.isProduction (#12386) (f24c2b0), closes #12386
feat(css): add build.cssMinify (#12207) (90431f2), closes #12207
feat(types): export Rollup namespace (#12316) (6e49e52), closes #12316
feat: add sourcemapIgnoreList configuration option (#12174) (f875580), closes #12174
feat: cancellable scan during optimization (#12225) (1e1cd3b), closes #12225
feat: don't override build.target if terser is 5.16.0+ (#12197) (9885f6f), closes #12197
feat: support ESM subpath imports (#7770) (cc92da9), closes #7770
feat(css): add preprocessor option to define stylus vars & funcs (#7227) (5968bec), closes #7227
feat(css): support resolving stylesheets from exports map (#7817) (108aadf), closes #7817
feat(html): support env replacement (#12202) (4f2c49f), closes #12202
refactor: customize ErrorOverlay (part 2) (#11830) (4159e6f), closes #11830
refactor: remove constructed sheet type style injection (#11818) (1a6a0c2), closes #11818
refactor(importAnalysis): cache injected env string (#12154) (2aad552), closes #12154
feat: esbuild 0.17 (#11908) (9d42f06), closes #11908
feat: ignore list client injected sources (#12170) (8a98aef), closes #12170
feat: support rollup plugin this.load in plugin container context (#11469) (abfa804), closes #11469
feat(cli): allow to specify sourcemap mode via --sourcemap build's option (#11505) (ee3b90a), closes #11505
feat(reporter): report built time (#12100) (f2ad222), closes #12100

Bug Fixes

fix: html env replacement plugin position (#12404) (96f36a9), closes #12404
fix(optimizer): # symbol in deps id stripped by browser (#12415) (e23f690), closes #12415
fix(resolve): rebase sub imports relative path (#12373) (fe1d61a), closes #12373
fix(server): should close server after create new server (#12379) (d23605d), closes #12379
fix(resolve): remove deep import syntax handling (#12381) (42e0d6a), closes #12381
fix: print urls when dns order change (#12261) (e57cacf), closes #12261
fix: throw ssr import error directly (fix #12322) (#12324) (21ffc6a), closes #12322 #12324
fix(config): watch config even outside of root (#12321) (7e2fff7), closes #12321
fix(config): watch envDir even outside of root (#12349) (131f3ee), closes #12349
fix(define): correctly replace SSR in dev (#12204) (0f6de4d), closes #12204
fix(optimizer): suppress esbuild cancel error (#12358) (86a24e4), closes #12358
fix(optimizer): transform css require to import directly (#12343) (716286e), closes #12343
fix(reporter): build.assetsDir should not impact output when in lib mode (#12108) (b12f457), closes #12108
fix(types): avoid resolve.exports types for bundling (#12346) (6b40f03), closes #12346
fix(worker): force rollup to build worker module under watch mode (#11919) (d464679), closes #11919
fix:  resolve browser mapping using bare imports (fix #11208) (#11219) (22de84f), closes #11208 #11219
fix: avoid null sourcePath in server.sourcemapIgnoreList (#12251) (209c3bd), closes #12251
fix: configure proxy before subscribing to error events (#12263) (c35e100), closes #12263
fix: enforce absolute path for server.sourcemapIgnoreList (#12309) (ab6ae07), closes #12309
fix: handle error without line and column in loc (#12312) (ce18eba), closes #12312
fix: properly clean up optimization temp folder (#12237) (fbbf8fe), closes #12237
fix: unique dep optimizer temp folders (#12252) (38ce81c), closes #12252
fix(build-import-analysis): should not append ?used when css request has ?url or ?raw (#11910) (e3f725f), closes #11910
fix(optimizer): don not call context.rebuild after cancel (#12264) (520d84e), closes #12264
fix(resolve): update resolve.exports to 2.0.1 to fix * resolution issue (#12314) (523d6f7), closes #12314
fix: use relative paths in sources for transformed source maps (#12079) (bcbc582), closes #12079
fix(cli): after setting server.open, the default open is inconsistent… (#11974) (33a38db), closes #11974
fix(client-inject): replace globalThis.process.env.NODE_ENV (fix #12185) (#12194) (2063648), closes #12185 #12194
fix(css): should not rebase http url for less (fix: #12155) (#12195) (9cca30d), closes #12155 #12195
fix(deps): update all non-major dependencies (#12036) (48150f2), closes #12036
fix(import-analysis): improve error for jsx to not be preserve in tsconfig (#12018) (91fac1c), closes #12018
fix(optimizer): log esbuild error when scanning deps (#11977) (20e6060), closes #11977
fix(optimizer): log unoptimizable entries (#12138) (2c93e0b), closes #12138
fix(server): watch env files creating and deleting (fix #12127) (#12129) (cc3724f), closes #12127 #12129
build: correct d.ts output dir in development (#12212) (b90bc1f), closes #12212

Previous Changelogs
4.2.0-beta.2 (2023-03-13)
See 4.2.0-beta.2 changelog
4.2.0-beta.1 (2023-03-07)
See 4.2.0-beta.1 changelog
4.2.0-beta.0 (2023-02-27)
See 4.2.0-beta.0 changelog
v4.1.4
Compare Source

fix(define): should not stringify vite internal env (#12120) (73c3999), closes #12120
docs: update rollup docs links (#12130) (439a73f), closes #12130

v4.1.3
Compare Source

fix: catch and handle websocket error (#11991) (#12007) (4b5cc9f), closes #11991 #12007
fix: do not append version query param when scanning for dependencies (#11961) (575bcf6), closes #11961
fix(css): handle pure css chunk heuristic with special queries (#12091) (a873af5), closes #12091
fix(esbuild): umd helper insert into wrong position in lib mode (#11988) (86bc243), closes #11988
fix(html): respect disable modulepreload (#12111) (6c50119), closes #12111
fix(html): rewrite assets url in  (#11764) (1dba285), closes #11764
feat(preview): improve error when build output missing (#12096) (a0702a1), closes #12096
feat(ssr): add importer path to error msg when invalid url import occur (#11606) (70729c0), closes #11606

v4.1.2
Compare Source

fix: correct access to crossOrigin attribute (#12023) (6a0d356), closes #12023
fix: narrow defineConfig return type (#12021) (18fa8f0), closes #12021
fix(define): inconsistent env values in build mode (#12058) (0a50c59), closes #12058
fix(env): compatible with env variables ended with unescaped $ (#12031) (05b3df0), closes #12031
fix(ssr): print file url in ssrTransform parse error (#12060) (19f39f7), closes #12060
revert: narrow defineConfig return type (#12077) (54d511e), closes #12077
feat: support import.meta.hot?.accept (#12053) (081c27f), closes #12053
chore: add jsdoc default value (#11746) (8c87af7), closes #11746
chore: fix typos (#12032) (ee1a686), closes #12032
chore(deps): update dependency strip-literal to v1 (#12044) (5bd6c0a), closes #12044
chore(pluginContainer): simplify error position judge condition (#12003) (e3ef9f4), closes #12003

v4.1.1
Compare Source

chore: 4.1.0 changelog cleanup (#11900) (7747d32), closes #11900
fix: catch statSync error (#11907) (f80b9a2), closes #11907

v4.1.0
Compare Source
Vite 4.1 updates to the latest versions of Rollup and esbuild. Check out the new Rollup docs, that are now powered by VitePress making the navigation between Vite and Rollup docs easier for users.
Vite docs got a theme update migrating to the latest version of VitePress.
As part of Vite 4, the Vue and React plugins have been extracted out of the monorepo. Although their release cycle will no longer follow Vite releases moving forward, Vite 4.1 is released in parallel with new versions of @vitejs/plugin-react and @vitejs/plugin-react-swc. @vitejs/plugin-react 3.1.0 reworks the way HMR is handled fixing many edge cases and @vitejs/plugin-react-swc 3.1.0 adds support for SWC plugins.
There is also a new major for @vitejs/plugin-legacy, see changelog for v4.0.0. This version contains breaking changes:

Support browserslist and update default target (#11318). See updated targets default.
Bump modern target to support async generator (#11896). Learn more at the browsers support docs.

Features

feat: add experimental option to skip SSR transform (#11411) (e781ef3), closes #11411
feat: reproducible manifest (#11542) (efc8979), closes #11542
feat: support BROWSER and BROWSER_ARGS in env file (#11513) (8972868), closes #11513
feat(cli): clear console by pressing c (#11493) (#11494) (1ae018f), closes #11493 #11494
perf(build): disable rollup cache for builds (#11454) (580ba7a), closes #11454
perf(resolve): improve file existence check (#11436) (4a12b89), closes #11436

Bug Fixes

fix: await bundle closing (#11873) (1e6768d), closes #11873
fix: make viteMetadata property of RenderedChunk optional (#11768) (128f09e), closes #11768
fix: replace import.meta.hot with undefined in the production (#11317) (73afe6d), closes #11317
fix: update CJS interop error message (#11842) (356ddfe), closes #11842
fix(client): serve client sources next to deployed scripts (#11865) (63bd261), closes #11865
fix(deps): update all non-major dependencies (#11846) (5d55083), closes #11846
fix(esbuild): avoid polluting global namespace while minify is false (#11882) (c895379), closes #11882
fix: deep resolve side effects when glob does not contain / (#11807) (f3a0c3b), closes #11807
fix: duplicated sourceMappingURL for worker bundles (fix #11601) (#11602) (5444781), closes #11601 #11602
fix: emit assets from SSR build (#11430) (ffbdcdb), closes #11430
fix: revert "load sourcemaps alongside modules (#11576)" (#11775) (697dd00), closes #11576 #11775
fix: scope tracking for shadowing variables in blocks (#11806) (#11811) (568bdab), closes #11806 #11811
fix(cli): exit 1 on ctrl+c (#11563) (fb77411), closes #11563
fix(css): insert styles in the same position (#11763) (d2f1381), closes #11763
fix(esbuild): check server before reload tsconfig (#11747) (c56b954), closes #11747
fix(hmr): hmr websocket failure for custom middleware mode with server.hmr.server (#11487) (00919bb), closes #11487
fix(ssr): load sourcemaps alongside modules (fix: #3288) (#11576) (dc05e97), closes #3288 #11576
refactor: upgrade resolve.exports (#11712) (00a79ec), closes #11712
fix: remove moment from force interop packages (#11502) (b89ddd6), closes #11502
fix(css): fix stale css when reloading with hmr disabled (#10270) (#11506) (e5807c4), closes #10270 #11506
fix(hmr): base default protocol on client source location (#11497) (167753d), closes #11497
fix(metadata): expose viteMetadata type (#11511) (32dee3c), closes #11511
fix(resolve): ensure exports has precedence over mainFields (cherry pick #11234) (#11595) (691e432), closes #11234 #11595
fix(resolve): use only root package.json as exports source (#11259) (b9afa6e), closes #11259
refactor(build): close rollup bundle directly (#11460) (a802828), closes #11460

Previous Changelogs
4.1.0-beta.2 (2023-02-01)
See 4.1.0-beta.2 changelog
4.1.0-beta.1 (2023-01-26)
See 4.1.0-beta.1 changelog
4.1.0-beta.0 (2023-01-09)
See 4.1.0-beta.0 changelog
v4.0.4
Compare Source

fix: importmap should insert before module preload link (#11492) (25c64d7), closes #11492
fix: server.host with ipv6 missed [] (fix #11466) (#11509) (2c38bae), closes #11466 #11509
fix: stop considering parent URLs as public file (#11145) (568a014), closes #11145
fix(build): invalidate chunk hash when css changed (#11475) (7a97a04), closes #11475
fix(cli): ctrl+C no longer kills processes (#11434) (#11518) (718fc1d), closes #11434 #11518
fix(cli): revert ctrl+C no longer kills processes (#11434) (#11518) (#11562) (3748acb), closes #11434 #11518 #11562
fix(optimizer): check .vite/deps directory existence before removing (#11499) (1b043f9), closes #11499
fix(ssr): emit js sourcemaps for ssr builds (#11343) (f12a1ab), closes #11343
chore: update license (#11476) (3d346c0), closes #11476
chore(deps): update dependency @rollup/plugin-json to v6 (#11553) (3647d07), closes #11553

v4.0.3
Compare Source

chore(deps): update dependency @rollup/plugin-commonjs to v24 (#11420) (241db16), closes #11420
chore(typo): fix typo (#11445) (ed80ea5), closes #11445
fix(ssr): ignore module exports condition (#11409) (d3c9c0b), closes #11409
feat: allow import.meta.hot define override (#8944) (857d578), closes #8944

v4.0.2
Compare Source

fix: fix the error message in the toOutputFilePathWithoutRuntime function (#11367) (8820f75), closes #11367
fix: make vite optimize prebundle for dev (#11387) (b4ced0f), closes #11387
fix: revert #11290 (#11412) (6587d2f), closes #11290 #11412
fix: server and preview open fails to add slash before relative path (#11394) (57276b7), closes #11394
fix: skip applescript when no Chromium browser found (fixes #11205) (#11406) (274d1f3), closes #11205 #11406
fix(deps): update dependency ufo to v1 (#11372) (4288300), closes #11372
chore: typecheck create-vite (#11295) (af86e5b), closes #11295
chore(deps): update dependency convert-source-map to v2 (#10548) (8dc6528), closes #10548
chore(deps): update dependency mlly to v1 (#11370) (9662d4d), closes #11370

v4.0.1
Compare Source

feat: show server url by pressing u (#11319) (8c0bb7b), closes #11319
feat(html): clickable error position for html parse error (#11334) (2e15f3d), closes #11334
fix: ?inline warning for .css.js file (#11347) (729fb1a), closes #11347
fix: check if build exists so preview doesn't show 404s due to nonexistent build (#10564) (0a1db8c), closes #10564
fix: derive useDefineForClassFields value from tsconfig.compilerOptions.target (fixes #10296) (# (42976d8), closes #10296 #11301
fix: preview fallback (#11312) (cfedf9c), closes #11312
fix: respect base when using /__open-in-editor (#11337) (8856c2e), closes #11337
fix: wrongly resolve to optimized doppelganger (#11290) (34fec41), closes #11290
fix(env): test NODE_ENV override before expand (#11309) (d0a9281), closes #11309
fix(preview): Revert #10564 - throw Error on missing outDir (#11335) (3aaa0ea), closes #10564 #11335 #10564
docs: fix banner image in CHANGELOG.md (#11336) (45b66f4), closes #11336
chore: enable @typescript-eslint/ban-ts-comment (#11326) (e58a4f0), closes #11326
chore: fix format (#11311) (9c2b1c0), closes #11311
chore: update changelog release notes for 4.0 (#11285) (83abd37), closes #11285
chore(deps): update all non-major dependencies (#11321) (dcc0004), closes #11321
chore(esbuild): add test for configuration overrides (#11267) (f897b64), closes #11267

v4.0.0
Compare Source

Read the announcement blog post: Announcing Vite 4
Quick links:

Docs
Migration Guide

Docs in other languages:

简体中文
日本語
Español

Main Changes
This major is smaller in scope compared to Vite 3, with the main objective of upgrading to Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major.
Rollup 3
Vite is now using Rollup 3, which allowed us to simplify Vite's internal asset handling and has many improvements. See the Rollup 3 release notes here.
Framework Plugins out of the Vite core monorepo
@vitejs/plugin-vue and @vitejs/plugin-react have been part of Vite core monorepo since the first versions of Vite. This helped us to get a close feedback loop when making changes as we were getting both Core and the plugins tested and released together. With vite-ecosystem-ci we can get this feedback with these plugins developed on independent repositories, so from Vite 4, they have been moved out of the Vite core monorepo. This is meaningful for Vite's framework-agnostic story, and will allow us to build independent teams to maintain each of the plugins. If you have bugs to report or features to request, please create issues on the new repositories moving forward: vitejs/vite-plugin-vue and vitejs/vite-plugin-react.
New React plugin using SWC during development
SWC is now a mature replacement for Babel, especially in the context of React projects. SWC's React Fast Refresh implementation is a lot faster than Babel, and for some projects, it is now a better alternative. From Vite 4, two plugins are available for React projects with different tradeoffs. We believe that both approaches are worth supporting at this point, and we'll continue to explore improvements to both plugins in the future.
@vitejs/plugin-react
@vitejs/plugin-react is a plugin that uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the babel transform pipeline.
@vitejs/plugin-react-swc (new)
@vitejs/plugin-react-swc is a new plugin that uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.
Compatibility
The modern browser build now targets safari14 by default for wider ES2020 compatibility (https://github.com/vitejs/vite/issues/9063). This means that modern builds can now use BigInt and that the nullish coallessing operator isn't transpiled anymore. If you need to support older browsers, you can add @vitejs/plugin-legacy as usual.
Importing CSS as a string
In Vite 3, importing the default export of a .css file could introduce a double loading of CSS.
import cssString from './global.css';

This double loading could occur since a .css file will be emitted and it's likely that the CSS string will also be used by the application code — for example, injected by the framework runtime. From Vite 4, the .css default export has been deprecated. The ?inline query suffix modifier needs to be used in this case, as that doesn't emit the imported .css styles.
import stuff from './global.css?inline'

Other features

Support for patch-package when pre bundling dependencies (#10286)
Cleaner build logs output (#10895) and switch to kB to align with browser dev tools (#10982)
Improved error messages during SSR (#11156)

Features

feat: add CLI keyboard shortcuts (#11228) (87973f1), closes #11228
feat: export error message generator (#11155) (493ba1e), closes #11155
feat(node/plugins): esbuild options (#11049) (735b98b), closes #11049
feat: improve the error message of expand (#11141) (825c793), closes #11141
feat: update @types/node to v18 (#11195) (4ec9f53), closes #11195
feat(client)!: remove never implemented hot.decline (#11036) (e257e3b), closes #11036
feat!: support safari14 by default for wider ES2020 compatibility (#9063) (3cc65d7), closes #9063
feat!: support multiline values in env files (#10826) (606e60d), closes #10826
feat(ssr)!: remove dedupe and mode support for CJS (#11101) (3090564), closes #11101
feat: align object interface for transformIndexHtml hook (#9669) (1db52bf), closes #9669
feat(build): cleaner logs output (#10895) (7d24b5f), closes #10895
feat(css): deprecate css default export (#11094) (01dee1b), closes #11094
feat(optimizer): support patch-package (#10286) (4fb7ad0), closes #10286
feat(build): Use kB in build reporter (#10982) (b57acfa), closes #10982
feat(css): upgrade postcss-modules (#10987) (892916d), closes #10987
feat(hmr): invalidate message (#10946) (0d73473), closes #10946
feat(client): expose hot.prune API (#11016) ([f40c18d](https://togithub.com/vitejs/vite/

Configuration
📅 Schedule: Branch creation - "after 6am and before 6pm every weekday" (UTC), Automerge - "after 8am and before 5pm every weekday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 4.x releases. However, if you upgrade to 4.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Search competitions: loggedin: public+own private, not loggedin: public

@ mention of reviewers
@Didayolo @bbearce
A brief description of the purpose of the changes contained in this PR.
Searchbar of Codabench was showing private competitions of other users
Now if user is not loggedin, only published competitions will be shown
if user is logged in then only public competitions from other users and all his competitions (public/private) will be shown
Unpublished iris is not shown

Published Classify weeds.. is shown

Issues this PR resolves
Issue 705
Checklist

[x] Code review by me
[x] Hand tested by me
[x] I'm proud of my work
[x] Code review by reviewer
[x] Hand tested by reviewer
[x] CircleCi tests are passing
[x] Ready to merge

This works perfectly. Thank you again for your efforts.


Stutter whenever i turn my head

I am using ALVR v11 with latest windows 10 updates and latest SteamVR. My computer has: i7-2600K, RTX2060, 8 GB DDR3 Ram, Wifi Router 2.4 Ghz (Wired ethernet connection from pc to router, wireless from router to headset).
My issue is that there is a noticable amount of stutter when using it. I have tried to lower bitrate and increase buffer but no difference. So i am not that sure whats causing that. The video Quality and latency are really great. The only issue is that there some stutter or glitching whenever i turn with my headset. When standing still and just move my controllers and such it doesn't happen only when i move with my headset. Anything that i can do to get rid of that other than getting a 5 GHz network since not available here? Latency and etc are fine its just that. If it requires more detail about my issue i can record and make a video to show exactly what i mean.

This isn't really an issue--this is a problem with poor wifi. You're using 2.4ghz which is extremely limiting. You should use 5Gz wifi at all times. Doesn't matter if it's hardwired--it's the weakest link (like adding larger pipes to plumbing don't matter if you reduce it higher in the chain).

Yeah but like are we sure that thats the issue? Because its not that it constantly happens. Whatever i don't have money to spare for 5 Ghz Router. Woop


Return standard output in popen_write

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Expected behaviour
We expect the popen_write method to return the standard output of the child process.
This expectation is evident in how safe_popen_write is written:
  def self.safe_popen_write(*args, **options, &block)
    output = popen_write(*args, **options, &block)
    return output if $CHILD_STATUS.success?

    raise ErrorDuringExecution.new(args, status: $CHILD_STATUS, output: [[:stdout, output]])
  end

Actual behaviour
Contrary to what the above code suggests, no code has been written to actually obtain any output from the child process. Newly-written tests show that popen_write only returns a number ("4") instead of the expected standard output.
For example, given a file foo with the content Foo\n, one of the tests calls popen_write with cat foo - and an input of Bar. The expected output would be Foo\nBar\n but the actual output is the number 4 (which is what Ruby’s IO#write method returns).
Fix
By having popen_write transparently capture standard output, we restore the intended semantics.
The practical purpose of this PR is that when an embedded formula patch fails, it now displays the actual output of the patch binary (instead of the length of the patch).
Fixes #8244.

Thanks @claui!


omnisharp-vim, no module named urllib2

That error seems to be fairly recent.
I have at least on my Mac (10.11.6).
I will check tomorrow on my Windows 10.
[1551] $ Error detected while processing ~/.config/vim/bundles/omnisharp-vim/plugin/OmniSharp.vim
line   15:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/gildas/.config/vim/bundles/omnisharp-vim/python/Completion.py", line 1, in <module>
    import vim, syncrequest, types
  File "/Users/gildas/.config/vim/bundles/omnisharp-vim/python/syncrequest.py", line 1, in <module>
    import vim, urllib2, urllib, urlparse, json
ImportError: No module named urllib2
line   16:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/gildas/.config/vim/bundles/omnisharp-vim/python/OmniSharp.py", line 1, in <module>
    import vim, urllib2, urllib, urlparse, logging, json, os, os.path, cgi, types, threading
ImportError: No module named urllib2

This is a python error (urllib2 does not exist in python3). At this time OmniSharp requires python2.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Fixing the issue with username validation


Plan to support multiarch build

It's a headache in Apple Silicon because docker downloaded x86_64 image and caused nix recipe inside to break because it is not compatible with host arch.
Proposed plan:

Use gh action from docker official (that can use multiarch build push on a single manifests list, not multiple tags)
Make a base nix Dockerfile that installs nix in the appropriate docker arch convention
Uses nix recipe to build the rest (like current method), to be compatible with devcontainer

Solved in v1.1.0 release


Wait for tx

Adds a Wait(tx uint64) that poll waits the watermark to wait for a transaction to be included in following reads.
I also updated the tx pool to support a drain notification in addition to periodic sweeps. Saw some decent improvements in time to drain there.
 I think with this we have almost all the capabilities we want from transactions, the only remaining one being the ability to understand whether a transaction was aborted in order to tell a client to retry. But one thing after another.
This looks great! 🎉


[ENH]  Configure local chroma to use object storage.

I don't plan to merge this until we can merge on staging and test configuration there.


[Crash][macOS] Abort Signal on macOS

A few customers have reported crashes on macOS.

 Logs
Translated Report (Full Report Below)
-------------------------------------
Process:               unity [27047]
Path:                  /Applications/bluecherry.app/Contents/MacOS/unity
Identifier:            com.unity
Version:               3.0.016 (3.0.016)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501
Date/Time:             2024-05-13 16:01:32.4406 -0400
OS Version:            macOS 14.1 (23B2073)
Report Version:        12
Anonymous UUID:        A8E268FC-06FA-A634-87AB-62300C0AB2AC
Sleep/Wake UUID:       20E0237C-8B7A-41E4-93B8-C6DAB709E80B
Time Awake Since Boot: 120000 seconds
Time Since Wake:       401 seconds
System Integrity Protection: enabled
Crashed Thread:        44  */mpv core
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   unity [27047]
Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x1863108b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x186322d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1863194f0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x186310c38 mach_msg + 24
4   CoreFoundation                         0x18642dea4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18642c76c __CFRunLoopRun + 1208
6   CoreFoundation                         0x18642bc5c CFRunLoopRunSpecific + 608
7   HIToolbox                              0x1909a7448 RunCurrentEventLoopInMode + 292
8   HIToolbox                              0x1909a7284 ReceiveNextEventCommon + 648
9   HIToolbox                              0x1909a6fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
10  AppKit                                 0x189c06be0 _DPSNextEvent + 660
11  AppKit                                 0x18a3dce8c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
12  AppKit                                 0x189bfa08c -[NSApplication run] + 476
13  AppKit                                 0x189bd1358 NSApplicationMain + 880
14  unity                                  0x1040e7474 main + 12
15  dyld                                   0x185fd50e0 start + 2360
Thread 1:
0   libsystem_pthread.dylib                0x18634be28 start_wqthread + 0
Thread 2:
0   libsystem_pthread.dylib                0x18634be28 start_wqthread + 0
Thread 3:
0   libsystem_pthread.dylib                0x18634be28 start_wqthread + 0
Thread 4:
0   libsystem_pthread.dylib                0x18634be28 start_wqthread + 0
Thread 5:: io.flutter.ui
0   libsystem_malloc.dylib                 0x1861805e8 _szone_free + 240
1   FlutterMacOS                           0x108a54660 0x10847c000 + 6129248
2   FlutterMacOS                           0x108a53adc 0x10847c000 + 6126300
3   FlutterMacOS                           0x108c69348 0x10847c000 + 8311624
4   App                                    0x119bed878 kDartVmSnapshotInstructions + 21752
5   App                                    0x119cc6ac0 kDartIsolateSnapshotInstructions + 869376
6   App                                    0x119cc6a20 kDartIsolateSnapshotInstructions + 869216
7   App                                    0x119d5fccc kDartIsolateSnapshotInstructions + 1496588
8   App                                    0x11a02b184 kDartIsolateSnapshotInstructions + 4426436
9   App                                    0x11a02a700 kDartIsolateSnapshotInstructions + 4423744
10  App                                    0x119d8fc78 kDartIsolateSnapshotInstructions + 1693112
11  App                                    0x119d8f798 kDartIsolateSnapshotInstructions + 1691864
12  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
13  App                                    0x119d92000 kDartIsolateSnapshotInstructions + 1702208
14  App                                    0x119d8df18 kDartIsolateSnapshotInstructions + 1685592
15  App                                    0x119d8f888 kDartIsolateSnapshotInstructions + 1692104
16  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
17  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
18  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
19  App                                    0x119d92000 kDartIsolateSnapshotInstructions + 1702208
20  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
21  App                                    0x119d992ec kDartIsolateSnapshotInstructions + 1731628
22  App                                    0x119d92148 kDartIsolateSnapshotInstructions + 1702536
23  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
24  App                                    0x119d92000 kDartIsolateSnapshotInstructions + 1702208
25  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
26  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
27  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
28  App                                    0x119d992ec kDartIsolateSnapshotInstructions + 1731628
29  App                                    0x119d92148 kDartIsolateSnapshotInstructions + 1702536
30  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
31  App                                    0x119d92000 kDartIsolateSnapshotInstructions + 1702208
32  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
33  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
34  App                                    0x119d992ec kDartIsolateSnapshotInstructions + 1731628
35  App                                    0x119d92148 kDartIsolateSnapshotInstructions + 1702536
36  App                                    0x119d8fad8 kDartIsolateSnapshotInstructions + 1692696
37  App                                    0x119d8df18 kDartIsolateSnapshotInstructions + 1685592
38  App                                    0x119d8f888 kDartIsolateSnapshotInstructions + 1692104
39  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
40  App                                    0x119d91f58 kDartIsolateSnapshotInstructions + 1702040
41  App                                    0x119d99084 kDartIsolateSnapshotInstructions + 1731012
42  App                                    0x119d92000 kDartIsolateSnapshotInstructions + 1702208
43  App                                    0x119d8df18 kDartIsolateSnapshotInstructions + 1685592
44  App                                    0x119d8f888 kDartIsolateSnapshotInstructions + 1692104
45  App                                    0x119d90820 kDartIsolateSnapshotInstructions + 1696096
46  App                                    0x119d3f104 kDartIsolateSnapshotInstructions + 1362500
47  App                                    0x119d904c0 kDartIsolateSnapshotInstructions + 1695232
48  App                                    0x119d90414 kDartIsolateSnapshotInstructions + 1695060
49  App                                    0x119d27d14 kDartIsolateSnapshotInstructions + 1267284
50  App                                    0x119d27c34 kDartIsolateSnapshotInstructions + 1267060
51  App                                    0x119d27bc4 kDartIsolateSnapshotInstructions + 1266948
52  App                                    0x119d27ab0 kDartIsolateSnapshotInstructions + 1266672
53  App                                    0x119d277ec kDartIsolateSnapshotInstructions + 1265964
54  App                                    0x119e19cb4 kDartIsolateSnapshotInstructions + 2258420
55  App                                    0x119e19b78 kDartIsolateSnapshotInstructions + 2258104
56  App                                    0x119e19c18 kDartIsolateSnapshotInstructions + 2258264
57  App                                    0x119e0a614 kDartIsolateSnapshotInstructions + 2195284
58  App                                    0x119e0a0ac kDartIsolateSnapshotInstructions + 2193900
59  App                                    0x119e09a64 kDartIsolateSnapshotInstructions + 2192292
60  App                                    0x119e09a2c kDartIsolateSnapshotInstructions + 2192236
61  App                                    0x119c19d94 kDartIsolateSnapshotInstructions + 161492
62  App                                    0x119c19ca4 kDartIsolateSnapshotInstructions + 161252
63  App                                    0x119c19994 kDartIsolateSnapshotInstructions + 160468
64  App                                    0x119c19868 kDartIsolateSnapshotInstructions + 160168
65  App                                    0x119c0ada8 kDartIsolateSnapshotInstructions + 100072
66  App                                    0x119c0ae68 kDartIsolateSnapshotInstructions + 100264
67  App                                    0x11a100f80 kDartIsolateSnapshotInstructions + 5302464
68  App                                    0x11a104b88 kDartIsolateSnapshotInstructions + 5317832
69  App                                    0x119c115d4 kDartIsolateSnapshotInstructions + 126740
70  App                                    0x119c143c4 kDartIsolateSnapshotInstructions + 138500
71  App                                    0x119c14380 kDartIsolateSnapshotInstructions + 138432
72  App                                    0x119c143f4 kDartIsolateSnapshotInstructions + 138548
73  App                                    0x119befef4 kDartVmSnapshotInstructions + 31604
74  FlutterMacOS                           0x108d38d30 0x10847c000 + 9162032
75  FlutterMacOS                           0x108d39450 0x10847c000 + 9163856
76  FlutterMacOS                           0x108eafbf0 0x10847c000 + 10697712
77  FlutterMacOS                           0x108c2b6b4 0x10847c000 + 8058548
78  FlutterMacOS                           0x108c6ed4c 0x10847c000 + 8334668
79  FlutterMacOS                           0x108cbd930 0x10847c000 + 8657200
80  FlutterMacOS                           0x108be5bcc 0x10847c000 + 7773132
81  FlutterMacOS                           0x108be94bc 0x10847c000 + 7787708
82  FlutterMacOS                           0x108c24308 0x10847c000 + 8028936
83  FlutterMacOS                           0x1084ebecc 0x10847c000 + 458444
84  FlutterMacOS                           0x1084f44e4 0x10847c000 + 492772
85  CoreFoundation                         0x186449cd0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
86  CoreFoundation                         0x186449978 __CFRunLoopDoTimer + 972
87  CoreFoundation                         0x1864494b0 __CFRunLoopDoTimers + 356
88  CoreFoundation                         0x18642c9f4 __CFRunLoopRun + 1856
89  CoreFoundation                         0x18642bc5c CFRunLoopRunSpecific + 608
90  FlutterMacOS                           0x1084f4780 0x10847c000 + 493440
91  FlutterMacOS                           0x1084ebcc8 0x10847c000 + 457928
92  FlutterMacOS                           0x1084f30f0 0x10847c000 + 487664
93  libsystem_pthread.dylib                0x186351034 _pthread_start + 136
94  libsystem_pthread.dylib                0x18634be3c thread_start + 8
Thread 6:: io.flutter.raster
0   libsystem_kernel.dylib                 0x1863108b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x186322d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1863194f0 mach_msg_overwrite + 476
3   libsystem_kernel.dylib                 0x186310c38 mach_msg + 24
4   CoreFoundation                         0x18642dea4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18642c76c __CFRunLoopRun + 1208
6   CoreFoundation                         0x18642bc5c CFRunLoopRunSpecific + 608
7   FlutterMacOS                           0x1084f4780 0x10847c000 + 493440
8   FlutterMacOS                           0x1084ebcc8 0x10847c000 + 457928
9   FlutterMacOS                           0x1084f30f0 0x10847c000 + 487664
10  libsystem_pthread.dylib                0x186351034 _pthread_start + 136
11  libsystem_pthread.dylib                0x18634be3c thread_start + 8
Thread 7:: io.flutter.io
0   libsystem_kernel.dylib                 0x1863108b4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x186322d30 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1863194f0 mach_msg_overwrite + 476

 Video
https://github.com/media-kit/media-kit/assets/45696119/0ee187b9-3bdb-40a8-a67e-c5a6612c8252

As for the crash, it looks like it comes from an abort signal, but I couldn't find anything that may be calling it.
I have never experienced this in my development machine.
Related issues and threads:

https://forums.developer.apple.com/forums/thread/19859
https://github.com/Stremio/stremio-shell/issues/231

The app
The app is the Bluecherry Client.
The videos are initialized at the app start. Could this be the root of the issue? On Linux and Android, I've experienced crashes when doing so on startup and fixed by starting videos with a certain delay.
The video is a RTSP stream.

did this fix your issue? https://github.com/bluecherrydvr/unity/commit/09bb2c723aef0018705813152a47129affa63627
i think the crash is due to mpv not being initiated yet

did this fix your issue?

As I said, I can not reproduce this on my testing machine. It is happening only to some of our customers.

i think the crash is due to mpv not being initiated yet

I can add a 1 second delay after mpv is initialized on macOS

Let me know if that was enough to fix it, for I have a MacBook but no crashes happened to me.
I think the delay will be a good workaround, but a proper waiting for initialization will be the cleaner route
Will check if it can be implemented or not, no promises here

I'm not sure if there is any waiting for initialization. MediaKit.ensureInitialized() isn't a Future that can be awaited.

Yes I checked that, but I still want to look into it , maybe it takes time or a listener can be attached and await on it

I also get the crash, and the app closses completely. I am developing on ubuntu

Hi, any updates on this? I'm also having the same issue on a build of the flutter app using the github action runner. Building it locally works fine.
Logs on stdout/stederr:
2024-07-26 23:55:54.947 my_app[63399:5923509] VideoOutput: enableHardwareAcceleration: true
Assertion failed: (group_index >= 0), function m_config_cache_from_shadow, file m_config_core.c, line 554.
[1]    63399 abort      ./my_app

After further investigation with @Bonfra04 we found out that changing the Mpv.framework inside "APP.app/Contents/Frameworks" with one provided from an App.app builded from local machine instead of Github Action, fixed the abort error. Regardless it isn't a proper fix because the Github action still outputs a bad build of App.app that contains the abort error.

Me and @Bonfra04 found out that the issue causing the abort error was the way our action would zip the app, it seems that using the "zip" command instead of "7z" caused the issue. We noticed that the same behavior applied even to the example app of the media-kit when using the "zip" command the app crashes with the abort, meanwhile using the 7z the app works properly.


How to make eslint-plugin-import correctly recognize path aliases and analyze the validity of alias paths?

As shown in the image above, it seems that ESLint cannot resolve paths with aliases（It's not ts project）. I have found a solution.
"import/no-unresolved": ["off", { ignore: ["^@/", "node_modules"] }],

After configuring this rule, the errors are now gone. However, this rule only ignores the parsing of path aliases starting with @. I want to configure it to analyze whether this path alias is valid.
Here is the code to configure the import/* rule:
    settings: {
        "import/ignore": ["node_modules"],
        "import/extensions": [".js", ".jsx", ".es6"],
        "import/resolver": {
            node: {
                extensions: [".js", ".jsx"],
            },
        },
    },

Where do the aliases come from? If it's webpack, you need to also use the webpack resolver.

Where do the aliases come from? If it's webpack, you need to also use the webpack resolver.

I am using Vite to configure aliases. I would like to know how to make ESLint recognize these file paths as valid and prevent it from reporting errors for them.

Thanks for your suggestion. I know how to solve it now.

If you find a vite eslint import resolver I'd love to know about it.

means that can't use it in vite ?

@ljharb
There's this: https://github.com/pzmosquito/eslint-import-resolver-vite

Wonderful, https://www.npmjs.com/package/eslint-import-resolver-vite is the solution then.


Add a new target including the C api.

This is to fix issue #3814.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.

@tensorflow-jenkins test this please


Please help me！It doesn't work

What should I do if there is an error and no mode。

try to install all required modules 1 by 1:
pip install pysimplegui
pip install sounddevice
pip install vosk
pip install requests
pip install httpx
pip install streamlink
pip install urllib3
pip install six
pip install pysrt
pip install tqdm
pip install pywin32
pip install pyvosklivesubtitle

 What should I do if there is an error and no mode。

try to install all required modules 1 by 1:
pip install pysimplegui
pip install sounddevice
pip install vosk
pip install requests
pip install httpx
pip install streamlink
pip install urllib3
pip install six
pip install pysrt
pip install tqdm
pip install pywin32
pip install pyvosklivesubtitle


chore: straight forward replace of yarn with npm

Why
Removes Yarn and just uses Npm.  Reduces complexity without losing anything.
What
Removed all references to yarn and instead just use npm.
Checklist

[x] Documentation updated
[n/a] Storybook entry added
[ ] Ready to be merged

I would like to see if the CI works.  I believe that it can be optimized and I may do so after I see it run once on this new PR.

I've cleaned up the CI to be more similar to a template project of mine that is near optimal in terms of speed: https://github.com/bhouston/template-typescript-monorepo/actions
I also use .nvmrc to set the node version as well as specify "engines": node >= 18 in package.json


can't compile on windows

on windows 10 64 bit :
C:\Users\x\Downloads\luceneupgrader-master\luceneupgrader-master>buildr
(in C:/Users/x/Downloads/luceneupgrader-master/luceneupgrader-master, development)
This extension is now included as part of the core Buildr library
The javadoc method is deprecated and will be removed in a future release.
Building luceneupgrader
Compiling luceneupgrader into C:/Users/x/Downloads/luceneupgrader-master/luceneupgrader-master/target/classes
Buildr aborted!
Java::JavaLangReflect::InaccessibleObjectException : Unable to make protected void java.net.URLClassLoader.addURL(java.net.URL) accessible: module java.base does not "opens java.net" to module org.jruby.dist
(See full trace by running task with --trace)
I tried java 64 bit versions 8, 9. 11 all have this error
I installed buildr with
jruby -S gem install buildr

The .ruby-version file in the current repository says to run the build using Ruby 2.0.0-p451, but it looks like for you it's being run using JRuby. So my guess is that perhaps you're just not using rbenv on your system, so it is running with whatever Ruby is found on the path, instead of the version the build has been confirmed to work with.
So getting rbenv up and running is probably the way to go. But the way forward for this project is probably to move to Gradle to make the build easier to run.

The .ruby-version file in the current repository says to run the build using Ruby 2.0.0-p451, but it looks like for you it's being run using JRuby. So my guess is that perhaps you're just not using rbenv on your system, so it is running with whatever Ruby is found on the path, instead of the version the build has been confirmed to work with.
So getting rbenv up and running is probably the way to go. But the way forward for this project is probably to move to Gradle to make the build easier to run.

I've no idea about ruby, another question, is it reasonable that lucene.net in c# seems to be able to open an index created by compass lucene of about 2009 v. 2.2 ? for my needs it's enough c# windows, in case any clues if it handles old versions

I've no idea about ruby, another question, is it reasonable that lucene.net in c# seems to be able to open an index created by compass lucene of about 2009 v. 2.2 ? for my needs it's enough c# windows, in case any clues if it handles old versions

I've never tried Lucene.NET. Or CLucene for that matter.
Lucene itself could have kept support for older indexes if it wanted to. Especially once codecs came into the picture, making it much easier to support more than one version. But maintenance would have gotten harder and harder, so they chose not to support it.

I've never tried Lucene.NET. Or CLucene for that matter.
Lucene itself could have kept support for older indexes if it wanted to. Especially once codecs came into the picture, making it much easier to support more than one version. But maintenance would have gotten harder and harder, so they chose not to support it.

The build scripts on the main branch have been switched over to Gradle, and have been confirmed to work on Windows.


Add containerd shim v2 api implementation

We implement the first version based on shim v1 api, because containerd 1.1 is still the containerd version most people use now.
However, shim v2 api is a more elegantly designed integration api for gvisor.
Now containerd has released 1.2.1, we should move to shim v2 api in next version.

This is done in #13. Close


Project maintenance/updates

Is this project still maintained? Is it going to be updated to Java 9 and JUnit 5? Currently importing version 2.1.0 it complains about a missing com.sun:tools:jar:9.0.4 dependency, I suspect due to Java 9 Jigsaw.

I haven't really got any time to spare for updates right now, but I'd be happy to accept a pull request if you're able to solve the problem.

Great! I'm not much used to Gradle, but in my Maven project a resolved the missing dependency issue with this exclusion:
<dependency>
    <groupId>com.matthew-tamlin</groupId>
    <artifactId>avatar</artifactId>
    <version>${avatar.version}</version>
    <scope>test</scope>
    <exclusions>
        <exclusion>
            <groupId>com.sun</groupId>
            <artifactId>tools</artifactId>
        </exclusion>
    </exclusions>
</dependency>

It seems to work without issues, for now.