Skip to content
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

Setup.py requirements break xcube docker build #29

Closed
mattfung opened this issue Dec 11, 2020 · 1 comment · Fixed by #30
Closed

Setup.py requirements break xcube docker build #29

mattfung opened this issue Dec 11, 2020 · 1 comment · Fixed by #30
Assignees
Labels
bug Something isn't working

Comments

@mattfung
Copy link
Contributor

Description

When building xcube in docker using default xcube 0.6.1 Dockerfile, installation of xcube-cds plugin fails due to the xcube requirements entry in the setup.py file.

Perhaps the setup.py requirements should be commented out like the xcube-sh plugin

Info

Error message when running Docker build

source activate xcube && cd xcube-cds && python setup.py develop && sed "s/- xcube/# - xcube/g" -i environment.yml && mamba env update -n xcube
running develop
running egg_info
creating xcube_cds.egg-info
writing xcube_cds.egg-info/PKG-INFO
writing dependency_links to xcube_cds.egg-info/dependency_links.txt
writing requirements to xcube_cds.egg-info/requires.txt
writing top-level names to xcube_cds.egg-info/top_level.txt
writing manifest file 'xcube_cds.egg-info/SOURCES.txt'
reading manifest file 'xcube_cds.egg-info/SOURCES.txt'
writing manifest file 'xcube_cds.egg-info/SOURCES.txt'
running build_ext
Creating /opt/conda/envs/xcube/lib/python3.8/site-packages/xcube-cds.egg-link (link to .)
Adding xcube-cds 0.6.1.dev0 to easy-install.pth file

Installed /xcube/xcube-cds
Processing dependencies for xcube-cds==0.6.1.dev0
Searching for cdsapi>=0.2.7
Reading https://pypi.org/simple/cdsapi/
Downloading https://files.pythonhosted.org/packages/d6/9e/952b99737b2dfc56229306abdd8f353b9114480db29e379ad2a621b12e6b/cdsapi-0.4.0.tar.gz#sha256=e2fc7c06c18810b2dea38522e4d41470ab91607a155df7de6a6a8bceea90b39d
Best match: cdsapi 0.4.0
Processing cdsapi-0.4.0.tar.gz
Writing /tmp/easy_install-mfu_wykp/cdsapi-0.4.0/setup.cfg
Running cdsapi-0.4.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-mfu_wykp/cdsapi-0.4.0/egg-dist-tmp-u9y3tkvv
warning: no files found matching 'LICENSE'
warning: no files found matching '*.in' under directory 'tests'
Moving cdsapi-0.4.0-py3.8.egg to /opt/conda/envs/xcube/lib/python3.8/site-packages
Adding cdsapi 0.4.0 to easy-install.pth file

Installed /opt/conda/envs/xcube/lib/python3.8/site-packages/cdsapi-0.4.0-py3.8.egg
Searching for xcube>=0.5.0
Reading https://pypi.org/simple/xcube/
Couldn't find index page for 'xcube' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for xcube>=0.5.0
error: Could not find suitable distribution for Requirement.parse('xcube>=0.5.0')
@pont-us pont-us self-assigned this Dec 14, 2020
@pont-us pont-us added the bug Something isn't working label Dec 14, 2020
@pont-us pont-us linked a pull request Dec 14, 2020 that will close this issue
@pont-us
Copy link
Member

pont-us commented Dec 14, 2020

Thanks for the report and fix -- PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants