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
49 changes: 24 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,27 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Optional: Publish to PyPI (uncomment when ready)
# publish-pypi:
# needs: release
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: "3.12"
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install build twine
#
# - name: Build package
# run: python -m build
#
# - name: Publish to PyPI
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
# run: twine upload dist/*
publish-pypi:
needs: build-and-attach
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine

- name: Build package
run: python -m build

- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.2] - 2026-01-23

### Added

- PyPI publishing in release workflow
- PyPI version badge in README

## [3.0.1] - 2026-01-23

### Fixed
Expand Down Expand Up @@ -52,5 +59,6 @@ Initial public release.
- RDF/Turtle and JSON-LD ontology definitions
- W3C PROV-JSON schema included

[3.0.2]: https://github.com/RI-SE/dataprov/releases/tag/v3.0.2
[3.0.1]: https://github.com/RI-SE/dataprov/releases/tag/v3.0.1
[3.0.0]: https://github.com/RI-SE/dataprov/releases/tag/v3.0.0
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# dataprov

[![CI](https://github.com/RI-SE/dataprov/actions/workflows/ci.yml/badge.svg)](https://github.com/RI-SE/dataprov/actions/workflows/ci.yml)
[![PyPI version](https://img.shields.io/pypi/v/dataprov)](https://pypi.org/project/dataprov/)
[![GitHub Release](https://img.shields.io/github/v/release/RI-SE/dataprov)](https://github.com/RI-SE/dataprov/releases/latest)
[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Expand Down Expand Up @@ -97,8 +98,6 @@ A lightweight Python library for tracking data provenance through processing pip

**Install from PyPI:**

**TBD: Not published on PyPi yet**

```bash
pip install dataprov
```
Expand Down
2 changes: 1 addition & 1 deletion dataprov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

from dataprov.dataprov import ProvenanceChain

__version__ = "3.0.1"
__version__ = "3.0.2"
__all__ = ["ProvenanceChain", "get_schema"]


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "dataprov"
version = "3.0.1"
version = "3.0.2"
description = "W3C PROV-compliant data provenance tracking library for recording processing chains"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down