Skip to content

Commit

Permalink
create 1.12.3, and fix building docs
Browse files Browse the repository at this point in the history
after VERSION file was removed, it stopped working
  • Loading branch information
dimpase committed Jan 25, 2025
1 parent d54ee91 commit e6feb6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
# built documents.
#
# The short X.Y version.
version = open("../../VERSION").read().strip()
import tomli
with open("../../pyproject.toml", "rb") as f:
toml_dict = tomli.load(f)
version = toml_dict['project']['version']
# The full version, including alpha/beta/rc tags.
release = version

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 = "mesonpy"

[project]
name = "cysignals"
version = "1.12.2"
version = "1.12.3"
description = "Interrupt and signal handling for Cython"
license = { file = "LICENSE" }
readme = { file = "README.rst", content-type = "text/x-rst" }
Expand Down
4 changes: 3 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version: 2
conda:
file: readthedocs-conda.yml
python:
version: 2.7
version: "3.11"
pip_install: true

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ wheel
Cython
Sphinx
flake8
tomli
pytest>=8.0.0

0 comments on commit e6feb6f

Please sign in to comment.