Compare commits

...

4 Commits

Author SHA1 Message Date
3013095bdd Attempt to fix readthedocs build 2025-05-23 14:36:32 +01:00
6e84ea0446 Added readthedocs config 2025-05-23 14:19:15 +01:00
529fe17d24 Patch to improve uv publishing 2025-05-23 12:57:52 +01:00
0fd2466b49 Another attempt to patch publish workflow 2025-05-23 12:45:29 +01:00
3 changed files with 40 additions and 4 deletions

View File

@@ -13,9 +13,14 @@ jobs:
environment: release
steps:
- uses: actions/checkout@v4
- name: Install uv
run: pip install uv
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
python-version: "${{ matrix.python-version }}"
enable-cache: true
cache-dependency-glob: |
pyproject.toml
- name: Build package
run: uv build
- name: Publish to PyPI
run: uv publish
run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}

31
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,31 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
jobs:
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- VIRTUAL_ENV="${READTHEDOCS_VIRTUALENV_PATH}" uv pip install -r docs/requirements.txt
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# declare the Python requirements required to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt

View File

@@ -8,4 +8,4 @@
"""Metadata for this python module."""
__version__ = "2025.5.20.4"
__version__ = "2025.5.20.8"