Comments (15)
pytest 3.0.3 was released so long ago, but the fix is still not ready yet
from allure-pytest.
Hi,
I stumble across the same error as @sridharaiyer. Can you please take care of this issue ?
Regards
from allure-pytest.
Есть решения уже костыльные по этому поводу?
from allure-pytest.
Неа, использую pytest 2.9.0 :(
from allure-pytest.
Which python (2.7, 3.4[5]) you use with the adaptor?
from allure-pytest.
Python 3.5
from allure-pytest.
3.5
from allure-pytest.
The same issue with python 2.7
from allure-pytest.
3.5
from allure-pytest.
3.5
from allure-pytest.
Hello experts. I am getting an error when I run -
`pytest --alluredir
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 510, in load_setuptools_entrypoints
plugin = ep.load()
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 2229, in load
self.require(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 2246, in require
items = working_set.resolve(reqs, env, installer)
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pytest 3.0.5 (/usr/local/lib/python3.5/site-packages), Requirement.parse('pytest<=2.9.0,>=2.7.3'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pytest", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 47, in main
config = _prepareconfig(args, plugins)
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 156, in _prepareconfig
pluginmanager=pluginmanager, args=args)
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in call
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
return _wrapped_call(hook_impl.function(*args), self.execute)
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call
wrap_controller.send(call_outcome)
File "/usr/local/lib/python3.5/site-packages/_pytest/helpconfig.py", line 32, in pytest_cmdline_parse
config = outcome.get_result()
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in init
self.result = func()
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
res = hook_impl.function(*args)
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 910, in pytest_cmdline_parse
self.parse(args)
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 1067, in parse
self._preparse(args, addopts=addopts)
File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 1029, in _preparse
self.pluginmanager.load_setuptools_entrypoints(entrypoint_name)
File "/usr/local/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 515, in load_setuptools_entrypoints
"Plugin %r could not be loaded: %s!" % (ep.name, e))
_pytest.vendored_packages.pluggy.PluginValidationError: Plugin 'allure_adaptor' could not be loaded: (pytest 3.0.5 (/usr/local/lib/python3.5/site-packages), Requirement.parse('pytest<=2.9.0,>=2.7.3'))!'
from allure-pytest.
Python 3.5
Pytest 3.0.5
pytest-allure-adaptor (1.7.6)
Mac OS
Urgent help is appreciated.
from allure-pytest.
Same error as @sridharaiyer is observed in my setup. Is there any fix for this issue?
from allure-pytest.
Fixed in #110
from allure-pytest.
also consider using https://github.com/allure-framework/allure-python instead.
https://pypi.org/project/allure-pytest/
from allure-pytest.
Related Issues (20)
- Allure doesn't make a screenshot on a mobile device during the autotests with pyTest uiAutomator on Android HOT 8
- How to make allure plugin dependent on another plugin? HOT 2
- Can I see log trace of a passed test case, currently the debug trace is only for failed test cases HOT 2
- @Attachment for video having .webm is not attaching to the allure report in Ubuntu HOT 3
- seeing some os.error too many files.. any known issue here ? HOT 1
- Plugin already registered HOT 5
- I am looking to add a attachment in one of the tabs , not to a test case HOT 3
- Got ImportError: cannot import name 'unicodify' error after updating to version allure-pytest 2.0.0b2 HOT 31
- Unable to execute test cases specifying --allure_features or --allure stories attribute HOT 5
- Support tags: HOST, FEATURE and etc via LabelType class HOT 1
- Teardown function's logs not captured in allure report HOT 3
- Providing a responsive UI HOT 1
- Incompatible with pytest 3.2.0 HOT 1
- getting ValueError: option names set(['--alluredir']) already added" while trying to build a job on jenkins with allure-pytest plugin HOT 1
- Cyrillic symbols display like unicode in test's title HOT 1
- Multiple flow test xml-report counldn't be generated if one or more tests failed HOT 2
- Is it possible to rename test suits and test cases names? HOT 8
- why?How to solve this error? HOT 1
- Warnings during generating of allure report - RemovedInPytest4Warning HOT 3
- good!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-pytest.