Coder Social home page Coder Social logo

cid's Introduction

Hi! ๐Ÿ‘‹ I'm Israel

Dev.to blog LinkedIn Twitter Stack Overflow

  • ๐Ÿข Working at Red Hat
  • ๐Ÿง™โ€โ™‚๏ธ Doing observability stuff. Especially, distributed tracing and OpenTelemetry
  • ๐Ÿ’ฌ Crazy about talking at conferences!
  • ๐Ÿš€ Google Developer Expert in Google Cloud, Google Champion Innovator in Google Cloud, AWS Community Builder in Cloud Operations, and Google Developer Group Granada organizer
  • ๐Ÿ‘ฏ Always open to new challenges!

cid's People

Contributors

iblancasa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cid's Issues

Add support for new CMake versions in Travis

For now, some CMake versions are tested.

I don't know why, but it seems some Python packages cannot be downloaded from Travis.

cmake3.14 create: /home/travis/build/iblancasa/cid/src/python/.tox/cmake3.14
cmake3.14 installdeps: scikit-build, pytest, cmake==3.14.4
ERROR: invocation failed (exit code 1), logfile: /home/travis/build/iblancasa/cid/src/python/.tox/cmake3.14/log/cmake3.14-1.log
================================== log start ===================================
Collecting scikit-build
  Downloading https://files.pythonhosted.org/packages/8a/b5/c6ca60421991c22e69b9a950b0d046e06d714f79f7071946ab885c7115fb/scikit_build-0.10.0-py2.py3-none-any.whl (66kB)
Collecting pytest
  Downloading https://files.pythonhosted.org/packages/19/cf/711f1d887cb92c5155c9a1eb338f1b5d2411b50e4492a3b20e4a188a22b2/pytest-5.3.2-py3-none-any.whl (234kB)
Collecting cmake==3.14.4
  Could not find a version that satisfies the requirement cmake==3.14.4 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 3.6.3, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4, 3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2, 3.13.2.post1, 3.13.3)
No matching distribution found for cmake==3.14.4
=================================== log end ====================================
ERROR: could not install deps [scikit-build, pytest, cmake==3.14.4]; v = InvocationError('/home/travis/build/iblancasa/cid/src/python/.tox/cmake3.14/bin/python -m pip install scikit-build pytest cmake==3.14.4 --no-cache-dir', 1)
cmake3.15 create: /home/travis/build/iblancasa/cid/src/python/.tox/cmake3.15
cmake3.15 installdeps: scikit-build, pytest, cmake==3.15.3
ERROR: invocation failed (exit code 1), logfile: /home/travis/build/iblancasa/cid/src/python/.tox/cmake3.15/log/cmake3.15-1.log
================================== log start ===================================
Collecting scikit-build
  Downloading https://files.pythonhosted.org/packages/8a/b5/c6ca60421991c22e69b9a950b0d046e06d714f79f7071946ab885c7115fb/scikit_build-0.10.0-py2.py3-none-any.whl (66kB)
Collecting pytest
  Downloading https://files.pythonhosted.org/packages/19/cf/711f1d887cb92c5155c9a1eb338f1b5d2411b50e4492a3b20e4a188a22b2/pytest-5.3.2-py3-none-any.whl (234kB)
Collecting cmake==3.15.3
  Could not find a version that satisfies the requirement cmake==3.15.3 (from versions: 0.1.0, 0.2.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 3.6.3, 3.6.3.post1, 3.7.2, 3.8.2, 3.9.6, 3.10.3, 3.11.0, 3.11.4, 3.11.4.post1, 3.12.0, 3.13.0, 3.13.1, 3.13.2, 3.13.2.post1, 3.13.3)
No matching distribution found for cmake==3.15.3
=================================== log end ====================================
ERROR: could not install deps [scikit-build, pytest, cmake==3.15.3]; v = InvocationError('/home/travis/build/iblancasa/cid/src/python/.tox/cmake3.15/bin/python -m pip install scikit-build pytest cmake==3.15.3 --no-cache-dir', 1)
___________________________________ summary ____________________________________
  py: commands succeeded
  cmake3.8: commands succeeded
  cmake3.9: commands succeeded
  cmake3.10: commands succeeded
  cmake3.11: commands succeeded
  cmake3.12: commands succeeded
  cmake3.13: commands succeeded
ERROR:   cmake3.14: could not install deps [scikit-build, pytest, cmake==3.14.4]; v = InvocationError('/home/travis/build/iblancasa/cid/src/python/.tox/cmake3.14/bin/python -m pip install scikit-build pytest cmake==3.14.4 --no-cache-dir', 1)
ERROR:   cmake3.15: could not install deps [scikit-build, pytest, cmake==3.15.3]; v = InvocationError('/home/travis/build/iblancasa/cid/src/python/.tox/cmake3.15/bin/python -m pip install scikit-build pytest cmake==3.15.3 --no-cache-dir', 1)
The command "tox" exited with 1.

