Skip to content

Commit 61adde8

Browse files
committed
make release-tag: Merge branch 'master' into stable
2 parents d728f5f + 1048531 commit 61adde8

Some content is hidden

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

67 files changed

+970
-1129
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Request a new feature that you would like to see implemented in SDV
44
title: ''
5-
labels: new feature, new
5+
labels: feature request, new
66
assignees: ''
77

88
---

.github/workflows/integration.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Integration Tests
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
unit:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
python-version: [3.6, 3.7, 3.8, 3.9]
13-
os: [ubuntu-latest, macos-10.15, windows-latest]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1415
steps:
1516
- uses: actions/checkout@v1
1617
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/lint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Style Checks
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
lint:

.github/workflows/minimum.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Unit Tests Minimum Versions
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
minimum:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
python-version: [3.6, 3.7, 3.8, 3.9]
13-
os: [ubuntu-latest, macos-10.15, windows-latest]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1415
steps:
1516
- uses: actions/checkout@v1
1617
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/readme.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Test README
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
readme:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
python-version: [3.6, 3.7, 3.8, 3.9]
13-
os: [ubuntu-latest, macos-10.15] # skip windows bc rundoc fails
14+
os: [ubuntu-latest, macos-latest] # skip windows bc rundoc fails
1415
steps:
1516
- uses: actions/checkout@v1
1617
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tutorials.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Run Tutorials
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
tutorials:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
python-version: [3.6, 3.7, 3.8, 3.9]
13-
os: [ubuntu-latest, macos-10.15, windows-latest]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1415
steps:
1516
- uses: actions/checkout@v1
1617
- name: Set up Python ${{ matrix.python-version }}
@@ -34,5 +35,9 @@ jobs:
3435
run: python -m pip install pywinpty==2.0.1
3536
- name: Install package and dependencies
3637
run: pip install invoke jupyter .
38+
39+
- if: matrix.python-version != 3.6
40+
name: Install NBConvert
41+
run: pip install nbconvert==6.4.5 nbformat==5.4.0
3742
- name: invoke tutorials
3843
run: invoke tutorials

.github/workflows/unit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Unit Tests
22

33
on:
4-
- push
5-
- pull_request
4+
push:
5+
pull_request:
6+
types: [opened, reopened]
67

78
jobs:
89
unit:
910
runs-on: ${{ matrix.os }}
1011
strategy:
1112
matrix:
1213
python-version: [3.6, 3.7, 3.8, 3.9]
13-
os: [ubuntu-latest, macos-10.15, windows-latest]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1415
steps:
1516
- uses: actions/checkout@v1
1617
- name: Set up Python ${{ matrix.python-version }}

HISTORY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Release Notes
22

3+
## 0.17.0 - 2022-09-09
4+
5+
This release updates the code to use RDT version 1.2.0 and greater, so that those new features are now available in SDV. This changes the transformers that are available in SDV models to be those that are in RDT version 1.2.0. As a result, some arguments for initializing models have changed.
6+
7+
Additionally, this release fixes bugs related to loading models with custom constraints. It also fixes a bug that added `NaNs` to the index of sampled data when using `sample_remaining_columns`.
8+
9+
### Bugs Fixed
10+
11+
* Incorrect rounding in Custom Constraint example - Issue [#941](https://github.com/sdv-dev/SDV/issues/941) by @amontanez24
12+
* Can't save the model if use the custom constraint - Issue [#928](https://github.com/sdv-dev/SDV/issues/928) by @pvk-developer
13+
* User Guide code fixes - Issue [#983](https://github.com/sdv-dev/SDV/issues/983) by @amontanez24
14+
* Index contains NaNs when using sample_remaining_columns - Issue [#985](https://github.com/sdv-dev/SDV/issues/985) by @amontanez24
15+
* Cannot sample after loading a model with custom constraints: TypeError - Issue [#984](https://github.com/sdv-dev/SDV/issues/984) by @pvk-developer
16+
* Set HyperTransformer config manually, based on Metadata if given - Issue [#982](https://github.com/sdv-dev/SDV/issues/982) by @pvk-developer
17+
18+
### New Features
19+
20+
* Change default metrics for evaluate - Issue [#949](https://github.com/sdv-dev/SDV/issues/949) by @fealho
21+
22+
### Maintenance
23+
24+
* Update the RDT version to 1.0 - Issue [#897](https://github.com/sdv-dev/SDV/issues/897) by @pvk-developer
25+
326
## 0.16.0 - 2022-07-21
427

528
This release brings user friendly improvements and bug fixes on the `SDV` constraints, to help

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ test-tutorials: ## run the tutorial notebooks
134134
invoke tutorials
135135

136136
.PHONY: test
137-
test: test-unit test-readme test-tutorials ## test everything that needs test dependencies
137+
test: test-unit test-integration test-readme test-tutorials ## test everything that needs test dependencies
138138

139139
.PHONY: test-all
140140
test-all: ## run tests on every Python version with tox

conda/meta.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = 'sdv' %}
2-
{% set version = '0.16.0' %}
2+
{% set version = '0.17.0.dev3' %}
33

44
package:
55
name: "{{ name|lower }}"
@@ -19,29 +19,29 @@ requirements:
1919
- pytest-runner
2020
- graphviz
2121
- python >=3.6,<3.10
22-
- faker >=3.0.0,<10
22+
- faker >=10,<15
2323
- python-graphviz >=0.13.2,<1
2424
- numpy >=1.18.0,<2
2525
- pandas >=1.1.3,<2
2626
- tqdm >=4.15,<5
27-
- copulas >=0.6.0,<0.7
28-
- ctgan >=0.5.0,<0.6
27+
- copulas >=0.7.0,<0.8
28+
- ctgan >=0.5.2,<0.6
2929
- deepecho >=0.3.0.post1,<0.4
30-
- rdt >=0.6.1,<0.7
31-
- sdmetrics >=0.4.1,<0.5
30+
- rdt >=1.2.0,<2
31+
- sdmetrics >=0.6.0,<0.7
3232
run:
3333
- graphviz
3434
- python >=3.6,<3.10
35-
- faker >=3.0.0,<10
35+
- faker >=10,<15
3636
- python-graphviz >=0.13.2,<1
3737
- numpy >=1.18.0,<2
3838
- pandas >=1.1.3,<2
3939
- tqdm >=4.15,<5
40-
- copulas >=0.6.0,<0.7
41-
- ctgan >=0.5.0,<0.6
40+
- copulas >=0.7.0,<0.8
41+
- ctgan >=0.5.2,<0.6
4242
- deepecho >=0.3.0.post1,<0.4
43-
- rdt >=0.6.1,<0.7
44-
- sdmetrics >=0.4.1,<0.5
43+
- rdt >=1.2.0,<2
44+
- sdmetrics >=0.6.0,<0.7
4545

4646
about:
4747
home: "https://sdv.dev"

0 commit comments

Comments
 (0)