Skip to content

Commit 8a3febc

Browse files
committed
make release-tag: Merge branch 'main' into stable
2 parents 9325c56 + 5301928 commit 8a3febc

File tree

20 files changed

+1119
-70
lines changed

20 files changed

+1119
-70
lines changed

.github/workflows/integration.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ 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
integration:
1014
runs-on: ${{ matrix.os }}
1115
strategy:
1216
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
17+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1418
os: [ubuntu-latest, windows-latest]
1519
include:
1620
- os: macos-latest
1721
python-version: '3.8'
1822
- os: macos-latest
19-
python-version: '3.12'
23+
python-version: '3.13'
2024
steps:
2125
- uses: actions/checkout@v4
2226
- name: Set up Python ${{ matrix.python-version }}
@@ -30,7 +34,7 @@ jobs:
3034
- name: Run integration tests
3135
run: invoke integration
3236

33-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
37+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
3438
name: Upload integration codecov report
3539
uses: codecov/codecov-action@v4
3640
with:

.github/workflows/minimum.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ 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']
17+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1418
os: [ubuntu-latest, windows-latest]
1519
include:
1620
- os: macos-latest
1721
python-version: '3.8'
1822
- os: macos-latest
19-
python-version: '3.12'
23+
python-version: '3.13'
2024
steps:
2125
- uses: actions/checkout@v4
2226
- name: Set up Python ${{ matrix.python-version }}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Release Notes Generator
1+
name: Release Prep
22

33
on:
44
workflow_dispatch:
55
inputs:
66
branch:
7-
description: 'Branch to merge release notes into.'
7+
description: 'Branch to merge release notes and code analysis into.'
88
required: true
99
default: 'main'
1010
version:
@@ -15,7 +15,7 @@ on:
1515
'Date of the release. Must be in format YYYY-MM-DD.'
1616

1717
jobs:
18-
releasenotesgeneration:
18+
preparerelease:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
@@ -28,25 +28,30 @@ jobs:
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
32+
python -m pip install .[test]
3133
3234
- name: Generate release notes
3335
env:
3436
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
3537
run: >
36-
python -m scripts.release_notes_generator
38+
python scripts/release_notes_generator.py
3739
-v ${{ inputs.version }}
3840
-d ${{ inputs.date }}
3941
42+
- name: Save static code analysis
43+
run: bandit -r . -x ./tests,./scripts,./build -f txt -o static_code_analysis.txt --exit-zero
44+
4045
- name: Create pull request
4146
id: cpr
4247
uses: peter-evans/create-pull-request@v4
4348
with:
4449
token: ${{ secrets.GH_ACCESS_TOKEN }}
45-
commit-message: Release notes for v${{ inputs.version }}
50+
commit-message: Prepare release for v${{ inputs.version }}
4651
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
4752
committer: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
48-
title: v${{ inputs.version }} Release Notes
49-
body: "This is an auto-generated PR to update the release notes."
50-
branch: release-notes
53+
title: v${{ inputs.version }} Release Preparation
54+
body: "This is an auto-generated PR to prepare the release."
55+
branch: prepared-release
5156
branch-suffix: short-commit-hash
5257
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] # skip windows bc rundoc fails
1515
steps:
1616
- uses: actions/checkout@v4

.github/workflows/static_code_analysis.yml

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

.github/workflows/unit.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ 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']
17+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1418
os: [ubuntu-latest, windows-latest]
1519
include:
1620
- os: macos-latest
1721
python-version: '3.8'
1822
- os: macos-latest
19-
python-version: '3.12'
23+
python-version: '3.13'
2024
steps:
2125
- uses: actions/checkout@v4
2226
- name: Set up Python ${{ matrix.python-version }}
@@ -32,7 +36,7 @@ jobs:
3236
- name: Run Unit tests
3337
run: invoke unit
3438

35-
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
39+
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
3640
name: Upload unit codecov report
3741
uses: codecov/codecov-action@v4
3842
with:

HISTORY.md

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

