Skip to content

Commit

Permalink
update version, dependencies and CI (#110)
Browse files Browse the repository at this point in the history
* update version, dependencies and CI

* skip 3.13 until numba release

* update rtd env

* ignore line too long in gallery template string
  • Loading branch information
OriolAbril authored Nov 23, 2024
1 parent a2f271e commit d88c5ea
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.10"
python: "3.12"

sphinx:
fail_on_warning: true
Expand Down
1 change: 1 addition & 0 deletions docs/sphinxext/gallery_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def main(app):

minigalleries = "\n".join(minigallery_in_example.format(fun=fun) for fun in api_funs)

# pylint: disable=line-too-long
myst_text = f"""
({basename.replace("plot_", "gallery_")})=
{head_text}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
[project]
name = "arviz-plots"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
license = {file = "LICENSE"}
authors = [
{name = "ArviZ team", email = "arvizdevs@gmail.com"}
Expand Down
2 changes: 1 addition & 1 deletion src/arviz_plots/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Base ArviZ version."""
__version__ = "0.3.0"
__version__ = "0.4.0.dev0"
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
envlist =
check
docs
{py310,py311,py312}{,-coverage}
{py311,py312,py313}{,-coverage}
# See https://tox.readthedocs.io/en/latest/example/package.html#flit
isolated_build = True
isolated_build_env = build

[gh-actions]
python =
3.10: py310-coverage
3.11: check, py311-coverage
3.12: py312-coverage
3.11: py311-coverage
3.12: check, py312-coverage
3.13: py313-coverage

[testenv]
basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
# See https://github.com/tox-dev/tox/issues/1548
{check,docs,cleandocs,viewdocs,build}: python3
setenv =
Expand Down

0 comments on commit d88c5ea

Please sign in to comment.