bayinx 0.2.3__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bayinx-0.2.6/.github/workflows/release_and_publish.yml +47 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/PKG-INFO +1 -1
- {bayinx-0.2.3 → bayinx-0.2.6}/pyproject.toml +1 -1
- bayinx-0.2.3/.github/workflows/publish.yml +0 -29
- {bayinx-0.2.3 → bayinx-0.2.6}/.gitignore +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/README.md +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/flow.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/model.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/utils.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/core/variational.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/bernoulli.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/binomial.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/gamma.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/gamma2.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/dists/normal.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/affine.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/planar.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/radial.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/flows/sylvester.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/meanfield.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/normalizing_flow.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/machinery/variational/standard.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/src/bayinx/py.typed +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/tests/__init__.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/tests/test_variational.py +0 -0
- {bayinx-0.2.3 → bayinx-0.2.6}/uv.lock +0 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
name: Build, Release, and Publish
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- "v*"
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build_release_publish:
|
10
|
+
name: Build, Release, and Publish
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
permissions:
|
13
|
+
contents: write
|
14
|
+
id-token: write
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- name: Checkout code
|
18
|
+
uses: actions/checkout@v4
|
19
|
+
|
20
|
+
- name: Install uv
|
21
|
+
uses: astral-sh/setup-uv@v3
|
22
|
+
with:
|
23
|
+
enable-cache: true
|
24
|
+
|
25
|
+
- name: Set up Python using uv
|
26
|
+
run: uv python install 3.12
|
27
|
+
|
28
|
+
- name: Build package
|
29
|
+
run: uv build
|
30
|
+
|
31
|
+
- name: Create GitHub Release
|
32
|
+
id: create_release
|
33
|
+
uses: softprops/action-gh-release@v2
|
34
|
+
env:
|
35
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
36
|
+
with:
|
37
|
+
tag_name: ${{ github.ref_name }}
|
38
|
+
name: Release ${{ github.ref_name }}
|
39
|
+
draft: false
|
40
|
+
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }}
|
41
|
+
generate_release_notes: true
|
42
|
+
files: |
|
43
|
+
./dist/*.whl
|
44
|
+
./dist/*.tar.gz
|
45
|
+
|
46
|
+
- name: Publish package
|
47
|
+
run: uv publish
|
@@ -1,29 +0,0 @@
|
|
1
|
-
name: "Publish"
|
2
|
-
|
3
|
-
on:
|
4
|
-
release:
|
5
|
-
types: ["published"]
|
6
|
-
|
7
|
-
jobs:
|
8
|
-
run:
|
9
|
-
name: "Build and publish release"
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
permissions:
|
12
|
-
id-token: write # Required for trusted publishing
|
13
|
-
|
14
|
-
steps:
|
15
|
-
- uses: actions/checkout@v4
|
16
|
-
|
17
|
-
- name: Install uv
|
18
|
-
uses: astral-sh/setup-uv@v3
|
19
|
-
with:
|
20
|
-
enable-cache: true
|
21
|
-
|
22
|
-
- name: Set up Python
|
23
|
-
run: uv python install 3.12
|
24
|
-
|
25
|
-
- name: Build
|
26
|
-
run: uv build
|
27
|
-
|
28
|
-
- name: Publish
|
29
|
-
run: uv publish
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|