Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
# Trusted publishing (OIDC): the publish step mints a short-lived token from
# PyPI instead of using a stored API token, so `id-token: write` is required.
permissions:
id-token: write
steps:
- uses: actions/checkout@v6
with:
# hatch-vcs derives the version from git tags, so the full history
# (including tags) must be fetched.
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changes

This is a record of all past skillmodels releases and what went into them in reverse
chronological order. We follow [semantic versioning](https://semver.org/) and all
releases are available on [PyPI](https://pypi.org/project/skillmodels/).

## 0.1

- Add the Antweiler–Freyberger (AF) sequential MLE and the Attanasio–Meghir–Nix (AMN)
estimators alongside the existing CHS Kalman filter, with a shared control-function
correction, a public measurement-family interface on `ModelSpec`, and the AF
source/destination calendar adapter.
- Add a GitHub Action to build and publish the package to PyPI on tagged releases.
Loading