Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Bump pytest from 5.3.5 to 5.4.0 #1362

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pytest from 5.3.5 to 5.4.0.

Release notes

Sourced from pytest's releases.

pytest 5.4.0 (2020-03-12)

Breaking Changes

  • #6316: Matching of -k EXPRESSION to test names is now case-insensitive.

  • #6443: Plugins specified with -p are now loaded after internal plugins, which results in their hooks being called before the internal ones.

    This makes the -p behavior consistent with PYTEST_PLUGINS.

  • #6637: Removed the long-deprecated pytest_itemstart hook.

    This hook has been marked as deprecated and not been even called by pytest for over 10 years now.

  • #6673: Reversed / fix meaning of "+/-" in error diffs. "-" means that sth. expected is missing in the result and "+" means that there are unexpected extras in the result.

  • #6737: The cached_result attribute of FixtureDef is now set to None when the result is unavailable, instead of being deleted.

    If your plugin performs checks like hasattr(fixturedef, 'cached_result'), for example in a pytest_fixture_post_finalizer hook implementation, replace it with fixturedef.cached_result is not None. If you del the attribute, set it to None instead.

Deprecations

  • #3238: Option --no-print-logs is deprecated and meant to be removed in a future release. If you use --no-print-logs, please try out --show-capture and provide feedback.

    --show-capture command-line option was added in pytest 3.5.0 and allows to specify how to display captured output when tests fail: no, stdout, stderr, log or all (the default).

  • #571: Deprecate the unused/broken [pytest_collect_directory]{.title-ref} hook. It was misaligned since the removal of the Directory collector in 2010 and incorrect/unusable as soon as collection was split from test execution.

  • #5975: Deprecate using direct constructors for Nodes.

    Instead they are new constructed via Node.from_parent.

    This transitional mechanism enables us to detangle the very intensely entangled Node relationships by enforcing more controlled creation/configruation patterns.

    As part of that session/config are already disallowed parameters and as we work on the details we might need disallow a few more as well.

    Subclasses are expected to use [super().from_parent]{.title-ref} if they intend to expand the creation of [Nodes]{.title-ref}.

  • #6779: The TerminalReporter.writer attribute has been deprecated and should no longer be used. This was inadvertently exposed as part of the public API of that plugin and ties it too much

... (truncated)
Changelog

Sourced from pytest's changelog.

Commits
  • c9fd1bd Preparing release version 5.4.0
  • 93aa988 Merge pull request #6901 from RonnyPfannschmidt/regendoc-fix-simple
  • 7996724 Merge pull request #6902 from RoyalTS/filterwarnings-docfix
  • 90ee8a7 docfix
  • 378a75d run and fix tox -e regen to prepare 5.4
  • e1b3a68 Merge pull request #6896 from nicoddemus/release-trigger
  • fb7dbc9 Merge pull request #6893 from RonnyPfannschmidt/url-fixes
  • a0ea300 Fix bot trigger event
  • 09b289e fix mozilla qa project link
  • 694dbe5 fix pydanny.com url to the one with ssl set up
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@TravisBuddy
Copy link

Travis tests have failed

Hey @dependabot-preview[bot],
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

tox
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting tox-travis
  Using cached https://files.pythonhosted.org/packages/b9/62/940f7fdb0d207a90ebf8389b59679ed4c3b4b36357054a30dda6274ee6d0/tox_travis-0.12-py2.py3-none-any.whl
Collecting codecov
  Using cached https://files.pythonhosted.org/packages/8c/4b/077705aa6fc85a46014b70d312ea0514d166af6e9349c03b9f646fc42cf5/codecov-2.0.16-py2.py3-none-any.whl
Collecting bumpversion
  Using cached https://files.pythonhosted.org/packages/ad/34/49c914829066558ebd405a56647d3ee26856282b8b8c4cd2c0c8de40ff8e/bumpversion-0.5.3-py2.py3-none-any.whl
Collecting pre_commit
  Using cached https://files.pythonhosted.org/packages/df/30/22425aa6680370ba06de107e82eb3fc6159f462619b941241e96dd6bd79b/pre_commit-1.21.0-py2.py3-none-any.whl
Collecting tox>=2.0 (from tox-travis)
  Using cached https://files.pythonhosted.org/packages/3a/21/aa738f33db84be2caf89fae9d868320f7fc004329dd681cec4056d08cf75/tox-3.14.5-py2.py3-none-any.whl
Collecting requests>=2.7.9 (from codecov)
  Using cached https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
Collecting coverage (from codecov)
  Using cached https://files.pythonhosted.org/packages/59/f6/e7d4ee535cc4ea5b60fd029d95a5d213cd3bf63f498b0339e530ab17b558/coverage-5.0.3-cp27-cp27mu-manylinux1_x86_64.whl
