GSA / datagov-ckan-multi

Other
10 stars 6 forks source link

PyZ3950 Py3 + CKAN 2.9 support #576

Closed thejuliekramer closed 3 years ago

thejuliekramer commented 3 years ago

User Story

As a data.gov developer, I want PyZ3950 running with CKAN 2.9 and Python 3 so that we can move out of CKAN 2.8 and reduce our technical debt and meet compliance standards.

Acceptance Criteria

Background

CKAN 2.9 extension tracker.

Details / tasks

The goal is to support running this extension against CKAN 2.9 (Python 3) and CKAN 2.8 (Python 2) environments. Please refer to the main CKAN documentation for Python 3 extensions migration. We're not following this guide exactly. Instead of creating a long-lived py3 branch, we should be merging often. New CI test suites don't need to required or to be fully passing in order to merge. It's only important that changes don't introduce new failures or break the existing test suites.

Below are a list of tasks. Depending on the extension's functionality, not all tasks will be actionable.

Tasks:

Additional resources:

mogul commented 3 years ago

There's a fork that has already been ported, and an existing PR to bring that work into the upstream. If by the time we're handling this issue the PR is still outstanding, we can probably shift to the fork, but we should memorialize the decision and make a plan for how to check back in so that we're not on the fork forever.

mogul commented 3 years ago

The upstream PR has been merged into the upstream and the author has further ensured that tests are passing under both Python 2.7 and Python 3.6. (I've also updated the entry in the spreadsheet to reflect this.) So this issue may end up being a no-op beyond ensuring the latest version is in use.

nickumia-reisys commented 3 years ago

As a follow up, there were additional changes to support PY3 and those have also been merged. The updated repo, git+https://github.com/asl2/PyZ3950.git#egg=PyZ3950 has been added to geodatagov and it passes all tests. See the above link for the geodatagov PR.

With this, I think we can safely close this issue.