Execution failed for task ':installPythonRequirements'. > Failed to install pytest-xdist-1.14.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 603
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
Just trying to run the example project, and I receive the following error:
> Execution failed for task ':installPythonRequirements'.
> Failed to install pytest-xdist-1.14.
```
11:13:57.450 [LIFECYCLE] [org.gradle.api.Task] Processing /Users/adc1blz/.gradle/caches/modules-2/files-2.1/pypi/pytest-xdist/1.14/d1920596e4780427656cb3e3c770333a803feae4/pytest-xdist-1.14.zip
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for setuptools-scm
Traceback (most recent call last):
File "", line 20, in
File "/var/folders/jp/wk7_c7px34x7x1g60sfh_l8h6vk8x9/T/pip-De92aO-build/setup.py", line 36, in
'Programming Language :: Python :: 3',
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 268, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 312, in fetch_build_eggs
replace_conflicting=True,
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 846, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1091, in best_match
return self.obtain(req, installer)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1103, in obtain
return installer(requirement)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 379, in fetch_build_egg
return cmd.easy_install(req)
File "/Users/adc1blz/Documents/GitHub/eagle-py-framework/build/venv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 633, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools-scm')
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/jp/wk7_c7px34x7x1g60sfh_l8h6vk8x9/T/pip-De92aO-build
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute pipInstall for :installPythonRequirements'
11:13:57.450 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
11:13:57.450 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':installPythonRequirements'
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Task :installPythonRequirements'
11:13:57.450 [null] [org.gradle.internal.progress.DefaultBuildOperationExecutor]
11:13:57.450 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Task :installPythonRequirements' completed
11:13:57.450 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :installPythonRequirements (Thread[Task worker for ':',5,main]) completed. Took 0.861 secs.
11:13:57.451 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1.9 completed (1 worker(s) in use)
11:13:57.451 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on root.1.9
11:13:57.451 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':': released lock on :
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':',5,main]] finished, busy: 0.926 secs, idle: 0.008 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 3,5,main]] finished, busy: 0.0 secs, idle: 0.932 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 2,5,main]] finished, busy: 0.0 secs, idle: 0.933 secs
11:13:57.451 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 3,5,main]] finished, busy: 0.0 secs, idle: 0.932 secs
11:13:57.451 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Run tasks'
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':installPythonRequirements'.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Failed to install pytest-xdist-1.14. Please see above output for reason, or re-run your build using ``ligradle -i build`` for additional logging.
11:13:57.453 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the :installPythonRequirements task and trace how pytest-xdist-1.14 is resolved, then inspect the setuptools_scm and PyPI failure shown in the log. Done means the example project completes that task without the reported installation error; verify by rerunning the example build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100