geopython / pycsw

pycsw is an OGC CSW server implementation written in Python. pycsw fully implements the OpenGIS Catalogue Service Implementation Specification [Catalogue Service for the Web]. Initial development started in 2010 (more formally announced in 2011). The project is certified OGC Compliant, and is an OGC Reference Implementation. pycsw allows for the publishing and discovery of geospatial metadata via numerous APIs (CSW 2/CSW 3, OpenSearch, OAI-PMH, SRU). Existing repositories of geospatial metadata can also be exposed, providing a standards-based metadata and catalogue component of spatial data infrastructures. pycsw is Open Source, released under an MIT license, and runs on all major platforms (Windows, Linux, Mac OS X). Please read the docs at https://pycsw.org/docs for more information.
https://pycsw.org
MIT License
198 stars 153 forks source link

Docker build of 2.6 branch will not start #891

Closed etj closed 10 months ago

etj commented 10 months ago

Description

The docker image created on the live 2.6 branch will not run (even once fixed via #890), because of a bad dependency (see https://github.com/geopython/geolinks/issues/13).

When running a docker run on the image, you'll get this error:

Traceback (most recent call last):
  File "/usr/local/bin/entrypoint.py", line 52, in <module>
    from pycsw.core import admin
  File "/home/pycsw/pycsw/pycsw/core/admin.py", line 38, in <module>
    from pycsw.core import metadata, repository, util
  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 38, in <module>
    from geolinks import sniff_link
  File "/usr/local/lib/python3.8/site-packages/geolinks/__init__.py", line 34, in <module>
    import click
ModuleNotFoundError: No module named 'click'

Environment

Steps to Reproduce

tomkralidis commented 10 months ago

FYI geolinks 0.2.2 has just been released. Let us know if this fixes the issue.

etj commented 10 months ago

@tomkralidis fixed, thanks!