Skip to content

Commit e9cd750

Browse files
committed
make release-tag: Merge branch 'main' into stable
2 parents 102fc74 + abc6a79 commit e9cd750

16 files changed

+267
-64
lines changed

.github/workflows/end_to_end.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
1717
python-version: '3.8'
1818
- os: macos-latest
19-
python-version: '3.12'
19+
python-version: '3.13'
2020
steps:
2121
- uses: actions/checkout@v1
2222
- name: Set up Python ${{ matrix.python-version }}
@@ -29,3 +29,12 @@ jobs:
2929
python -m pip install invoke .[test]
3030
- name: Run end to end tests
3131
run: invoke end-to-end
32+
33+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
34+
name: Upload integration codecov report
35+
uses: codecov/codecov-action@v4
36+
with:
37+
flags: integration
38+
file: ${{ github.workspace }}/integration_cov.xml
39+
fail_ci_if_error: true
40+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/minimum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
1717
python-version: '3.8'
1818
- os: macos-latest
19-
python-version: '3.12'
19+
python-version: '3.13'
2020
steps:
2121
- uses: actions/checkout@v1
2222
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/numerical.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
1717
python-version: '3.8'
1818
- os: macos-latest
19-
python-version: '3.12'
19+
python-version: '3.13'
2020
steps:
2121
- uses: actions/checkout@v1
2222
- name: Set up Python ${{ matrix.python-version }}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Release Prep
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branch:
7+
description: 'Branch to merge release notes and code analysis into.'
8+
required: true
9+
default: 'main'
10+
version:
11+
description:
12+
'Version to use for the release. Must be in format: X.Y.Z.'
13+
date:
14+
description:
15+
'Date of the release. Must be in format YYYY-MM-DD.'
16+
17+
jobs:
18+
preparerelease:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Set up Python 3.10
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: '3.10'
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install requests==2.31.0
31+
python -m pip install bandit==1.7.7
32+
python -m pip install .[test]
33+
34+
- name: Generate release notes
35+
env:
36+
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
37+
run: >
38+
python scripts/release_notes_generator.py
39+
-v ${{ inputs.version }}
40+
-d ${{ inputs.date }}
41+
42+
- name: Save static code analysis
43+
run: bandit -r . -x ./tests,./scripts,./build -f txt -o static_code_analysis.txt --exit-zero
44+
45+
- name: Create pull request
46+
id: cpr
47+
uses: peter-evans/create-pull-request@v4
48+
with:
49+
token: ${{ secrets.GH_ACCESS_TOKEN }}
50+
commit-message: Prepare release for v${{ inputs.version }}
51+
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
52+
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
53+
title: v${{ inputs.version }} Release Preparation
54+
body: "This is an auto-generated PR to prepare the release."
55+
branch: prepared-release
56+
branch-suffix: short-commit-hash
57+
base: ${{ inputs.branch }}

.github/workflows/readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, macos-latest]
1515
steps:
1616
- uses: actions/checkout@v1

.github/workflows/static_code_analysis.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
steps:
1515
- uses: actions/checkout@v1
1616
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/unit.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1414
os: [ubuntu-latest, windows-latest]
1515
include:
1616
- os: macos-latest
1717
python-version: '3.8'
1818
- os: macos-latest
19-
python-version: '3.12'
19+
python-version: '3.13'
2020
steps:
2121
- uses: actions/checkout@v1
2222
- name: Set up Python ${{ matrix.python-version }}
@@ -29,6 +29,12 @@ jobs:
2929
python -m pip install invoke .[test]
3030
- name: Run unit tests
3131
run: invoke unit
32-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8
33-
name: Upload codecov report
34-
uses: codecov/codecov-action@v2
32+
33+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
34+
name: Upload unit codecov report
35+
uses: codecov/codecov-action@v4
36+
with:
37+
flags: unit
38+
file: ${{ github.workspace }}/unit_cov.xml
39+
fail_ci_if_error: true
40+
token: ${{ secrets.CODECOV_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ coverage.xml
4646
*.cover
4747
.hypothesis/
4848
.pytest_cache/
49+
*_cov.xml
4950

5051
# Translations
5152
*.mo

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# History
22

3+
## v0.12.1 - 2025-01-15
4+
5+
### Maintenance
6+
7+
* Create Prepare Release workflow - Issue [#442](https://github.com/sdv-dev/Copulas/issues/442) by @R-Palazzo
8+
* Support Python 3.13 - Issue [#434](https://github.com/sdv-dev/Copulas/issues/434) by @rwedge
9+
* Update codecov and add flag for integration tests - Issue [#433](https://github.com/sdv-dev/Copulas/issues/433) by @pvk-developer
10+
311
## v0.12.0 - 2024-11-12
412

513
### Maintenance

0 commit comments

Comments
 (0)