Skip to content

feat: update GitHub Actions workflow for Python and CKAN#112

Open
ChasNelson1990 wants to merge 3 commits intodevelopmentfrom
chas/update-python
Open

feat: update GitHub Actions workflow for Python and CKAN#112
ChasNelson1990 wants to merge 3 commits intodevelopmentfrom
chas/update-python

Conversation

@ChasNelson1990
Copy link
Member

🥫

@ChasNelson1990 ChasNelson1990 self-assigned this Dec 8, 2025
@ChasNelson1990
Copy link
Member Author

@copilot fix these failing tests

Copy link

Copilot AI commented Dec 8, 2025

@ChasNelson1990 I've opened a new pull request, #113, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix Docker image references in GitHub Actions workflow

The Solr and PostgreSQL service containers were using the wrong matrix variable (ckan-version instead of ckan-solr-version and ckan-postgres-version), resulting in invalid Docker image references with two colons.

Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>
@ChasNelson1990
Copy link
Member Author

@copilot make the tests run on PR but not push

Copy link

Copilot AI commented Dec 8, 2025

@ChasNelson1990 I've opened a new pull request, #114, to work on those changes. Once the pull request is ready, I'll request review from you.

…and remove Python 3.9 support (#114)

* Initial plan

* Configure workflow to run tests only on pull requests

Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>

* Remove incompatible jinja2 and markupsafe version pins

The pinned versions jinja2==2.10.1 and markupsafe==2.0.1 are incompatible with Python 3.10+, causing ImportError for collections.Mapping. Removing these pins allows CKAN to install compatible versions for each version.

Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>

* Remove Python 3.9 and CKAN 2.9 support from workflow

Removed Python 3.9 from the lint job and CKAN 2.9 test configuration, focusing support on Python 3.10 with CKAN 2.10 and 2.11 only.

Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ChasNelson1990 <7795189+ChasNelson1990@users.noreply.github.com>
@ChasNelson1990
Copy link
Member Author

@A-Souhei - I suspect getting VS Code's copilot to look at one failing test and get it working would get them all working but the GitHub PR copilot is gonna struggle cause the logs are huge lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants