Skip to content

update pip & setuptools - #364

Merged
mr-c merged 1 commit into
mainfrom
fix_dockerfile_pipver
Nov 30, 2021
Merged

mr-c merged 1 commit into
mainfrom
fix_dockerfile_pipver

Conversation

@mr-c

@mr-c mr-c commented Nov 30, 2021

Copy link
Copy Markdown
Member

Description

Motivation and Context

Fixes the following error building the docker container

Step 10/20 : RUN cwltool --version
 ---> Running in 46d631e07e3e
Traceback (most recent call last):
  File "/usr/bin/cwltool", line 11, in <module>
    sys.exit(run())
  File "/usr/lib/python3.6/site-packages/cwltool/main.py", line 1454, in run
    sys.exit(main(*args, **kwargs))
  File "/usr/lib/python3.6/site-packages/cwltool/main.py", line 1023, in main
    print(versionfunc())
  File "/usr/lib/python3.6/site-packages/cwltool/utils.py", line 119, in versionstring
    pkg = pkg_resources.require("cwltool")
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 789, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pyparsing 3.0.6 (/usr/lib/python3.6/site-packages), Requirement.parse('pyparsing<3; python_version <= "3.6"'), {'cwltool'})
The command '/bin/sh -c cwltool --version' returned a non-zero code: 1

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mr-c
mr-c merged commit 2c27aa1 into main Nov 30, 2021
@mr-c
mr-c deleted the fix_dockerfile_pipver branch November 30, 2021 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant