Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install awscli fails for older setuptools versions #6094

Closed
1 task done
kishgau opened this issue Apr 14, 2021 · 13 comments
Closed
1 task done

pip install awscli fails for older setuptools versions #6094

kishgau opened this issue Apr 14, 2021 · 13 comments
Labels
duplicate This issue is a duplicate. guidance Question that needs advice or information.

Comments

@kishgau
Copy link

kishgau commented Apr 14, 2021

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug
'pip install awscli --upgrade' fails for older setuptools versions

awscli 1.19.50+

Platform/OS/Hardware/Device
RHEL7

To Reproduce (observed behavior)
Use and older setuptools versions ( e.g. 0.9.8)

Expected behavior
pip install awscli shouldn't fail with older setup tools version.

Logs/output
error in aswcli setup command: 'install_requires' must be a string or list of strings containing valid/project version requirement specifiers.

Additional context
Workaround: upgrading setuptools to latest version

@kishgau kishgau added the needs-triage This issue or PR still needs to be triaged. label Apr 14, 2021
@kishgau
Copy link
Author

kishgau commented Apr 14, 2021

Apparently 'pip install awscli --upgrade' downloads sdist package (awscli-1.19.50.tar.gz) instead of ( awscli-1.19.50-py2.py3-none-any.whl. This is for pip 20.3.4 on RHEL7 . Wheel package is being handle fine.

@AMOpportunitiesDeveloper

This is an issue for me as well on an alpine image:

$ apk --update add docker git python3 py3-pip jq
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/29) Installing ca-certificates (20191127-r2)
(2/29) Installing libseccomp (2.4.2-r2)
(3/29) Installing runc (1.0.0_rc8-r0)
(4/29) Installing containerd (1.2.7-r0)
(5/29) Installing libmnl (1.0.4-r0)
(6/29) Installing jansson (2.11-r0)
(7/29) Installing libnftnl-libs (1.1.1-r0)
(8/29) Installing iptables (1.6.2-r1)
(9/29) Installing tini-static (0.18.0-r0)
(10/29) Installing device-mapper-libs (2.02.182-r0)
(11/29) Installing docker (18.09.8-r0)
Executing docker-18.09.8-r0.pre-install
(12/29) Installing nghttp2-libs (1.35.1-r2)
(13/29) Installing libssh2 (1.9.0-r1)
(14/29) Installing libcurl (7.64.0-r5)
(15/29) Installing expat (2.2.8-r0)
(16/29) Installing pcre2 (10.32-r1)
(17/29) Installing git (2.20.4-r0)
(18/29) Installing oniguruma (6.9.4-r1)
(19/29) Installing jq (1.6-r0)
(20/29) Installing libbz2 (1.0.6-r7)
(21/29) Installing libffi (3.2.1-r6)
(22/29) Installing gdbm (1.13-r1)
(23/29) Installing xz-libs (5.2.4-r0)
(24/29) Installing ncurses-terminfo-base (6.1_p20190105-r0)
(25/29) Installing ncurses-terminfo (6.1_p20190105-r0)
(26/29) Installing ncurses-libs (6.1_p20190105-r0)
(27/29) Installing readline (7.0.003-r1)
(28/29) Installing sqlite-libs (3.28.0-r3)
(29/29) Installing python3 (3.6.9-r3)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 340 MiB in 45 packages
$ apk add bash ruby curl ruby-irb ruby-rake ruby-io-console ruby-bigdecimal ruby-json ruby-bundler libstdc++ tzdata
(1/14) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(2/14) Installing curl (7.64.0-r5)
(3/14) Installing gmp (6.1.2-r1)
(4/14) Installing yaml (0.2.1-r0)
(5/14) Installing ruby-libs (2.5.8-r0)
(6/14) Installing ruby (2.5.8-r0)
(7/14) Installing ruby-bigdecimal (2.5.8-r0)
(8/14) Installing ruby-etc (2.5.8-r0)
(9/14) Installing ruby-io-console (2.5.8-r0)
(10/14) Installing ruby-bundler (1.17.1-r0)
(11/14) Installing ruby-irb (2.5.8-r0)
(12/14) Installing ruby-json (2.5.8-r0)
(13/14) Installing ruby-rake (2.5.8-r0)
(14/14) Installing tzdata (2020c-r1)
Executing busybox-1.29.3-r10.trigger
OK: 360 MiB in 59 packages
$ echo 'gem: --no-document' > /etc/gemrc
$ apk add ruby-dev libffi-dev build-base
(1/23) Upgrading musl (1.1.20-r5 -> 1.1.20-r6)
(2/23) Installing binutils (2.31.1-r2)
(3/23) Installing libmagic (5.36-r1)
(4/23) Installing file (5.36-r1)
(5/23) Installing isl (0.18-r0)
(6/23) Installing libgomp (8.3.0-r0)
(7/23) Installing libatomic (8.3.0-r0)
(8/23) Installing mpfr3 (3.1.5-r1)
(9/23) Installing mpc1 (1.0.3-r1)
(10/23) Installing gcc (8.3.0-r0)
(11/23) Installing musl-dev (1.1.20-r6)
(12/23) Installing libc-dev (0.7.1-r0)
(13/23) Installing g++ (8.3.0-r0)
(14/23) Installing make (4.2.1-r2)
(15/23) Installing fortify-headers (1.0-r0)
(16/23) Installing build-base (0.5-r1)
(17/23) Upgrading musl-utils (1.1.20-r5 -> 1.1.20-r6)
(18/23) Installing linux-headers (4.18.13-r1)
(19/23) Installing pkgconf (1.6.0-r0)
(20/23) Installing libffi-dev (3.2.1-r6)
(21/23) Installing libgmpxx (6.1.2-r1)
(22/23) Installing gmp-dev (6.1.2-r1)
(23/23) Installing ruby-dev (2.5.8-r0)
Executing busybox-1.29.3-r10.trigger
OK: 525 MiB in 80 packages
$ gem install ffi sass
Building native extensions. This could take a while...
Successfully installed ffi-1.15.0
Successfully installed rb-inotify-0.10.1
Successfully installed rb-fsevent-0.10.4
Successfully installed sass-listen-4.0.0
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841
Successfully installed sass-3.7.4
5 gems installed
$ pip3 install awscli
Collecting awscli
  Downloading https://files.pythonhosted.org/packages/d9/d3/1b76aa71fea8438f82a991ad94443d343836848f8b8c0dc413ed987745f8/awscli-1.19.51-py2.py3-none-any.whl (3.6MB)
