-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change docker interface to newer docker image #4
base: master
Are you sure you want to change the base?
Conversation
@@ -6,13 +6,13 @@ | |||
|
|||
|
|||
def elscata(settings: Settings): | |||
with DockerContainer('elsepa', working_dir='/opt/elsepa') as elsepa: | |||
with DockerContainer('elsepa', working_dir='/root') as elsepa: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we merge the no-docker branch into master (I think there is no reason not to do this), this change becomes irrelevant.
@@ -31,7 +31,7 @@ | |||
'Programming Language :: Python :: 3', | |||
'Topic :: Scientific/Engineering :: Physics'], | |||
install_requires=[ | |||
'pint==0.8.1', 'numpy==1.13.0', 'docker==2.4.0', 'cslib', 'noodles[prov,numpy]==0.2.3'], | |||
'pint==0.8.1', 'numpy==1.13.0', 'docker==2.4.0', 'cslib', 'noodles'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We deliberately pin version numbers for all packages. We have seen some developers introduce breaking API changes in minor updates (e.g. between an 1.1.0 and 1.1.1 release). We have also seen regressions introduced.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very wise, then for the moment you should pin noodles to 0.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that's not in pip yet. Nothing is broken at the moment (just weird output on windows), so we'll wait for the "proper" release. The installation procedure is horrible enough as it is :)
This sets the use of the docker interface to the docker image that is build using the Docker file in the project root.