What needs to happen
v0.2.1 has been released on GitHub but not yet published to PyPI. The current PyPI version (0.2.0) is missing the prefLabel search fix, so anyone installing via pip install folio-python gets a version where search_by_prefix("School") can't find entities with skos:prefLabel = "School".
Option A: Manual upload (one-time)
The built dist files are attached to the v0.2.1 release. To publish:
# Download the dist files from the release, or build locally:
python -m build
# Upload to PyPI:
twine upload dist/folio_python-0.2.1*
Option B: Set up trusted publishing (recommended, one-time setup)
A publish workflow has been added (.github/workflows/publish.yml) that auto-publishes to PyPI whenever a GitHub release is created. To activate it:
- Go to https://pypi.org/manage/project/folio-python/settings/publishing/
- Click "Add a new publisher"
- Fill in:
- Owner:
alea-institute
- Repository:
folio-python
- Workflow name:
publish.yml
- Environment:
pypi
- Click "Add"
After this one-time setup, all future GitHub releases will auto-publish to PyPI. For v0.2.1 specifically, you can either:
- Re-create the release to trigger the workflow, or
- Do the manual upload above
What's in v0.2.1
- fix: Index
preferred_label (skos:prefLabel) for search — adds prefLabel to alt_label_to_index during class parsing and property_label_to_index during property parsing, so entities are findable by their canonical name.
What needs to happen
v0.2.1 has been released on GitHub but not yet published to PyPI. The current PyPI version (0.2.0) is missing the prefLabel search fix, so anyone installing via
pip install folio-pythongets a version wheresearch_by_prefix("School")can't find entities withskos:prefLabel = "School".Option A: Manual upload (one-time)
The built dist files are attached to the v0.2.1 release. To publish:
Option B: Set up trusted publishing (recommended, one-time setup)
A publish workflow has been added (
.github/workflows/publish.yml) that auto-publishes to PyPI whenever a GitHub release is created. To activate it:alea-institutefolio-pythonpublish.ymlpypiAfter this one-time setup, all future GitHub releases will auto-publish to PyPI. For v0.2.1 specifically, you can either:
What's in v0.2.1
preferred_label(skos:prefLabel) for search — adds prefLabel toalt_label_to_indexduring class parsing andproperty_label_to_indexduring property parsing, so entities are findable by their canonical name.