Collecting PyYAML<5.5,>=3.10 (from awscli)
  Downloading https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz (175kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  Complete output from command /usr/bin/python3.6 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nhwchs1f --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython:
  Collecting setuptools
    Downloading https://files.pythonhosted.org/packages/ae/42/2876a3a136f8bfa9bd703518441c8db78ff1eeaddf174baa85c083c1fd15/setuptools-56.0.0-py3-none-any.whl (784kB)
  Collecting wheel
    Downloading https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl
  Collecting Cython
    Downloading https://files.pythonhosted.org/packages/d9/cd/0d2d90b27219c07f68f1c25bcc7b02dd27639d2180add9d4b73e70945869/Cython-0.29.23.tar.gz (2.1MB)
  Installing collected packages: setuptools, wheel, Cython
    Running setup.py install for Cython: started
      Running setup.py install for Cython: finished with status 'error'
      Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wekz0uks/Cython/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-v0tb4oqb/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-nhwchs1f --compile:
      Unable to find pgen, not compiling formal grammar.
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.6
      copying cython.py -> build/lib.linux-x86_64-3.6
      creating build/lib.linux-x86_64-3.6/Cython
      copying Cython/Shadow.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/Coverage.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/__init__.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/StringIOTree.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/Debugging.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/CodeWriter.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/Utils.py -> build/lib.linux-x86_64-3.6/Cython
      copying Cython/TestUtils.py -> build/lib.linux-x86_64-3.6/Cython
      creating build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/IpythonMagic.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/Cythonize.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/BuildExecutable.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/Inline.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/Distutils.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Build
      copying Cython/Build/Dependencies.py -> build/lib.linux-x86_64-3.6/Cython/Build
      creating build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Lexicon.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Pythran.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Buffer.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/CodeGeneration.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Main.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/TreePath.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Future.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Nodes.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/TreeFragment.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/ModuleNode.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Naming.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Parsing.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Optimize.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Symtab.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Annotate.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Builtin.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Interpreter.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/ExprNodes.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Scanning.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/DebugFlags.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Options.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/TypeInference.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Visitor.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/ParseTreeTransforms.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/UtilNodes.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/CmdLine.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Version.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/StringEncoding.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/UtilityCode.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/AutoDocTransforms.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/PyrexTypes.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/FusedNode.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Errors.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/TypeSlots.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/CythonScope.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/AnalysedTreeTransforms.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Pipeline.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/MemoryView.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Code.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/FlowControl.py -> build/lib.linux-x86_64-3.6/Cython/Compiler
      creating build/lib.linux-x86_64-3.6/Cython/Runtime
      copying Cython/Runtime/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Runtime
      creating build/lib.linux-x86_64-3.6/Cython/Distutils
      copying Cython/Distutils/extension.py -> build/lib.linux-x86_64-3.6/Cython/Distutils
      copying Cython/Distutils/build_ext.py -> build/lib.linux-x86_64-3.6/Cython/Distutils
      copying Cython/Distutils/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Distutils
      copying Cython/Distutils/old_build_ext.py -> build/lib.linux-x86_64-3.6/Cython/Distutils
      creating build/lib.linux-x86_64-3.6/Cython/Debugger
      copying Cython/Debugger/libcython.py -> build/lib.linux-x86_64-3.6/Cython/Debugger
      copying Cython/Debugger/Cygdb.py -> build/lib.linux-x86_64-3.6/Cython/Debugger
      copying Cython/Debugger/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Debugger
      copying Cython/Debugger/libpython.py -> build/lib.linux-x86_64-3.6/Cython/Debugger
      copying Cython/Debugger/DebugWriter.py -> build/lib.linux-x86_64-3.6/Cython/Debugger
      creating build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Debugger/Tests/test_libpython_in_gdb.py -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Debugger/Tests/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Debugger/Tests/test_libcython_in_gdb.py -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Debugger/Tests/TestLibCython.py -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      creating build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Actions.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Machines.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Lexicons.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Regexps.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/DFA.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Timing.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Traditional.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Errors.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Scanners.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Transitions.py -> build/lib.linux-x86_64-3.6/Cython/Plex
      creating build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/xmlrunner.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/TestJediTyper.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/TestCythonUtils.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/TestStringIOTree.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      copying Cython/Tests/TestCodeWriter.py -> build/lib.linux-x86_64-3.6/Cython/Tests
      creating build/lib.linux-x86_64-3.6/Cython/Build/Tests
      copying Cython/Build/Tests/TestInline.py -> build/lib.linux-x86_64-3.6/Cython/Build/Tests
      copying Cython/Build/Tests/TestCyCache.py -> build/lib.linux-x86_64-3.6/Cython/Build/Tests
      copying Cython/Build/Tests/TestIpythonMagic.py -> build/lib.linux-x86_64-3.6/Cython/Build/Tests
      copying Cython/Build/Tests/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Build/Tests
      copying Cython/Build/Tests/TestStripLiterals.py -> build/lib.linux-x86_64-3.6/Cython/Build/Tests
      creating build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestTypes.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestMemView.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestCmdLine.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestBuffer.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestParseTreeTransforms.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestStringEncoding.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestTreeFragment.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestFlowControl.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestTreePath.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestUtilityLoad.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestGrammar.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestVisitor.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      copying Cython/Compiler/Tests/TestSignatureMatching.py -> build/lib.linux-x86_64-3.6/Cython/Compiler/Tests
      creating build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Utility
      creating build/lib.linux-x86_64-3.6/Cython/Tempita
      copying Cython/Tempita/_looper.py -> build/lib.linux-x86_64-3.6/Cython/Tempita
      copying Cython/Tempita/compat3.py -> build/lib.linux-x86_64-3.6/Cython/Tempita
      copying Cython/Tempita/__init__.py -> build/lib.linux-x86_64-3.6/Cython/Tempita
      copying Cython/Tempita/_tempita.py -> build/lib.linux-x86_64-3.6/Cython/Tempita
      creating build/lib.linux-x86_64-3.6/pyximport
      copying pyximport/pyximport.py -> build/lib.linux-x86_64-3.6/pyximport
      copying pyximport/pyxbuild.py -> build/lib.linux-x86_64-3.6/pyximport
      copying pyximport/__init__.py -> build/lib.linux-x86_64-3.6/pyximport
      creating build/lib.linux-x86_64-3.6/Cython/Includes
      copying Cython/Includes/openmp.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes
      creating build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/types.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/signal.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/strings.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/fcntl.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/stat.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/mman.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/__init__.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/dlfcn.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/time.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/unistd.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/ioctl.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/resource.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/wait.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/stdlib.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/stdio.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      copying Cython/Includes/posix/select.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/posix
      creating build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_unicode.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_version.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_function.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_module.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_set.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_tuple.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_mapping.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_type.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_exc.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_buffer.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_bool.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_string.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_sequence.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_mem.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_object.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_instance.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_cobject.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_ref.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_long.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/stl.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_getargs.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_int.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_complex.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_dict.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_oldbuffer.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_pycapsule.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_weakref.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_float.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/stdlib.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_number.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/stdio.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_list.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_method.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_iterator.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      copying Cython/Includes/Deprecated/python_bytes.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/Deprecated
      creating build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/signal.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/__init__.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/locale.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/time.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/stdint.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/errno.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/setjmp.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/stddef.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/limits.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/float.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/stdlib.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/stdio.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/string.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      copying Cython/Includes/libc/math.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libc
      creating build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/pycapsule.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/pylifecycle.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/version.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/list.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/dict.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/bytes.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/cobject.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/module.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/__init__.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/ceval.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/longintrepr.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/pythread.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/datetime.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/array.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/type.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/method.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/iterobject.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/mem.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/codecs.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/getargs.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/int.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/set.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/number.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/object.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/genobject.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/conversion.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/bool.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/pystate.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/instance.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/ref.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/exc.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/float.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/mapping.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/sequence.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/memoryview.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/tuple.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/bytearray.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/cellobject.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/complex.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/unicode.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/buffer.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/long.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/string.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/iterator.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/weakref.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/oldbuffer.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/slice.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      copying Cython/Includes/cpython/function.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/cpython
      creating build/lib.linux-x86_64-3.6/Cython/Includes/numpy
      copying Cython/Includes/numpy/__init__.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/numpy
      copying Cython/Includes/numpy/math.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/numpy
      creating build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/unordered_map.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/stack.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/utility.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/map.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/forward_list.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/algorithm.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/list.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/unordered_set.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/cast.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/__init__.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/functional.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/vector.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/set.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/memory.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/pair.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/deque.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/limits.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/queue.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/complex.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/string.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/iterator.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/typeindex.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Includes/libcpp/typeinfo.pxd -> build/lib.linux-x86_64-3.6/Cython/Includes/libcpp
      copying Cython/Compiler/Code.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Visitor.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/FlowControl.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Scanning.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/Parsing.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Compiler/ParseTreeTransforms.pxd -> build/lib.linux-x86_64-3.6/Cython/Compiler
      copying Cython/Runtime/refnanny.pyx -> build/lib.linux-x86_64-3.6/Cython/Runtime
      copying Cython/Debugger/Tests/codefile -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Debugger/Tests/cfuncs.c -> build/lib.linux-x86_64-3.6/Cython/Debugger/Tests
      copying Cython/Plex/Scanners.pxd -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Plex/Actions.pxd -> build/lib.linux-x86_64-3.6/Cython/Plex
      copying Cython/Utility/TestCyUtilityLoader.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CConvert.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CppConvert.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/MemoryView.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/TestCythonScope.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CpdefEnums.pyx -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Embed.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/ModuleSetupCode.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Optimize.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Builtins.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Capsule.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Buffer.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Profile.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/StringTools.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/ObjectHandling.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Exceptions.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/AsyncGen.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CMath.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CythonFunction.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/FunctionArguments.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/ImportExport.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Printing.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Coroutine.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/TypeConversion.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Complex.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/ExtensionTypes.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CommonStructures.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/Overflow.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/TestUtilityLoader.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/MemoryView_C.c -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/arrayarray.h -> build/lib.linux-x86_64-3.6/Cython/Utility
      copying Cython/Utility/CppSupport.cpp -> build/lib.linux-x86_64-3.6/Cython/Utility
      running build_ext
      building 'Cython.Plex.Scanners' extension
      creating build/temp.linux-x86_64-3.6
      creating build/temp.linux-x86_64-3.6/tmp
      creating build/temp.linux-x86_64-3.6/tmp/pip-install-wekz0uks
      creating build/temp.linux-x86_64-3.6/tmp/pip-install-wekz0uks/Cython
      creating build/temp.linux-x86_64-3.6/tmp/pip-install-wekz0uks/Cython/Cython
      creating build/temp.linux-x86_64-3.6/tmp/pip-install-wekz0uks/Cython/Cython/Plex
      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 -I/usr/include/python3.6m -c /tmp/pip-install-wekz0uks/Cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-3.6/tmp/pip-install-wekz0uks/Cython/Cython/Plex/Scanners.o
      /tmp/pip-install-wekz0uks/Cython/Cython/Plex/Scanners.c:21:10: fatal error: Python.h: No such file or directory
       #include "Python.h"
                ^~~~~~~~~~
      compilation terminated.
      error: command 'gcc' failed with exit status 1
  
      ----------------------------------------
  Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wekz0uks/Cython/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-v0tb4oqb/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-nhwchs1f --compile" failed with error code 1 in /tmp/pip-install-wekz0uks/Cython/
  You are using pip version 18.1, however version 21.0.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  
  ----------------------------------------
Command "/usr/bin/python3.6 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nhwchs1f --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython" failed with error code 1 in None
You are using pip version 18.1, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Job failed: exit code 1

@nateprewitt
Copy link
Member

Hi @amopportunities, your issue is actually unrelated to setuptools. Cython was added as a build-time dependency of PyYAML in yaml/pyyaml#407 which means you'll need the source Python header files available to build. Otherwise, you can install a version of PyYAML < 5.4.1 or use a wheel from PyPI.

We can discuss the issue more, but it would be best to open a new issue to avoid moving the conversation from the original topic here.

@Frachuk
Copy link

Frachuk commented Apr 14, 2021

Hi @amopportunities, You can try to force a specific version of PyYAML we use the following one before installing the aws-cli and it worked

  • pip3 install pyyaml==5.3.1

@mcandio
Copy link

mcandio commented Apr 14, 2021

All the github actions related to awscli usage are affected in the same way.
For example this one:
https://github.com/koslib/helm-eks-action
or this one:
https://github.com/scalive/github-action-eks-helm

@TheNumberOne
Copy link

We also had this issue. A fix for alpine docker images is to install gcc, alpine-sdk, and python-dev

@juanda2222
Copy link

@Frachuk Excellent, you just saved me!

@manoelcamillo
Copy link

Hi @amopportunities, You can try to force a specific version of PyYAML we use the following one before installing the aws-cli and it worked

  • pip3 install pyyaml==5.3.1

It worked for me. Thanks!

@Frachuk
Copy link

Frachuk commented Apr 15, 2021

Btw, Apparently specific a certain version of the PYYAML is no longer necessary, we delete

  • pip3 install pyyaml==5.3.1

on our pipelines and seems that the issue that was before is already solved.

@nateprewitt
Copy link
Member

Yes, the appropriate tracking issue (#6096) has the details. An update was made to Cython that unintentionally forced Alpine to start compiling their package from source. I'd ask again if we can migrate any further discussion to that issue since it's unrelated to the original post here. Thanks!

@kdaily kdaily added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Apr 15, 2021
@nateprewitt
Copy link
Member

Hi @kishgau,

To answer your original question, the issue you're hitting shouldn't be new in CLI 1.19.50. The underlying issue appears to be the same as #6092 and #6064. We use environment markers in our installation requirements to appropriately split requirements between Python 2.7 and Python 3.6+. These have been supported by Python's packaging infrastructure since 2015 and are used in our dependencies as well.

setuptools 0.9.8 is quite old (released 2013) and isn't capable of performing granular dependency management most packages need. If that's the version RHEL 7 provides out of the box, it should be upgraded to setuptools>=36.2.0 and pip>=9.0.2 to avoid packaging issues. I've added a patch to our main README to make the documentation for our installation requirements more visible.

This upgrade for pip/setuptools will also ensure pip won't install incompatible versions of the AWS CLI. That should prevent unexpected breakages when Python 2.7 support is deprecated July 15, 2021 (full info here).

Please let us know if you have more questions, thanks!

@nateprewitt nateprewitt added guidance Question that needs advice or information. duplicate This issue is a duplicate. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Apr 15, 2021
@kishgau
Copy link
Author

kishgau commented Apr 15, 2021

Thanks very much @nateprewitt . I can confirm that this is no longer an issue after upgrading setuptools.

@kishgau kishgau closed this as completed Apr 15, 2021
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue is a duplicate. guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

9 participants