3+
## v1.14.0 - 2025-02-11
4+
5+
### New Features
6+
7+
* Add `LogScaler` transformer - Issue [#930](https://github.com/sdv-dev/RDT/issues/930) by @rwedge
8+
* Add `LogitScaler` transformer - Issue [#929](https://github.com/sdv-dev/RDT/issues/929) by @frances-h
9+
10+
### Maintenance
11+
12+
* Cancel previous workflow runs on a new push - Issue [#927](https://github.com/sdv-dev/RDT/issues/927) by @R-Palazzo
13+
* Combine `static_code_analysis.yml` with `release_notes.yml` - Issue [#915](https://github.com/sdv-dev/RDT/issues/915) by @R-Palazzo
14+
* Support Python 3.13 - Issue [#899](https://github.com/sdv-dev/RDT/issues/899) by @rwedge
15+
316
## v1.13.2 - 2024-12-16
417

518
### Bugs Fixed

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Requirements
44

55
**RDT** has been developed and tested on
6-
[Python 3.8, 3.9, 3.10, 3.11 and 3.12](https://www.python.org/downloads/)
6+
[Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13](https://www.python.org/downloads/)
77

88
Also, although it is not strictly required, the usage of a [virtualenv](
99
https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid

latest_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Faker==33.1.0
2-
copulas==0.12.0
1+
Faker==35.2.0
2+
copulas==0.12.1
33
numpy==2.0.2
44
pandas==2.2.3
5-
scikit-learn==1.6.0
5+
scikit-learn==1.6.1
66
scipy==1.13.1

pyproject.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,32 @@ classifiers = [
1313
'Programming Language :: Python :: 3.10',
1414
'Programming Language :: Python :: 3.11',
1515
'Programming Language :: Python :: 3.12',
16+
'Programming Language :: Python :: 3.13',
1617
'Topic :: Scientific/Engineering :: Artificial Intelligence',
1718
]
1819
keywords = ['machine learning', 'synthetic data generation', 'benchmark', 'generative models']
1920
dynamic = ['version']
2021
license = { text = 'BSL-1.1' }
21-
requires-python = '>=3.8,<3.13'
22+
requires-python = '>=3.8,<3.14'
2223
readme = 'README.md'
2324
dependencies = [
2425
"numpy>=1.21.0;python_version<'3.10'",
2526
"numpy>=1.23.3;python_version>='3.10' and python_version<'3.12'",
26-
"numpy>=1.26.0;python_version>='3.12'",
27+
"numpy>=1.26.0;python_version>='3.12' and python_version<'3.13'",
28+
"numpy>=2.1.0;python_version>='3.13'",
2729
"pandas>=1.4.0;python_version<'3.11'",
2830
"pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'",
29-
"pandas>=2.1.1;python_version>='3.12'",
31+
"pandas>=2.1.1;python_version>='3.12' and python_version<'3.13'",
32+
"pandas>=2.2.3;python_version>='3.13'",
3033
"scipy>=1.7.3;python_version<'3.10'",
3134
"scipy>=1.9.2;python_version>='3.10' and python_version<'3.12'",
32-
"scipy>=1.12.0;python_version>='3.12'",
35+
"scipy>=1.12.0;python_version>='3.12' and python_version<'3.13'",
36+
"scipy>=1.14.1;python_version>='3.13'",
3337
"scikit-learn>=1.0.2;python_version<'3.10'",
3438
"scikit-learn>=1.1.0;python_version>='3.10' and python_version<'3.11'",
3539
"scikit-learn>=1.1.3;python_version>='3.11' and python_version<'3.12'",
36-
"scikit-learn>=1.3.1;python_version>='3.12'",
40+
"scikit-learn>=1.3.1;python_version>='3.12' and python_version<'3.13'",
41+
"scikit-learn>=1.5.2;python_version>='3.13'",
3742
'Faker>=17',
3843
]
3944

@@ -48,7 +53,7 @@ dependencies = [
4853
rdt = { main = 'rdt.cli.__main__:main' }
4954

5055
[project.optional-dependencies]
51-
copulas = ['copulas>=0.12.0',]
56+
copulas = ['copulas>=0.12.1',]
5257
pyarrow = ['pyarrow>=17.0.0']
5358
test = [
5459
'rdt[pyarrow]',
@@ -139,7 +144,7 @@ collect_ignore = ['pyproject.toml']
139144
exclude_lines = ['NotImplementedError()']
140145

141146
[tool.bumpversion]
142-
current_version = "1.13.2"
147+
current_version = "1.14.0.dev1"
143148
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
144149
serialize = [
145150
'{major}.{minor}.{patch}.{release}{candidate}',

0 commit comments

Comments
 (0)