-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update cicd, Allow pypi publish, move to pyproject.toml #103
Conversation
duttonw
commented
Dec 9, 2024
- Updated Readme to have dependancy table like xloader
- Updated CICD to run 2.9, 2.10 and 2.11, plus optional master ckan
- Added CICD Pypi publish (based off xloader)
- Replaced setup.py to pyproject.toml config
Update Solr container name, ckan-solr-dev is obsolete
Hi @amercader or @wardi In qld-gov-au we have a non-privileged pypi account added which lets dependabot provide us updates. (since 3 years ago). Does the CKAN org have similar? https://github.com/organizations/ckan/settings/secrets/dependabot or if you have them in different names do let me know to update or if its via an api key. |
80a6bda
to
4728b3e
Compare
todo: fix tests when swapping from: okfn container image to ckan image for 2.9; https://github.com/ckan/ckanext-validation/actions/runs/12245486310?pr=103
|
.github/workflows/test.yml
Outdated
fail-fast: false | ||
|
||
name: CKAN ${{ matrix.ckan-version }} | ||
runs-on: ubuntu-latest | ||
container: | ||
image: openknowledge/ckan-dev:${{ matrix.ckan-version }} | ||
#image: openknowledge/ckan-dev:${{ matrix.ckan-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to just delete it than comment it out.
matrix: | ||
include: #ckan-image see https://github.com/ckan/ckan-docker-base, ckan-version controls other image tags | ||
- ckan-version: "2.11" | ||
ckan-image: "2.11-py3.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like our Jinja version can't handle Python 3.10, which moved Mapping
from collections
to collections.abc
7c5e5d5
to
5072324
Compare
…ions apart, move plugin from folder to root plugin.py
…nds in sections classes
Partial alignment to qld-gov-au 2.10 version
* Updated Readme to have dependancy table like xloader * Updated CICD to run 2.9, 2.10 and 2.11, plus optional master ckan * Added CICD Pypi publish (based off xloader) * Replaced setup.py to pyproject.toml config
4813b7f
to
102f35c
Compare
…e which was removed from 3.1 onwards
… interface, move config settings from utils to settings class
- Extract the original exception from the ExceptionInfo object, this changed in Pytest 5, see pytest-dev/pytest#5579
899204e
to
61c7e4d
Compare
aligntment: convert badges to css, use webassets only, use iUploader…
…into chore_cicd_toml
closing out since toml was released by 2.9. The work now on this is 2.10, 2.11 uplift from the qld-gov-au fork and will be handled by a different pr. |