Collecting aspy.yaml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/99/ce/78be097b00817ccf02deaf481eb7a603eecee6fa216e82fa7848cd265449/aspy.yaml-1.3.0-py2.py3-none-any.whl
Requirement already satisfied: six in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from pre_commit) (1.11.0)
Collecting importlib-resources; python_version < "3.7" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/42/e8/5f65011c40a9281418179e297cb95e5a9a2c72c0d5ab99ee081acc8483ef/importlib_resources-1.3.1-py2.py3-none-any.whl
Collecting cfgv>=2.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/6e/ff/2e6bcaff26058200717c469a0910da96c89bb00e9cc31b68aa0bfc9b1b0d/cfgv-2.0.1-py2.py3-none-any.whl
Collecting toml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl
Collecting futures; python_version < "3.2" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
Requirement already satisfied: virtualenv>=15.2 in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from pre_commit) (16.1.0)
Collecting pyyaml (from pre_commit)
Collecting identify>=1.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/73/08/ebd9cd04a6741b2cdf9a634170070d16085a38c2041e11a9b634c1cef623/identify-1.4.11-py2.py3-none-any.whl
Collecting nodeenv>=0.11.1 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/08/43/86ff33286c83f7b5e8903c32db01fe122c5e8a9d8dc1067dcaa9be54a033/nodeenv-1.3.5-py2.py3-none-any.whl
Collecting filelock<4,>=3.0.0 (from tox>=2.0->tox-travis)
Collecting packaging>=14 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/62/0a/34641d2bf5c917c96db0ded85ae4da25b6cd922d6b794648d4e7e07c88e5/packaging-20.3-py2.py3-none-any.whl
Requirement already satisfied: py<2,>=1.4.17 in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from tox>=2.0->tox-travis) (1.7.0)
Collecting pluggy<1,>=0.12.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from requests>=2.7.9->codecov) (2018.10.15)
Collecting contextlib2; python_version < "3" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/85/60/370352f7ef6aa96c52fb001831622f50f923c1d575427d021b8ab3311236/contextlib2-0.6.0.post1-py2.py3-none-any.whl
Collecting singledispatch; python_version < "3.4" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting zipp>=0.4; python_version < "3.8" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/96/0a/67556e9b7782df7118c1f49bdc494da5e5e429c93aa77965f33e81287c8c/zipp-1.2.0-py2.py3-none-any.whl
Requirement already satisfied: typing; python_version < "3.5" in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from importlib-resources; python_version < "3.7"->pre_commit) (3.6.6)
Requirement already satisfied: pathlib2; python_version < "3" in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from importlib-resources; python_version < "3.7"->pre_commit) (2.3.2)
Collecting configparser>=3.5; python_version < "3" (from importlib-metadata; python_version < "3.8"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/7a/2a/95ed0501cf5d8709490b1d3a3f9b5cf340da6c433f896bbe9ce08dbe6785/configparser-4.0.2-py2.py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging>=14->tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl
Requirement already satisfied: scandir; python_version < "3.5" in /home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages (from pathlib2; python_version < "3"->importlib-resources; python_version < "3.7"->pre_commit) (1.9.0)
tox 3.14.5 has requirement six<2,>=1.14.0, but you'll have six 1.11.0 which is incompatible.
Installing collected packages: filelock, pyparsing, packaging, configparser, contextlib2, zipp, importlib-metadata, pluggy, toml, tox, tox-travis, urllib3, idna, chardet, requests, coverage, codecov, bumpversion, pyyaml, aspy.yaml, singledispatch, importlib-resources, cfgv, futures, identify, nodeenv, pre-commit
  Found existing installation: pluggy 0.8.0
    Uninstalling pluggy-0.8.0:
      Successfully uninstalled pluggy-0.8.0
Successfully installed aspy.yaml-1.3.0 bumpversion-0.5.3 cfgv-2.0.1 chardet-3.0.4 codecov-2.0.16 configparser-4.0.2 contextlib2-0.6.0.post1 coverage-5.0.3 filelock-3.0.12 futures-3.3.0 identify-1.4.11 idna-2.9 importlib-metadata-1.5.0 importlib-resources-1.3.1 nodeenv-1.3.5 packaging-20.3 pluggy-0.13.1 pre-commit-1.21.0 pyparsing-2.4.6 pyyaml-5.3 requests-2.23.0 singledispatch-3.4.0.3 toml-0.10.0 tox-3.14.5 tox-travis-0.12 urllib3-1.25.8 zipp-1.2.0
travis_time:end:135a58a0:start=1584085216445531630,finish=1584085219795819768,duration=3350288138,event=install
travis_fold:end:install
travis_time:start:0329d70a
$ tox
GLOB sdist-make: /home/travis/build/instagrambot/instabot/setup.py
py27 create: /home/travis/build/instagrambot/instabot/.tox/py27
py27 installdeps: pytest, pytest-mock, coverage_pth
py27 inst: /home/travis/build/instagrambot/instabot/.tox/.tmp/package/1/instabot-0.113.0.zip
py27 installed: atomicwrites==1.3.0,attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,configparser==4.0.2,contextlib2==0.6.0.post1,cookies==2.2.1,coverage==5.0.3,coverage-pth==0.0.2,decorator==4.4.2,enum34==1.1.10,funcsigs==1.0.2,future==0.18.2,futures==3.3.0,huepy==1.2.1,idna==2.9,imageio==2.4.1,importlib-metadata==1.5.0,instabot==0.113.0,mock==3.0.5,more-itertools==5.0.0,moviepy==1.0.1,numpy==1.16.6,packaging==20.3,pathlib2==2.3.5,Pillow==6.2.2,pluggy==0.13.1,proglog==0.1.9,py==1.8.1,pycryptodome==3.9.7,pyparsing==2.4.6,PySocks==1.7.1,pytest==4.6.9,pytest-mock==2.0.0,pytz==2019.3,requests==2.23.0,requests-toolbelt==0.9.1,responses==0.10.12,scandir==1.10.0,schedule==0.6.0,six==1.14.0,tqdm==4.43.0,urllib3==1.25.8,wcwidth==0.1.8,zipp==1.2.0
py27 run-test-pre: PYTHONHASHSEED='4029548493'
py27 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux2 -- Python 2.7.15, pytest-4.6.9, py-1.8.1, pluggy-0.13.1
cachedir: .tox/py27/.pytest_cache
rootdir: /home/travis/build/instagrambot/instabot
plugins: mock-2.0.0
collected 0 items / 8 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_bot.py ______________________
.tox/py27/lib/python2.7/site-packages/_pytest/python.py:507: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py27/lib/python2.7/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
.tox/py27/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:304: in load_module
    exec(co, mod.__dict__)
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_comment.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_comment.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_comment.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
__________________ ERROR collecting tests/test_bot_filter.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_filter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_filter.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
__________________ ERROR collecting tests/test_bot_follow.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_follow.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_follow.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
____________________ ERROR collecting tests/test_bot_get.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_get.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_get.py:6: in <module>
    from instabot import utils
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
___________________ ERROR collecting tests/test_bot_like.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_like.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_like.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
__________________ ERROR collecting tests/test_bot_support.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_support.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_support.py:9: in <module>
    from .test_bot import TestBot
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
__________________ ERROR collecting tests/test_bot_unlike.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_unlike.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_unlike.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name utils
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 8 error in 0.84 seconds ============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/py27/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
travis_time:end:0329d70a:start=1584085219801123911,finish=1584085236212649725,duration=16411525814,event=script
$PRE_COMMIT_CMD
travis_time:end:152e981c:start=1584085236232643292,finish=1584085236248163852,duration=15520560,event=script

2nd Build

View build log

tox
Collecting tox-travis
  Using cached https://files.pythonhosted.org/packages/b9/62/940f7fdb0d207a90ebf8389b59679ed4c3b4b36357054a30dda6274ee6d0/tox_travis-0.12-py2.py3-none-any.whl
Collecting codecov
  Using cached https://files.pythonhosted.org/packages/8c/4b/077705aa6fc85a46014b70d312ea0514d166af6e9349c03b9f646fc42cf5/codecov-2.0.16-py2.py3-none-any.whl
Collecting bumpversion
  Using cached https://files.pythonhosted.org/packages/ad/34/49c914829066558ebd405a56647d3ee26856282b8b8c4cd2c0c8de40ff8e/bumpversion-0.5.3-py2.py3-none-any.whl
Collecting pre_commit
  Using cached https://files.pythonhosted.org/packages/df/30/22425aa6680370ba06de107e82eb3fc6159f462619b941241e96dd6bd79b/pre_commit-1.21.0-py2.py3-none-any.whl
Collecting tox>=2.0 (from tox-travis)
  Using cached https://files.pythonhosted.org/packages/3a/21/aa738f33db84be2caf89fae9d868320f7fc004329dd681cec4056d08cf75/tox-3.14.5-py2.py3-none-any.whl
Collecting coverage (from codecov)
  Using cached https://files.pythonhosted.org/packages/20/7f/401241adc70457feb8064bc6b263ff32843c1b8fc213ccd8a58e802e6c1e/coverage-5.0.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting requests>=2.7.9 (from codecov)
  Using cached https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
Collecting identify>=1.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/73/08/ebd9cd04a6741b2cdf9a634170070d16085a38c2041e11a9b634c1cef623/identify-1.4.11-py2.py3-none-any.whl
Collecting toml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting nodeenv>=0.11.1 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/08/43/86ff33286c83f7b5e8903c32db01fe122c5e8a9d8dc1067dcaa9be54a033/nodeenv-1.3.5-py2.py3-none-any.whl
Requirement already satisfied: six in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from pre_commit) (1.12.0)
Collecting importlib-metadata; python_version < "3.8" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl
Requirement already satisfied: virtualenv>=15.2 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from pre_commit) (16.2.0)
Collecting cfgv>=2.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/6e/ff/2e6bcaff26058200717c469a0910da96c89bb00e9cc31b68aa0bfc9b1b0d/cfgv-2.0.1-py2.py3-none-any.whl
Collecting importlib-resources; python_version < "3.7" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/42/e8/5f65011c40a9281418179e297cb95e5a9a2c72c0d5ab99ee081acc8483ef/importlib_resources-1.3.1-py2.py3-none-any.whl
Collecting aspy.yaml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/99/ce/78be097b00817ccf02deaf481eb7a603eecee6fa216e82fa7848cd265449/aspy.yaml-1.3.0-py2.py3-none-any.whl
Collecting pyyaml (from pre_commit)
Collecting packaging>=14 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/62/0a/34641d2bf5c917c96db0ded85ae4da25b6cd922d6b794648d4e7e07c88e5/packaging-20.3-py2.py3-none-any.whl
Collecting filelock<4,>=3.0.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Requirement already satisfied: py<2,>=1.4.17 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from tox>=2.0->tox-travis) (1.7.0)
Collecting pluggy<1,>=0.12.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from requests>=2.7.9->codecov) (2018.11.29)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/96/0a/67556e9b7782df7118c1f49bdc494da5e5e429c93aa77965f33e81287c8c/zipp-1.2.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.0.0 in /home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages (from virtualenv>=15.2->pre_commit) (40.6.3)
Collecting pyparsing>=2.0.2 (from packaging>=14->tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl
tox 3.14.5 has requirement six<2,>=1.14.0, but you'll have six 1.12.0 which is incompatible.
Installing collected packages: zipp, importlib-metadata, pyparsing, packaging, filelock, toml, pluggy, tox, tox-travis, coverage, chardet, urllib3, idna, requests, codecov, bumpversion, identify, nodeenv, cfgv, importlib-resources, pyyaml, aspy.yaml, pre-commit
  Found existing installation: pluggy 0.8.0
    Uninstalling pluggy-0.8.0:
      Successfully uninstalled pluggy-0.8.0
Successfully installed aspy.yaml-1.3.0 bumpversion-0.5.3 cfgv-2.0.1 chardet-3.0.4 codecov-2.0.16 coverage-5.0.3 filelock-3.0.12 identify-1.4.11 idna-2.9 importlib-metadata-1.5.0 importlib-resources-1.3.1 nodeenv-1.3.5 packaging-20.3 pluggy-0.13.1 pre-commit-1.21.0 pyparsing-2.4.6 pyyaml-5.3 requests-2.23.0 toml-0.10.0 tox-3.14.5 tox-travis-0.12 urllib3-1.25.8 zipp-1.2.0
travis_time:end:2d6f2f28:start=1584085220554819000,finish=1584085223588208924,duration=3033389924,event=install
travis_fold:end:install
travis_time:start:08b414cc
$ tox
GLOB sdist-make: /home/travis/build/instagrambot/instabot/setup.py
py35 create: /home/travis/build/instagrambot/instabot/.tox/py35
py35 installdeps: pytest, pytest-mock, coverage_pth
py35 inst: /home/travis/build/instagrambot/instabot/.tox/.tmp/package/1/instabot-0.113.0.zip
py35 installed: attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,coverage==5.0.3,coverage-pth==0.0.2,decorator==4.4.2,future==0.18.2,huepy==1.2.1,idna==2.9,imageio==2.8.0,imageio-ffmpeg==0.4.1,importlib-metadata==1.5.0,instabot==0.113.0,mock==3.0.5,more-itertools==8.2.0,moviepy==1.0.1,numpy==1.18.1,packaging==20.3,pathlib2==2.3.5,Pillow==7.0.0,pluggy==0.13.1,proglog==0.1.9,py==1.8.1,pycryptodome==3.9.7,pyparsing==2.4.6,PySocks==1.7.1,pytest==5.4.0,pytest-mock==2.0.0,pytz==2019.3,requests==2.23.0,requests-toolbelt==0.9.1,responses==0.10.12,schedule==0.6.0,six==1.14.0,tqdm==4.43.0,urllib3==1.25.8,wcwidth==0.1.8,zipp==1.2.0
py35 run-test-pre: PYTHONHASHSEED='4134539995'
py35 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.5.6, pytest-5.4.0, py-1.8.1, pluggy-0.13.1
cachedir: .tox/py35/.pytest_cache
rootdir: /home/travis/build/instagrambot/instabot
plugins: mock-2.0.0
collected 0 items / 8 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_bot.py ______________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_comment.py __________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_comment.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_filter.py ___________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_filter.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_follow.py ___________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_follow.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
____________________ ERROR collecting tests/test_bot_get.py ____________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_get.py:6: in <module>
    from instabot import utils
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
___________________ ERROR collecting tests/test_bot_like.py ____________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_like.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_support.py __________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_support.py:9: in <module>
    from .test_bot import TestBot
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_unlike.py ___________________
.tox/py35/lib/python3.5/site-packages/_pytest/python.py:513: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/py35/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:673: in _load_unlocked
    ???
.tox/py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:152: in exec_module
    exec(co, module.__dict__)
tests/test_bot_unlike.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E                                                                         ^
E   SyntaxError: invalid syntax
=========================== short test summary info ============================
ERROR tests/test_bot.py
ERROR tests/test_bot_comment.py
ERROR tests/test_bot_filter.py
ERROR tests/test_bot_follow.py
ERROR tests/test_bot_get.py
ERROR tests/test_bot_like.py
ERROR tests/test_bot_support.py
ERROR tests/test_bot_unlike.py
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 8 errors in 1.06s ===============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/py35/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py35: commands failed
travis_time:end:08b414cc:start=1584085223593869442,finish=1584085236725611922,duration=13131742480,event=script
$PRE_COMMIT_CMD
travis_time:end:01be16e8:start=1584085236745570460,finish=1584085236767492033,duration=21921573,event=script

5th Build

View build log

tox
DEPRECATION: A future version of pip will drop support for Python 2.7.
Collecting tox-travis
  Using cached https://files.pythonhosted.org/packages/b9/62/940f7fdb0d207a90ebf8389b59679ed4c3b4b36357054a30dda6274ee6d0/tox_travis-0.12-py2.py3-none-any.whl
Collecting codecov
  Using cached https://files.pythonhosted.org/packages/8c/4b/077705aa6fc85a46014b70d312ea0514d166af6e9349c03b9f646fc42cf5/codecov-2.0.16-py2.py3-none-any.whl
Collecting bumpversion
  Using cached https://files.pythonhosted.org/packages/ad/34/49c914829066558ebd405a56647d3ee26856282b8b8c4cd2c0c8de40ff8e/bumpversion-0.5.3-py2.py3-none-any.whl
Collecting pre_commit
  Using cached https://files.pythonhosted.org/packages/df/30/22425aa6680370ba06de107e82eb3fc6159f462619b941241e96dd6bd79b/pre_commit-1.21.0-py2.py3-none-any.whl
Collecting tox>=2.0 (from tox-travis)
  Using cached https://files.pythonhosted.org/packages/3a/21/aa738f33db84be2caf89fae9d868320f7fc004329dd681cec4056d08cf75/tox-3.14.5-py2.py3-none-any.whl
Collecting requests>=2.7.9 (from codecov)
  Using cached https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
Collecting coverage (from codecov)
Collecting aspy.yaml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/99/ce/78be097b00817ccf02deaf481eb7a603eecee6fa216e82fa7848cd265449/aspy.yaml-1.3.0-py2.py3-none-any.whl
Collecting cfgv>=2.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/6e/ff/2e6bcaff26058200717c469a0910da96c89bb00e9cc31b68aa0bfc9b1b0d/cfgv-2.0.1-py2.py3-none-any.whl
Collecting identify>=1.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/73/08/ebd9cd04a6741b2cdf9a634170070d16085a38c2041e11a9b634c1cef623/identify-1.4.11-py2.py3-none-any.whl
Collecting nodeenv>=0.11.1 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/08/43/86ff33286c83f7b5e8903c32db01fe122c5e8a9d8dc1067dcaa9be54a033/nodeenv-1.3.5-py2.py3-none-any.whl
Collecting pyyaml (from pre_commit)
Requirement already satisfied: six in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from pre_commit) (1.12.0)
Collecting toml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Requirement already satisfied: virtualenv>=15.2 in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from pre_commit) (16.4.3)
Collecting futures; python_version < "3.2" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/d8/a6/f46ae3f1da0cd4361c344888f59ec2f5785e69c872e175a748ef6071cdb5/futures-3.3.0-py2-none-any.whl
Collecting importlib-resources; python_version < "3.7" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/42/e8/5f65011c40a9281418179e297cb95e5a9a2c72c0d5ab99ee081acc8483ef/importlib_resources-1.3.1-py2.py3-none-any.whl
Collecting importlib-metadata; python_version < "3.8" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl
Collecting packaging>=14 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/62/0a/34641d2bf5c917c96db0ded85ae4da25b6cd922d6b794648d4e7e07c88e5/packaging-20.3-py2.py3-none-any.whl
Collecting pluggy<1,>=0.12.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Requirement already satisfied: py<2,>=1.4.17 in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from tox>=2.0->tox-travis) (1.8.0)
Collecting filelock<4,>=3.0.0 (from tox>=2.0->tox-travis)
Collecting chardet<4,>=3.0.2 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from requests>=2.7.9->codecov) (2019.3.9)
Requirement already satisfied: pathlib2; python_version < "3" in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from importlib-resources; python_version < "3.7"->pre_commit) (2.3.3)
Collecting contextlib2; python_version < "3" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/85/60/370352f7ef6aa96c52fb001831622f50f923c1d575427d021b8ab3311236/contextlib2-0.6.0.post1-py2.py3-none-any.whl
Collecting singledispatch; python_version < "3.4" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Requirement already satisfied: typing; python_version < "3.5" in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from importlib-resources; python_version < "3.7"->pre_commit) (3.6.6)
Collecting zipp>=0.4; python_version < "3.8" (from importlib-resources; python_version < "3.7"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/96/0a/67556e9b7782df7118c1f49bdc494da5e5e429c93aa77965f33e81287c8c/zipp-1.2.0-py2.py3-none-any.whl
Collecting configparser>=3.5; python_version < "3" (from importlib-metadata; python_version < "3.8"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/7a/2a/95ed0501cf5d8709490b1d3a3f9b5cf340da6c433f896bbe9ce08dbe6785/configparser-4.0.2-py2.py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging>=14->tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl
Requirement already satisfied: scandir; python_version < "3.5" in /home/travis/virtualenv/pypy2.7-7.1.1/site-packages (from pathlib2; python_version < "3"->importlib-resources; python_version < "3.7"->pre_commit) (1.10.0)
tox 3.14.5 has requirement six<2,>=1.14.0, but you'll have six 1.12.0 which is incompatible.
Installing collected packages: pyparsing, packaging, contextlib2, zipp, configparser, importlib-metadata, pluggy, toml, filelock, tox, tox-travis, chardet, idna, urllib3, requests, coverage, codecov, bumpversion, pyyaml, aspy.yaml, cfgv, identify, nodeenv, futures, singledispatch, importlib-resources, pre-commit
  Found existing installation: pluggy 0.9.0
    Uninstalling pluggy-0.9.0:
      Successfully uninstalled pluggy-0.9.0
Successfully installed aspy.yaml-1.3.0 bumpversion-0.5.3 cfgv-2.0.1 chardet-3.0.4 codecov-2.0.16 configparser-4.0.2 contextlib2-0.6.0.post1 coverage-5.0.3 filelock-3.0.12 futures-3.3.0 identify-1.4.11 idna-2.9 importlib-metadata-1.5.0 importlib-resources-1.3.1 nodeenv-1.3.5 packaging-20.3 pluggy-0.13.1 pre-commit-1.21.0 pyparsing-2.4.6 pyyaml-5.3 requests-2.23.0 singledispatch-3.4.0.3 toml-0.10.0 tox-3.14.5 tox-travis-0.12 urllib3-1.25.8 zipp-1.2.0
$ tox
GLOB sdist-make: /home/travis/build/instagrambot/instabot/setup.py
pypy create: /home/travis/build/instagrambot/instabot/.tox/pypy
pypy installdeps: pytest, pytest-mock
pypy inst: /home/travis/build/instagrambot/instabot/.tox/.tmp/package/1/instabot-0.113.0.zip
pypy installed: DEPRECATION: A future version of pip will drop support for Python 2.7.,atomicwrites==1.3.0,attrs==19.3.0,certifi==2019.11.28,cffi==1.12.3,chardet==3.0.4,configparser==4.0.2,contextlib2==0.6.0.post1,cookies==2.2.1,decorator==4.4.2,enum34==1.1.10,funcsigs==1.0.2,future==0.18.2,futures==3.3.0,greenlet==0.4.13,huepy==1.2.1,idna==2.9,imageio==2.4.1,importlib-metadata==1.5.0,instabot==0.113.0,mock==3.0.5,more-itertools==5.0.0,moviepy==1.0.1,numpy==1.16.6,packaging==20.3,pathlib2==2.3.5,Pillow==6.2.2,pluggy==0.13.1,proglog==0.1.9,py==1.8.1,pycryptodome==3.9.7,pyparsing==2.4.6,PySocks==1.7.1,pytest==4.6.9,pytest-mock==2.0.0,pytz==2019.3,readline==6.2.4.1,requests==2.23.0,requests-toolbelt==0.9.1,responses==0.10.12,scandir==1.10.0,schedule==0.6.0,six==1.14.0,tqdm==4.43.0,urllib3==1.25.8,wcwidth==0.1.8,zipp==1.2.0
pypy run-test-pre: PYTHONHASHSEED='2351345777'
pypy run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux2 -- Python 2.7.13[pypy-7.1.1-final], pytest-4.6.9, py-1.8.1, pluggy-0.13.1
cachedir: .tox/pypy/.pytest_cache
rootdir: /home/travis/build/instagrambot/instabot
plugins: mock-2.0.0
collected 0 items / 8 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_bot.py ______________________
.tox/pypy/site-packages/_pytest/python.py:507: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/pypy/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
.tox/pypy/site-packages/_pytest/assertion/rewrite.py:304: in load_module
    exec(co, mod.__dict__)
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
E     File "/home/travis/build/instagrambot/instabot/instabot/api/api.py", line 236
E       return f"#PWD_INSTAGRAM:4:{time}:{base64_encoded_payload.decode()}"
E               ^
E   SyntaxError: invalid syntax
__________________ ERROR collecting tests/test_bot_comment.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_comment.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_comment.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
__________________ ERROR collecting tests/test_bot_filter.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_filter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_filter.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
__________________ ERROR collecting tests/test_bot_follow.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_follow.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_follow.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
____________________ ERROR collecting tests/test_bot_get.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_get.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_get.py:6: in <module>
    from instabot import utils
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
___________________ ERROR collecting tests/test_bot_like.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_like.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_like.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
__________________ ERROR collecting tests/test_bot_support.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_support.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_support.py:9: in <module>
    from .test_bot import TestBot
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
__________________ ERROR collecting tests/test_bot_unlike.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_unlike.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_unlike.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:1: in <module>
    from . import utils
E   ImportError: cannot import name 'utils'
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 8 error in 1.24 seconds ============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/pypy/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   pypy: commands failed
$PRE_COMMIT_CMD
The command "$PRE_COMMIT_CMD" exited with 0.
store build cache
changes detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/pip/http/0/0/1/6/d/0016de31c26ded33d8e56ac3e087423067f61cd2b48883ec4a6c64e7
/home/travis/.cache/pip/http/0/1/a/b/3/01ab38ac63d82e82f212dd86d62de883eb0d7de6be8db88f70d14a62
/home/travis/.cache/pip/http/0/6/f/1/e/06f1ef0a7b7e31e90ac863c89f28b0d9efa84f8d7f3b92d1a20afde7
/home/travis/.cache/pip/http/0/b/1/a/2/0b1a295ddb2933f2945084b7d5c87edffc1a6474e567036176acaefd
/home/travis/.cache/pip/http/0/c/2/1/8/0c218d526767991766d9b365a4f3e4449ce3579fd8b0f96a707d5a52
/home/travis/.cache/pip/http/1/4/e/d/e/14ede581a6ca683ee2cab21d17000fefbeedcba1444c015468f2dfd1
/home/travis/.cache/pip/http/1/7/4/8/4/1748400537322d4b75b7b08349ebd15901d53c86035bdeebb09ebcd0
/home/travis/.cache/pip/http/2/7/6/a/f/276afb3562e1c876e38049575efab426f303a0e9e173678a91a4a53b
/home/travis/.cache/pip/http/2/d/b/3/c/2db3ca0aac189d864edaa74ee6b1ae0ba1b31b6368bee6fd352c97fb
/home/travis/.cache/pip/http/2/d/c/1/a/2dc1a454abdf8e974808c7a069c7e3eabb865ef213a583b64124e598
/home/travis/.cache/pip/http/2/e/5/b/6/2\n...
changes detected, packing new archive
uploading PR.1362/cache--linux-xenial-c0f72563eb5daa7b22f56108c00cdab8174f9d6e5232146b6a2871774a93e17f--python-pypy.tgz
cache uploaded


Done. Your build exited with 1.

7th Build

View build log

tox
Collecting tox-travis
  Using cached https://files.pythonhosted.org/packages/b9/62/940f7fdb0d207a90ebf8389b59679ed4c3b4b36357054a30dda6274ee6d0/tox_travis-0.12-py2.py3-none-any.whl
Collecting codecov
  Using cached https://files.pythonhosted.org/packages/8c/4b/077705aa6fc85a46014b70d312ea0514d166af6e9349c03b9f646fc42cf5/codecov-2.0.16-py2.py3-none-any.whl
Collecting bumpversion
  Using cached https://files.pythonhosted.org/packages/ad/34/49c914829066558ebd405a56647d3ee26856282b8b8c4cd2c0c8de40ff8e/bumpversion-0.5.3-py2.py3-none-any.whl
Collecting pre_commit
  Downloading https://files.pythonhosted.org/packages/2a/8e/eb48c7a21ddebd7883833b9826d1d19c9843ec074830671b9ccd45f31b0d/pre_commit-2.2.0-py2.py3-none-any.whl (170kB)
Collecting tox>=2.0 (from tox-travis)
  Using cached https://files.pythonhosted.org/packages/3a/21/aa738f33db84be2caf89fae9d868320f7fc004329dd681cec4056d08cf75/tox-3.14.5-py2.py3-none-any.whl
Collecting requests>=2.7.9 (from codecov)
  Using cached https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl
Collecting coverage (from codecov)
  Using cached https://files.pythonhosted.org/packages/9a/08/7fa92679a903cac0e01a7fee2cadd92089d96a3002c34e8f2295b80d6b68/coverage-5.0.3-cp37-cp37m-manylinux1_x86_64.whl
Collecting importlib-metadata; python_version < "3.8" (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl
Collecting pyyaml>=5.1 (from pre_commit)
Requirement already satisfied: virtualenv>=15.2 in /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages (from pre_commit) (16.1.0)
Collecting cfgv>=2.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/6d/82/49913e721128ff16d6b7cf304f513de7bba698583b045dfb9c4b3bb2f467/cfgv-3.1.0-py2.py3-none-any.whl
Collecting toml (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting nodeenv>=0.11.1 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/08/43/86ff33286c83f7b5e8903c32db01fe122c5e8a9d8dc1067dcaa9be54a033/nodeenv-1.3.5-py2.py3-none-any.whl
Collecting identify>=1.0.0 (from pre_commit)
  Using cached https://files.pythonhosted.org/packages/73/08/ebd9cd04a6741b2cdf9a634170070d16085a38c2041e11a9b634c1cef623/identify-1.4.11-py2.py3-none-any.whl
Collecting packaging>=14 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/62/0a/34641d2bf5c917c96db0ded85ae4da25b6cd922d6b794648d4e7e07c88e5/packaging-20.3-py2.py3-none-any.whl
Collecting six<2,>=1.14.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting pluggy<1,>=0.12.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl
Requirement already satisfied: py<2,>=1.4.17 in /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages (from tox>=2.0->tox-travis) (1.7.0)
Collecting filelock<4,>=3.0.0 (from tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl
Collecting idna<3,>=2.5 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages (from requests>=2.7.9->codecov) (2018.11.29)
Collecting chardet<4,>=3.0.2 (from requests>=2.7.9->codecov)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->pre_commit)
  Using cached https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
Collecting pyparsing>=2.0.2 (from packaging>=14->tox>=2.0->tox-travis)
  Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl
Installing collected packages: toml, six, pyparsing, packaging, zipp, importlib-metadata, pluggy, filelock, tox, tox-travis, idna, urllib3, chardet, requests, coverage, codecov, bumpversion, pyyaml, cfgv, nodeenv, identify, pre-commit
  Found existing installation: six 1.11.0
    Uninstalling six-1.11.0:
      Successfully uninstalled six-1.11.0
  Found existing installation: pluggy 0.8.0
    Uninstalling pluggy-0.8.0:
      Successfully uninstalled pluggy-0.8.0
Successfully installed bumpversion-0.5.3 cfgv-3.1.0 chardet-3.0.4 codecov-2.0.16 coverage-5.0.3 filelock-3.0.12 identify-1.4.11 idna-2.9 importlib-metadata-1.5.0 nodeenv-1.3.5 packaging-20.3 pluggy-0.13.1 pre-commit-2.2.0 pyparsing-2.4.6 pyyaml-5.3 requests-2.23.0 six-1.14.0 toml-0.10.0 tox-3.14.5 tox-travis-0.12 urllib3-1.25.8 zipp-3.1.0
$ tox
GLOB sdist-make: /home/travis/build/instagrambot/instabot/setup.py
py37 create: /home/travis/build/instagrambot/instabot/.tox/py37
py37 installdeps: pytest, pytest-mock, coverage_pth
py37 inst: /home/travis/build/instagrambot/instabot/.tox/.tmp/package/1/instabot-0.113.0.zip
py37 installed: attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,coverage==5.0.3,coverage-pth==0.0.2,decorator==4.4.2,future==0.18.2,huepy==1.2.1,idna==2.9,imageio==2.8.0,imageio-ffmpeg==0.4.1,importlib-metadata==1.5.0,instabot==0.113.0,mock==4.0.2,more-itertools==8.2.0,moviepy==1.0.1,numpy==1.18.1,packaging==20.3,Pillow==7.0.0,pluggy==0.13.1,proglog==0.1.9,py==1.8.1,pycryptodome==3.9.7,pyparsing==2.4.6,PySocks==1.7.1,pytest==5.4.0,pytest-mock==2.0.0,pytz==2019.3,requests==2.23.0,requests-toolbelt==0.9.1,responses==0.10.12,schedule==0.6.0,six==1.14.0,tqdm==4.43.0,urllib3==1.25.8,wcwidth==0.1.8,zipp==3.1.0
py37 run-test-pre: PYTHONHASHSEED='2623744155'
py37 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-5.4.0, py-1.8.1, pluggy-0.13.1
cachedir: .tox/py37/.pytest_cache
rootdir: /home/travis/build/instagrambot/instabot
plugins: mock-2.0.0
collected 0 items / 8 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_bot.py ______________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_comment.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_comment.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_comment.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_filter.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_filter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_filter.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_follow.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_follow.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_follow.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
____________________ ERROR collecting tests/test_bot_get.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_get.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_get.py:6: in <module>
    from instabot import utils
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
___________________ ERROR collecting tests/test_bot_like.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_like.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_like.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_support.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_support.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_support.py:9: in <module>
    from .test_bot import TestBot
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_unlike.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_unlike.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_unlike.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
=========================== short test summary info ============================
ERROR tests/test_bot.py
ERROR tests/test_bot_comment.py
ERROR tests/test_bot_filter.py
ERROR tests/test_bot_follow.py
ERROR tests/test_bot_get.py
ERROR tests/test_bot_like.py
ERROR tests/test_bot_support.py
ERROR tests/test_bot_unlike.py
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 8 errors in 0.84s ===============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/py37/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py37: commands failed
$PRE_COMMIT_CMD
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/psf/black.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/asottile/pyupgrade.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/psf/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
Check docstring is first.................................................Passed
Check Yaml...............................................................Passed
Debug Statements (Python)................................................Passed
Check python ast.........................................................Passed
black....................................................................Passed
flake8...................................................................Passed
pyupgrade................................................................Passed

9th Build

View build log

tox
Collecting tox-travis
  Using cached tox_travis-0.12-py2.py3-none-any.whl (10 kB)
Collecting codecov
  Using cached codecov-2.0.16-py2.py3-none-any.whl (14 kB)
Collecting bumpversion
  Using cached bumpversion-0.5.3-py2.py3-none-any.whl (22 kB)
Collecting pre_commit
  Downloading pre_commit-2.2.0-py2.py3-none-any.whl (170 kB)
Collecting tox>=2.0
  Using cached tox-3.14.5-py2.py3-none-any.whl (81 kB)
Collecting requests>=2.7.9
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Processing /home/travis/.cache/pip/wheels/9c/36/af/2a078675cdaeca31b4e58bc588fa26f146c13983d973e9c867/coverage-5.0.3-cp39-cp39-linux_x86_64.whl
Collecting identify>=1.0.0
  Using cached identify-1.4.11-py2.py3-none-any.whl (97 kB)
Collecting toml
  Using cached toml-0.10.0-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: virtualenv>=15.2 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from pre_commit) (20.0.10)
Collecting nodeenv>=0.11.1
  Using cached nodeenv-1.3.5-py2.py3-none-any.whl (21 kB)
Processing /home/travis/.cache/pip/wheels/b8/91/58/7cbe3f1dd6ba39ab89041441e6e01fc8361fbddac40aaea52d/PyYAML-5.3-cp39-cp39-linux_x86_64.whl
Collecting cfgv>=2.0.0
  Using cached cfgv-3.1.0-py2.py3-none-any.whl (7.3 kB)
Requirement already satisfied: py<2,>=1.4.17 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from tox>=2.0->tox-travis) (1.8.1)
Requirement already satisfied: six<2,>=1.14.0 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from tox>=2.0->tox-travis) (1.14.0)
Requirement already satisfied: pluggy<1,>=0.12.0 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from tox>=2.0->tox-travis) (0.13.1)
Requirement already satisfied: packaging>=14 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from tox>=2.0->tox-travis) (20.3)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from tox>=2.0->tox-travis) (3.0.12)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Using cached urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
Collecting chardet<4,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from requests>=2.7.9->codecov) (2019.11.28)
Collecting idna<3,>=2.5
  Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Requirement already satisfied: appdirs<2,>=1.4.3 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from virtualenv>=15.2->pre_commit) (1.4.3)
