Skip to content

Commit abf2e9b

Browse files
committed
make release-tag: Merge branch 'main' into stable
2 parents 49ba3c5 + 50ad94e commit abf2e9b

31 files changed

+461
-256
lines changed

.github/workflows/dependency_checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Set up Python 3.9
11+
- name: Set up latest Python
1212
uses: actions/setup-python@v5
1313
with:
14-
python-version: 3.9
14+
python-version-file: 'pyproject.toml'
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install .[dev]

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.9
13+
- name: Set up latest Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.9
16+
python-version-file: 'pyproject.toml'
1717
- name: Build
1818
run: |
1919
sudo apt-get install pandoc

.github/workflows/end_to_end.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
17-
python-version: '3.8'
17+
python-version: '3.9'
1818
- os: macos-latest
19-
python-version: '3.13'
19+
python-version: '3.14'
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v4
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -30,7 +30,7 @@ jobs:
3030
- name: Run end to end tests
3131
run: invoke end-to-end
3232

33-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
33+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.14
3434
name: Upload integration codecov report
3535
uses: codecov/codecov-action@v4
3636
with:

.github/workflows/lint.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
lint:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v1
13-
- name: Set up Python 3.9
14-
uses: actions/setup-python@v2
16+
- uses: actions/checkout@v4
17+
- name: Set up latest Python
18+
uses: actions/setup-python@v5
1519
with:
16-
python-version: 3.9
20+
python-version-file: 'pyproject.toml'
1721
- name: Install dependencies
1822
run: |
1923
python -m pip install --upgrade pip

.github/workflows/minimum.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
minimum:
1014
runs-on: ${{ matrix.os }}
1115
strategy:
1216
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1418
os: [ubuntu-latest, windows-latest]
1519
include:
1620
- os: macos-latest
17-
python-version: '3.8'
21+
python-version: '3.9'
1822
- os: macos-latest
19-
python-version: '3.13'
23+
python-version: '3.14'
2024
steps:
21-
- uses: actions/checkout@v1
25+
- uses: actions/checkout@v4
2226
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v5
2428
with:
2529
python-version: ${{ matrix.python-version }}
2630
- name: Install dependencies

.github/workflows/numerical.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
unit:
1014
runs-on: ${{ matrix.os }}
1115
strategy:
1216
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1418
os: [ubuntu-latest, windows-latest]
1519
include:
1620
- os: macos-latest
17-
python-version: '3.8'
21+
python-version: '3.9'
1822
- os: macos-latest
19-
python-version: '3.13'
23+
python-version: '3.14'
2024
steps:
21-
- uses: actions/checkout@v1
25+
- uses: actions/checkout@v4
2226
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v5
2428
with:
2529
python-version: ${{ matrix.python-version }}
2630
- name: Install dependencies

.github/workflows/prepare_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- name: Set up Python 3.10
22+
- name: Set up latest Python
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: '3.10'
25+
python-version-file: 'pyproject.toml'
2626

2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
3030
python -m pip install requests==2.31.0
31-
python -m pip install bandit==1.7.7
31+
python -m pip install bandit==1.9.2
3232
python -m pip install .[test]
3333
3434
- name: Generate release notes

.github/workflows/readme.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
readme:
1014
runs-on: ${{ matrix.os }}
1115
strategy:
1216
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1418
os: [ubuntu-latest, macos-latest]
1519
steps:
16-
- uses: actions/checkout@v1
20+
- uses: actions/checkout@v4
1721
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v5
1923
with:
2024
python-version: ${{ matrix.python-version }}
2125
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches:
7+
- main
8+
- stable
9+
10+
workflow_dispatch:
11+
inputs:
12+
candidate:
13+
description: 'Release candidate.'
14+
required: true
15+
type: boolean
16+
default: true
17+
test_pypi:
18+
description: 'Test PyPI.'
19+
type: boolean
20+
default: false
21+
22+
jobs:
23+
release:
24+
runs-on: ubuntu-latest
25+
permissions:
26+
id-token: write
27+
steps:
28+
- uses: actions/checkout@v4
29+
with:
30+
ref: ${{ inputs.candidate && 'main' || 'stable' }}
31+
32+
- name: Set up latest Python
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version-file: 'pyproject.toml'
36+
37+
- name: Install dependencies
38+
run: |
39+
python -m pip install --upgrade pip
40+
python -m pip install .[dev]
41+
42+
- name: Create wheel
43+
run: |
44+
make dist
45+
46+
- name: Publish a Python distribution to PyPI
47+
uses: pypa/gh-action-pypi-publish@release/v1
48+
with:
49+
repository-url: ${{ inputs.test_pypi && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}
50+
51+
- name: Bump version to next candidate
52+
if: ${{ inputs.candidate && !inputs.test_pypi }}
53+
run: |
54+
git config user.name "github-actions[bot]"
55+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
56+
bump-my-version bump candidate --no-tag --no-commit
57+
58+
- name: Create pull request
59+
if: ${{ inputs.candidate && !inputs.test_pypi }}
60+
id: cpr
61+
uses: peter-evans/create-pull-request@v4
62+
with:
63+
token: ${{ secrets.GH_ACCESS_TOKEN }}
64+
commit-message: bumpversion-candidate
65+
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
66+
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
67+
signoff: false
68+
delete-branch: true
69+
title: Automated Bump Version Candidate
70+
body: "This is an auto-generated PR that bumps the version to the next candidate."
71+
branch: bumpversion-candidate-update
72+
branch-suffix: short-commit-hash
73+
add-paths: |
74+
copulas/__init__.py
75+
pyproject.toml
76+
draft: false
77+
base: 'main'
78+
79+
- name: Enable Pull Request Automerge
80+
if: ${{ steps.cpr.outputs.pull-request-operation == 'created' }}
81+
run: gh pr merge "${{ steps.cpr.outputs.pull-request-number }}" --squash --admin
82+
env:
83+
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

.github/workflows/tutorials.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ on:
55
pull_request:
66
types: [opened, reopened]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
tutorials:
1014
runs-on: ubuntu-latest
1115
strategy:
1216
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1418
steps:
15-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v4
1620
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
1822
with:
1923
python-version: ${{ matrix.python-version }}
2024
- name: Install package and dependencies

0 commit comments

Comments
 (0)