ansible-collections / community.cassandra

Cassandra Ansible Collection
http://galaxy.ansible.com/community/cassandra
GNU General Public License v3.0
25 stars 19 forks source link

Add setuptool upgrade task #154

Closed rhysmeister closed 3 years ago

rhysmeister commented 3 years ago
SUMMARY

Add setuptool upgrade task. Attempt to fix CI issue...

TASK [cassandra_cqlsh : Install cassandra-driver] ** fatal: [testhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip2", "install", "cassandra-driver"], "msg": "stdout: Collecting cassandra-driver\n Downloading https://files.pythonhosted.org/packages/af/aa/3d3a6dae349d4f9b69d37e6f3f8b8ef286a06005aa312f0a3dc7af0eb556/cassandra-driver-3.25.0.tar.gz (289kB)\nRequirement already satisfied (use --upgrade to upgrade): six>=1.9 in /usr/lib/python2.7/site-packages (from cassandra-driver)\nCollecting geomet<0.3,>=0.1 (from cassandra-driver)\n Downloading https://files.pythonhosted.org/packages/cf/21/58251b3de99e0b5ba649ff511f7f9e8399c3059dd52a643774106e929afa/geomet-0.2.1.post1.tar.gz\nCollecting futures (from cassandra-driver)\n Downloading https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl\nCollecting click (from geomet<0.3,>=0.1->cassandra-driver)\n Downloading https://files.pythonhosted.org/packages/d5/99/286fd2fdfb501620a9341319ba47444040c7b3094d3b6c797d7281469bf8/click-8.0.0.tar.gz (326kB)\n Complete output from command python setup.py egg_info:\n error in click setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers\n \n ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-GfqgMA/click/\nYou are using pip version 8.1.2, however version 21.1.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}

As seen in https://github.com/ansible-collections/community.cassandra/runs/2572291762?check_suite_focus=true

ISSUE TYPE
COMPONENT NAME

setup_cassandra

codecov[bot] commented 3 years ago

Codecov Report

Merging #154 (ab89258) into master (e46b59a) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #154   +/-   ##
=======================================
  Coverage   78.27%   78.27%           
=======================================
  Files          25       25           
  Lines        1850     1850           
  Branches      431      431           
=======================================
  Hits         1448     1448           
  Misses        205      205           
  Partials      197      197           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e46b59a...ab89258. Read the comment docs.