Requirement already satisfied: distlib<1,>=0.3.0 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from virtualenv>=15.2->pre_commit) (0.3.0)
Requirement already satisfied: pyparsing>=2.0.2 in /home/travis/virtualenv/python3.9-dev/lib/python3.9/site-packages (from packaging>=14->tox>=2.0->tox-travis) (2.4.6)
Installing collected packages: toml, tox, tox-travis, urllib3, chardet, idna, requests, coverage, codecov, bumpversion, identify, nodeenv, pyyaml, cfgv, pre-commit
Successfully installed bumpversion-0.5.3 cfgv-3.1.0 chardet-3.0.4 codecov-2.0.16 coverage-5.0.3 identify-1.4.11 idna-2.9 nodeenv-1.3.5 pre-commit-2.2.0 pyyaml-5.3 requests-2.23.0 toml-0.10.0 tox-3.14.5 tox-travis-0.12 urllib3-1.25.8
$ tox
Matching undeclared envs is deprecated. Be sure all the envs that Tox should run are declared in the tox config.
GLOB sdist-make: /home/travis/build/instagrambot/instabot/setup.py
py39 create: /home/travis/build/instagrambot/instabot/.tox/py39
py39 installdeps: pytest, pytest-mock
py39 inst: /home/travis/build/instagrambot/instabot/.tox/.tmp/package/1/instabot-0.113.0.zip
py39 installed: attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,decorator==4.4.2,future==0.18.2,huepy==1.2.1,idna==2.9,imageio==2.8.0,imageio-ffmpeg==0.4.1,instabot==0.113.0,mock==4.0.2,more-itertools==8.2.0,moviepy==1.0.1,numpy==1.18.1,packaging==20.3,Pillow==7.0.0,pluggy==0.13.1,proglog==0.1.9,py==1.8.1,pycryptodome==3.9.7,pyparsing==2.4.6,PySocks==1.7.1,pytest==5.4.0,pytest-mock==2.0.0,pytz==2019.3,requests==2.23.0,requests-toolbelt==0.9.1,responses==0.10.12,schedule==0.6.0,six==1.14.0,tqdm==4.43.0,urllib3==1.25.8,wcwidth==0.1.8
py39 run-test-pre: PYTHONHASHSEED='2584723573'
py39 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.9.0a4+, pytest-5.4.0, py-1.8.1, pluggy-0.13.1
cachedir: .tox/py39/.pytest_cache
rootdir: /home/travis/build/instagrambot/instabot
plugins: mock-2.0.0
collected 0 items / 8 errors

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_bot.py ______________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_comment.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_comment.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_comment.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_filter.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_filter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_filter.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_follow.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_follow.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_follow.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
____________________ ERROR collecting tests/test_bot_get.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_get.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_get.py:6: in <module>
    from instabot import utils
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
___________________ ERROR collecting tests/test_bot_like.py ____________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_like.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_like.py:4: in <module>
    from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_support.py __________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_support.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_support.py:9: in <module>
    from .test_bot import TestBot
