GovDataOfficial / ckanext-dcatde

DE: Dieses Repository beinhaltet die Erweiterung von ckanext-dcat auf die Spezifikation DCAT-AP.de. EN: This is a DCAT-AP.de specific CKAN extension for providing and importing DCAT-AP.de-Profile data.
http://www.dcat-ap.de/
GNU Affero General Public License v3.0
11 stars 11 forks source link

Python 3 Support #12

Closed benjaminbecker closed 2 years ago

benjaminbecker commented 3 years ago

Are there plans to implement a version of this extension which is executable in Python 3?

AntjeM commented 3 years ago

Yes, that will be part of the switch to a Python 3 capable CKAN version. But there is no date for this yet.

benjaminbecker commented 3 years ago

I did a quick test with 2to3. For me this worked.

AntjeM commented 3 years ago

We will adjust the extensions while we update to CKAN 2.9 or 3.0, but we have not yet terminated that.

xellos866 commented 2 years ago

Hello,

we have created a fork of your extension and upgraded it for Python3 support. If you are interested we can create a Pull Request. Otherwise you can view or use (part of) the code.

link to forked brach "ckan.3.0-v4.6.1"

Note: We haven't tested (but upgraded) the components: "harvesters" and "triplestore", because we don't use these components.

regards

seitenbau-govdata commented 2 years ago

Python 3 support was added with version 5.1.0. Fixed by https://github.com/GovDataOfficial/ckanext-dcatde/commit/c570398b337f04e7b223022dc4931eec98ee8ee5