data-govt-nz / ckanext-security

A CKAN extension to hold various security improvements for CKAN
GNU Affero General Public License v3.0
25 stars 31 forks source link

ckanext error while installing dependencies #70

Closed Team1-epat closed 4 months ago

Team1-epat commented 4 months ago

Tried to load the ckanext-security into ckan2.10 and used Dockerfile to install the .whl files for the following

In the requirement.txt, it also stated to install the "beaker-py". I have tried to install "beaker-py" and its dependencies, but encountered error when I install the dependencies, error message: ERROR: pydantic_core-2.16.2-cpp311-cp311-musllinux_1_1_x86_64.whl is not a supported wheel on this platform.

May I know how can I overcome this issue?

If I install all the above mentioned python modules and without the beaker-py, I have encountered this error during ckan program startup: ImportError : cannot import name 'UsernamePasswordAuthenticator' from 'ckan.lib.authenticator' (/srv/app/src/ckan/ckan/lib/authenticator.py) , how can I resolve this error?

markstuart commented 4 months ago

Hi @Team1-epat, there was previously work in progress to support CKAN 2.10.x in this plugin, this has just been merged to master and tagged as 4.0.0. I'd recommend you try that out.