tests/test_bot.py:5: in <module>
    from instabot import Bot
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
__________________ ERROR collecting tests/test_bot_unlike.py ___________________
ImportError while importing test module '/home/travis/build/instagrambot/instabot/tests/test_bot_unlike.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_bot_unlike.py:4: in <module>
    from instabot.api.config import API_URL
instabot/__init__.py:2: in <module>
    from .bot import Bot
instabot/bot/__init__.py:1: in <module>
    from .bot import Bot
instabot/bot/bot.py:13: in <module>
    from ..api import API
instabot/api/__init__.py:1: in <module>
    from .api import API
instabot/api/api.py:21: in <module>
    import rsa
E   ModuleNotFoundError: No module named 'rsa'
=========================== short test summary info ============================
ERROR tests/test_bot.py
ERROR tests/test_bot_comment.py
ERROR tests/test_bot_filter.py
ERROR tests/test_bot_follow.py
ERROR tests/test_bot_get.py
ERROR tests/test_bot_like.py
ERROR tests/test_bot_support.py
ERROR tests/test_bot_unlike.py
!!!!!!!!!!!!!!!!!!! Interrupted: 8 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 8 errors in 0.80s ===============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/py39/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py39: commands failed
$PRE_COMMIT_CMD
The command "$PRE_COMMIT_CMD" exited with 0.
store build cache
changes detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/pip/http/0/1/a/b/3/01ab38ac63d82e82f212dd86d62de883eb0d7de6be8db88f70d14a62
/home/travis/.cache/pip/http/0/6/f/1/e/06f1ef0a7b7e31e90ac863c89f28b0d9efa84f8d7f3b92d1a20afde7
/home/travis/.cache/pip/http/0/b/1/a/2/0b1a295ddb2933f2945084b7d5c87edffc1a6474e567036176acaefd
/home/travis/.cache/pip/http/0/c/2/1/8/0c218d526767991766d9b365a4f3e4449ce3579fd8b0f96a707d5a52
/home/travis/.cache/pip/http/1/7/4/8/4/1748400537322d4b75b7b08349ebd15901d53c86035bdeebb09ebcd0
/home/travis/.cache/pip/http/2/d/b/3/c/2db3ca0aac189d864edaa74ee6b1ae0ba1b31b6368bee6fd352c97fb
/home/travis/.cache/pip/http/2/d/c/1/a/2dc1a454abdf8e974808c7a069c7e3eabb865ef213a583b64124e598
/home/travis/.cache/pip/http/3/3/9/7/4/33974f84394d9a943f68359da08431dab4af9f86c33962982ea21b5f
/home/travis/.cache/pip/http/3/5/9/6/8/3596862d816965b0c8fa5f06da895dbdc75cbc44a9f3e31272d52b2f
/home/travis/.cache/pip/http/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d
/home/travis/.cache/pip/http/4/4/e/5/b/4\n...
changes detected, packing new archive
uploading PR.1362/cache--linux-xenial-c0f72563eb5daa7b22f56108c00cdab8174f9d6e5232146b6a2871774a93e17f--python-nightly.tgz
cache uploaded


Done. Your build exited with 1.
TravisBuddy Request Identifier: 8199c2f0-64fe-11ea-8d92-6355e24183af

@dependabot-preview
Copy link
Contributor Author

Superseded by #1364.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/development/pytest-5.4.0 branch March 16, 2020 07:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant