#6909: Revert the change introduced by #6330, which required all arguments to @pytest.mark.parametrize to be explicitly defined in the function signature.
The intention of the original change was to remove what was expected to be an unintended/surprising behavior, but it turns out many people relied on it, so the restriction has been reverted.
#6910: Fix crash when plugins return an unknown stats while using the --reportlog option.
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.
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](https://app.dependabot.com):
- 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)
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.
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 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/20/7f/401241adc70457feb8064bc6b263ff32843c1b8fc213ccd8a58e802e6c1e/coverage-5.0.3-cp35-cp35m-manylinux1_x86_64.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 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 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 toml (from pre_commit)
Using cached https://files.pythonhosted.org/packages/a2/12/ced7105d2de62fa7c8fb5fce92cc4ce66b57c95fb875e9318dba7f8c5db0/toml-0.10.0-py2.py3-none-any.whl
Collecting pyyaml (from pre_commit)
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 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 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/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
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 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 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/python3.5.6/lib/python3.5/site-packages (from tox>=2.0->tox-travis) (1.7.0)
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/python3.5.6/lib/python3.5/site-packages (from requests>=2.7.9->codecov) (2018.11.29)
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: 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: toml, zipp, importlib-metadata, pluggy, filelock, pyparsing, packaging, tox, tox-travis, chardet, idna, urllib3, requests, coverage, codecov, bumpversion, cfgv, importlib-resources, nodeenv, pyyaml, identify, 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
$ 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.1,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='2150307607'
py35 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.5.6, pytest-5.4.1, 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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot import utils
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from .test_bot import TestBot
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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)
:968: in _find_and_load
???
:957: in _find_and_load_unlocked
???
: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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
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.10s ===============================
ERROR: InvocationError for command /home/travis/build/instagrambot/instabot/.tox/py35/bin/py.test (exited with code 2)
___________________________________ summary ____________________________________
ERROR: py35: 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/2/e/5/b/6/2e5b6ced06806dcc8a76919087cfc0d76c4240a8acb8d34511ad15d6
/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/3\n...
changes detected, packing new archive
uploading PR.1364/cache--linux-xenial-c0f72563eb5daa7b22f56108c00cdab8174f9d6e5232146b6a2871774a93e17f--python-3.5.tgz
cache uploaded
Done. Your build exited with 1.
```
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 coverage (from codecov)
Using cached https://files.pythonhosted.org/packages/9a/08/7fa92679a903cac0e01a7fee2cadd92089d96a3002c34e8f2295b80d6b68/coverage-5.0.3-cp37-cp37m-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 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 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 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 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 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
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 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: 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 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
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: zipp, importlib-metadata, pluggy, six, toml, filelock, pyparsing, packaging, tox, tox-travis, coverage, chardet, idna, urllib3, requests, codecov, bumpversion, nodeenv, pyyaml, cfgv, identify, pre-commit
Found existing installation: pluggy 0.8.0
Uninstalling pluggy-0.8.0:
Successfully uninstalled pluggy-0.8.0
Found existing installation: six 1.11.0
Uninstalling six-1.11.0:
Successfully uninstalled six-1.11.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.1,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='2976291231'
py37 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-5.4.1, 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
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot import utils
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from .test_bot import TestBot
tests/test_bot.py:5: in
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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.88s ===============================
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
```
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)
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 cfgv>=2.0.0
Using cached cfgv-3.1.0-py2.py3-none-any.whl (7.3 kB)
Processing /home/travis/.cache/pip/wheels/b8/91/58/7cbe3f1dd6ba39ab89041441e6e01fc8361fbddac40aaea52d/PyYAML-5.3-cp39-cp39-linux_x86_64.whl
Collecting toml
Using cached toml-0.10.0-py2.py3-none-any.whl (25 kB)
Collecting nodeenv>=0.11.1
Using cached nodeenv-1.3.5-py2.py3-none-any.whl (21 kB)
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: 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: 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: 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: 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)
Collecting idna<3,>=2.5
Using cached idna-2.9-py2.py3-none-any.whl (58 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)
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, cfgv, pyyaml, nodeenv, 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.1,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='3518195663'
py39 run-test: commands[0] | py.test
============================= test session starts ==============================
platform linux -- Python 3.9.0a4+, pytest-5.4.1, 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
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot import utils
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL, SIG_KEY_VERSION
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from .test_bot import TestBot
tests/test_bot.py:5: in
from instabot import Bot
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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
from instabot.api.config import API_URL
instabot/__init__.py:2: in
from .bot import Bot
instabot/bot/__init__.py:1: in
from .bot import Bot
instabot/bot/bot.py:13: in
from ..api import API
instabot/api/__init__.py:1: in
from .api import API
instabot/api/api.py:21: in
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.78s ===============================
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.1364/cache--linux-xenial-c0f72563eb5daa7b22f56108c00cdab8174f9d6e5232146b6a2871774a93e17f--python-nightly.tgz
cache uploaded
Done. Your build exited with 1.
```
Bumps pytest from 5.3.5 to 5.4.1.
Release notes
Sourced from pytest's releases.
Changelog
Sourced from pytest's changelog.
Commits
3d0f3ba
Preparing release version 5.4.1b9e2cd0
Merge pull request #6914 from nicoddemus/revert-6330a84fcbf
Revert "[parametrize] enforce explicit argnames declaration (#6330)"59c1bfa
Merge pull request #6913 from nicoddemus/backport-69103267f64
Merge pull request #6910 from nicoddemus/resultlog-logreportc9fd1bd
Preparing release version 5.4.093aa988
Merge pull request #6901 from RonnyPfannschmidt/regendoc-fix-simple7996724
Merge pull request #6902 from RoyalTS/filterwarnings-docfix90ee8a7
docfix378a75d
run and fix tox -e regen to prepare 5.4Dependabot 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](https://app.dependabot.com): - 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)