The package is available: link to pypi

Link to the log

Run the tests in Python 3.8

For some reason I don't know, skbuild cannot be found when tox creates a Python virtual environment using Python 3.8 or higher.

LOB finish: packaging  after 0.26 seconds
copying new sdistfile to '/home/travis/.tox/distshare/tizona-0.0.1.zip'
package .tmp/package/1/tizona-0.0.1.zip links to dist/tizona-0.0.1.zip (/home/travis/build/iblancasa/cid/src/python/.tox)
py start: getenv /home/travis/build/iblancasa/cid/src/python/.tox/py
py cannot reuse: no previous config /home/travis/build/iblancasa/cid/src/python/.tox/py/.tox-config1
py create: /home/travis/build/iblancasa/cid/src/python/.tox/py
/home/travis/virtualenv/python3.8.0/bin/python (/home/travis/virtualenv/python3.8.0/bin/python) is {'executable': '/home/travis/virtualenv/python3.8.0/bin/python', 'name': 'python', 'version_info': [3, 8, 0, 'final', 0], 'version': '3.8.0 (default, Oct 15 2019, 17:49:55) \n[GCC 7.4.0]', 'is_64': True, 'sysplatform': 'linux'}
py uses /home/travis/virtualenv/python3.8.0/bin/python
setting PATH=/home/travis/build/iblancasa/cid/src/python/.tox/py/bin:/home/travis/virtualenv/python3.8.0/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v13.3.0/bin:/home/travis/.rvm/gems/ruby-2.6.5/bin:/home/travis/.rvm/gems/ruby-2.6.5@global/bin:/home/travis/.rvm/rubies/ruby-2.6.5/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.3/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin
[6133] /home/travis/build/iblancasa/cid/src/python/.tox$ /home/travis/virtualenv/python3.8.0/bin/python -m virtualenv --no-download --python /home/travis/virtualenv/python3.8.0/bin/python py
Already using interpreter /home/travis/virtualenv/python3.8.0/bin/python
Using real prefix '/opt/python/3.8.0'
New python executable in /home/travis/build/iblancasa/cid/src/python/.tox/py/bin/python
Installing setuptools, pip, wheel...
done.
py installdeps: scikit-build, pytest, cmake==3.7.2
setting PATH=/home/travis/build/iblancasa/cid/src/python/.tox/py/bin:/home/travis/virtualenv/python3.8.0/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v13.3.0/bin:/home/travis/.rvm/gems/ruby-2.6.5/bin:/home/travis/.rvm/gems/ruby-2.6.5@global/bin:/home/travis/.rvm/rubies/ruby-2.6.5/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.3/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin
[6141] /home/travis/build/iblancasa/cid/src/python$ /home/travis/build/iblancasa/cid/src/python/.tox/py/bin/python -m pip install scikit-build pytest cmake==3.7.2
Collecting scikit-build
  Using cached https://files.pythonhosted.org/packages/8a/b5/c6ca60421991c22e69b9a950b0d046e06d714f79f7071946ab885c7115fb/scikit_build-0.10.0-py2.py3-none-any.whl
Collecting pytest
  Downloading https://files.pythonhosted.org/packages/e6/94/29b5a09edc970a2f24742e6186dfe497cd6c778e60e54693215a36852613/pytest-5.3.3-py3-none-any.whl (235kB)
Collecting cmake==3.7.2
  Downloading https://files.pythonhosted.org/packages/6d/9d/2feb9965ac5dea80ee0343c24dd5bcbb53c21bf797e6cdd168ee61469747/cmake-3.7.2.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /home/travis/build/iblancasa/cid/src/python/.tox/py/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r_6ils_9/cmake/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r_6ils_9/cmake/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: /tmp/pip-install-r_6ils_9/cmake/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-r_6ils_9/cmake/setup.py", line 7, in <module>
        from skbuild import setup
    ModuleNotFoundError: No module named 'skbuild'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: invocation failed (exit code 1)
ERROR: could not install deps [scikit-build, pytest, cmake==3.7.2]; v = InvocationError('/home/travis/build/iblancasa/cid/src/python/.tox/py/bin/python -m pip install scikit-build pytest cmake==3.7.2', 1)
py finish: getenv /home/travis/build/iblancasa/cid/src/python/.tox/py after 4.44 seconds

Important: this just happens in Travis. It works properly on local.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.