Skip to content

Commit 4b2a3dd

Browse files
authored
Merge branch 'pymc-devs:main' into dev
2 parents b092df6 + 0960323 commit 4b2a3dd

File tree

119 files changed

+7755
-1954
lines changed

Some content is hidden

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

119 files changed

+7755
-1954
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: "News"
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
tests/distributions/test_shape_utils.py
7070
tests/distributions/test_mixture.py
7171
tests/test_testing.py
72+
tests/test_progress_bar.py
7273
7374
- |
7475
tests/distributions/test_continuous.py
@@ -135,6 +136,12 @@ jobs:
135136
tests/logprob/test_transforms.py
136137
tests/logprob/test_utils.py
137138
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+
138145
fail-fast: false
139146
runs-on: ${{ matrix.os }}
140147
env:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
- --exclude=versioneer.py
5050
- --last-year-present
5151
- repo: https://github.com/astral-sh/ruff-pre-commit
52-
rev: v0.11.7
52+
rev: v0.11.13
5353
hooks:
5454
- id: ruff
5555
args: [--fix, --show-fixes]

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ Domain specific
254254
- `Exoplanet <https://github.com/dfm/exoplanet>`__: a toolkit for modeling of transit and/or radial velocity observations of exoplanets and other astronomical time series.
255255
- `beat <https://github.com/hvasbath/beat>`__: Bayesian Earthquake Analysis Tool.
256256
- `CausalPy <https://github.com/pymc-labs/CausalPy>`__: A package focussing on causal inference in quasi-experimental settings.
257+
- `PyMC-Marketing <https://github.com/pymc-labs/pymc-marketing>`__: Bayesian marketing toolbox for marketing mix modeling, customer lifetime value, and more.
257258

258259
Please contact us if your software is not listed here.
259260

conda-envs/environment-alternative-backends.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- cloudpickle
1212
- zarr>=2.5.0,<3
1313
- numba
14-
- nutpie >= 0.13.4
14+
- nutpie >= 0.15.1
1515
# Jaxlib version must not be greater than jax version!
1616
- blackjax>=1.2.2
1717
- jax>=0.4.28
@@ -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.32.0,<2.33
2626
- python-graphviz
2727
- networkx
2828
- rich>=13.7.1

conda-envs/environment-dev.yml

Lines changed: 2 additions & 2 deletions
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.32.0,<2.33
1616
- python-graphviz
1717
- networkx
1818
- scipy>=1.4.1
@@ -40,6 +40,6 @@ dependencies:
4040
- mypy=1.15.0
4141
- types-cachetools
4242
- pip:
43-
- git+https://github.com/pymc-devs/pymc-sphinx-theme
43+
- pymc-sphinx-theme>=0.16.0
4444
- numdifftools>=0.9.40
4545
- mcbackend>=0.4.0

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.32.0,<2.33
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.32.0,<2.33
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.32.0,<2.33
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.32.0,<2.33
1919
- python-graphviz
2020
- networkx
2121
- rich>=13.7.1

0 commit comments

Comments
 (0)