Skip to content

Commit afcc142

Browse files
committed
Merge branch 'main' into remove-varname
# Conflicts: # pymc/model_graph.py
2 parents 83e4567 + dc7cfee commit afcc142

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+5926
-243
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Publish Release Notes to Discourse
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish-to-discourse:
9+
environment: discourse
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.11"
22+
23+
- name: Install dependencies
24+
run: pip install requests
25+
26+
- name: Publish release to Discourse
27+
env:
28+
DISCOURSE_API_KEY: ${{ secrets.DISCOURSE_API_KEY }}
29+
DISCOURSE_USERNAME: "pymc-bot"
30+
DISCOURSE_URL: "https://discourse.pymc.io"
31+
DISCOURSE_CATEGORY: "Development"
32+
RELEASE_TAG: ${{ github.event.release.tag_name }}
33+
RELEASE_BODY: ${{ github.event.release.body }}
34+
RELEASE_URL: ${{ github.event.release.html_url }}
35+
REPO_NAME: ${{ github.repository }}
36+
run: python ./scripts/publish_release_notes_to_discourse.py

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ jobs:
136136
tests/logprob/test_transforms.py
137137
tests/logprob/test_utils.py
138138
139+
- |
140+
tests/dims/distributions/test_core.py
141+
tests/dims/distributions/test_scalar.py
142+
tests/dims/distributions/test_vector.py
143+
tests/dims/test_model.py
144+
139145
fail-fast: false
140146
runs-on: ${{ matrix.os }}
141147
env:

conda-envs/environment-alternative-backends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
- numpyro>=0.8.0
2323
- pandas>=0.24.0
2424
- pip
25-
- pytensor>=2.31.2,<2.32
25+
- pytensor>=2.31.7,<2.32
2626
- python-graphviz
2727
- networkx
2828
- rich>=13.7.1

conda-envs/environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15-
- pytensor>=2.31.2,<2.32
15+
- pytensor>=2.31.7,<2.32
1616
- python-graphviz
1717
- networkx
1818
- scipy>=1.4.1

conda-envs/environment-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- numpy>=1.25.0
1212
- pandas>=0.24.0
1313
- pip
14-
- pytensor>=2.31.2,<2.32
14+
- pytensor>=2.31.7,<2.32
1515
- python-graphviz
1616
- rich>=13.7.1
1717
- scipy>=1.4.1

conda-envs/environment-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
- pandas>=0.24.0
1515
- pip
1616
- polyagamma
17-
- pytensor>=2.31.2,<2.32
17+
- pytensor>=2.31.7,<2.32
1818
- python-graphviz
1919
- networkx
2020
- rich>=13.7.1

conda-envs/windows-environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- numpy>=1.25.0
1313
- pandas>=0.24.0
1414
- pip
15-
- pytensor>=2.31.2,<2.32
15+
- pytensor>=2.31.7,<2.32
1616
- python-graphviz
1717
- networkx
1818
- rich>=13.7.1

conda-envs/windows-environment-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- pandas>=0.24.0
1616
- pip
1717
- polyagamma
18-
- pytensor>=2.31.2,<2.32
18+
- pytensor>=2.31.7,<2.32
1919
- python-graphviz
2020
- networkx
2121
- rich>=13.7.1

docs/source/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ API
2323
api/backends
2424
api/misc
2525
api/testing
26+
api/dims
2627

2728
------------------
2829
Dimensionality

docs/source/api/dims.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _api_dims:
2+
3+
Dims
4+
====
5+
6+
.. warning:: This module is experimental and may contain critical breaks. API changes are expected in future releases.
7+
8+
This submodule contains functions for defining distributions and operations that use explicit dimensions.
9+
10+
The module is presented in :ref:`dims_module`.
11+
12+
13+
.. toctree::
14+
15+
dims/model
16+
dims/math
17+
dims/distributions
18+
dims/transforms

0 commit comments

Comments
 (0)