Skip to content

Commit

Permalink
v1.17.4 Release Preparation (#2352)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrew Montanez <[email protected]>
  • Loading branch information
3 people authored Jan 20, 2025
1 parent f46814c commit 3f4d8e7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 25 deletions.
21 changes: 20 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Release Notes

### v1.17.3 - 2024-12-17
## v1.17.4 - 2025-01-20

### New Features

* Update the warning that's displayed when using HMA on complex schemas - Issue [#2277](https://github.com/sdv-dev/SDV/issues/2277) by @R-Palazzo

### Bugs Fixed

* Release Notes generator is creating new notes incorrectly - Issue [#2348](https://github.com/sdv-dev/SDV/issues/2348) by @amontanez24
* Support the ability to pass in `None` for both `get_column_plot` and `get_column_pair_plot` - Issue [#2343](https://github.com/sdv-dev/SDV/issues/2343) by @R-Palazzo
* Metadata `anonymize` doesn't produce the right `METADATA_SPEC_VERSION` - Issue [#2304](https://github.com/sdv-dev/SDV/issues/2304) by @R-Palazzo
* GaussianCopula `get_learned_distributions` crashes if nothing was learned - Issue [#2297](https://github.com/sdv-dev/SDV/issues/2297) by @R-Palazzo
* Sampling with HMA Synthesizer generates many `SingleTableMetadata` deprecation warnings - Issue [#2290](https://github.com/sdv-dev/SDV/issues/2290) by @R-Palazzo

### Maintenance

* Include stack trace when sampling errors are surfaced - Issue [#2326](https://github.com/sdv-dev/SDV/issues/2326) by @amontanez24
* Combine `static_code_analysis.yml` with `release_notes.yml` - Issue [#2305](https://github.com/sdv-dev/SDV/issues/2305) by @R-Palazzo

## v1.17.3 - 2024-12-17

### Maintenance

Expand Down
46 changes: 22 additions & 24 deletions static_code_analysis.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
Run started:2024-12-17 20:19:16.200992
Run started:2025-01-17 16:23:18.747664

Test results:
>> Issue: [B105:hardcoded_password_string] Possible hardcoded password: '# Release Notes

'
Severity: Low Confidence: Medium
CWE: CWE-259 (https://cwe.mitre.org/data/definitions/259.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b105_hardcoded_password_string.html
Location: ./scripts/release_notes_generator.py:134:12
133
134 token = '# Release Notes\n\n'
135 split_index = history.find(token) + len(token) + 1

--------------------------------------------------
>> Issue: [B110:try_except_pass] Try, Except, Pass detected.
Severity: Low Confidence: High
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
Expand Down Expand Up @@ -43,6 +31,16 @@ Test results:
17 assert path.exists(), 'The expected file was not found.'
18 module_path = path.parent

--------------------------------------------------
>> Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp).
Severity: Medium Confidence: High
CWE: CWE-377 (https://cwe.mitre.org/data/definitions/377.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/blacklists/blacklist_calls.html#b306-mktemp-q
Location: ./sdv/logging/utils.py:23:19
22 else:
23 tmp_path = tempfile.mktemp(dir=store_path, suffix='.yml')
24 shutil.copyfile(config_path, tmp_path)

--------------------------------------------------
>> Issue: [B110:try_except_pass] Try, Except, Pass detected.
Severity: Low Confidence: High
Expand All @@ -59,29 +57,29 @@ Test results:
Severity: Low Confidence: High
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b110_try_except_pass.html
Location: ./sdv/multi_table/hma.py:354:12
353 index.append(foreign_key_value)
354 except Exception:
355 # Skip children rows subsets that fail
356 pass
357
Location: ./sdv/multi_table/hma.py:355:12
354 index.append(foreign_key_value)
355 except Exception:
356 # Skip children rows subsets that fail
357 pass
358

--------------------------------------------------

Code scanned:
Total lines of code: 12942
Total lines of code: 12855
Total lines skipped (#nosec): 0
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
Total issues (by severity):
Undefined: 0
Low: 6
Medium: 0
Low: 5
Medium: 1
High: 0
Total issues (by confidence):
Undefined: 0
Low: 0
Medium: 2
High: 4
Medium: 1
High: 5
Files skipped (0):

0 comments on commit 3f4d8e7

Please sign in to comment.