thoth-station / package-analyzer

Analyze Python artifacts
GNU General Public License v3.0
0 stars 4 forks source link

Disable setup.py processing in s2i builds #127

Closed fridex closed 4 years ago

fridex commented 4 years ago

See https://github.com/sclorg/s2i-python-container/tree/master/3.6#environment-variables for more info.

sesheta commented 4 years ago

Thanks for Opening the Pull Request. I can assist you with following commands: /retest : To Rerun the test checks. /deploy : To deploy the commit in test environment.

ghost commented 4 years ago

Build succeeded.

sesheta commented 4 years ago
Pytest Test failed! Click here ``` running test Searching for setuptools>=40.3.0 Reading https://pypi.org/simple/setuptools/ Downloading https://files.pythonhosted.org/packages/95/95/f657b6e17f00c3f35b5f68b10e46c3a43af353d8856bd57bfcfb1dbb3e92/setuptools-47.1.1-py3-none-any.whl#sha256=74f33f44290f95c5c4a7c13ccc9d6d1a16837fe9dce0acf411dd244e7de95143 Best match: setuptools 47.1.1 Processing setuptools-47.1.1-py3-none-any.whl Installing setuptools-47.1.1-py3-none-any.whl to /workspace/repo/.eggs writing requirements to /workspace/repo/.eggs/setuptools-47.1.1-py3.6.egg/EGG-INFO/requires.txt Installed /workspace/repo/.eggs/setuptools-47.1.1-py3.6.egg running egg_info creating thoth_package_analyzer.egg-info writing thoth_package_analyzer.egg-info/PKG-INFO writing dependency_links to thoth_package_analyzer.egg-info/dependency_links.txt writing entry points to thoth_package_analyzer.egg-info/entry_points.txt writing requirements to thoth_package_analyzer.egg-info/requires.txt writing top-level names to thoth_package_analyzer.egg-info/top_level.txt writing manifest file 'thoth_package_analyzer.egg-info/SOURCES.txt' reading manifest file 'thoth_package_analyzer.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'thoth_package_analyzer.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 61, in cmdclass={'test': Test}, File "/opt/app-root/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/opt/app-root/lib/python3.6/site-packages/setuptools/command/test.py", line 226, in run self.run_tests() File "setup.py", line 43, in run_tests import pytest ModuleNotFoundError: No module named 'pytest' ```