Skip to content

Commit

Permalink
make release-tag: Merge branch 'main' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
amontanez24 committed Aug 7, 2024
2 parents 64a3143 + 200a95b commit e1e4524
Show file tree
Hide file tree
Showing 20 changed files with 298 additions and 111 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
python-version: '3.12'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} for arm64
if: ${{ matrix.os == 'macos-latest' && matrix.python-version == '3.8' }}
uses: "gabrielfalcao/pyenv-action@v17"
with:
default: ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
if: ${{ matrix.os != 'macos-latest' || matrix.python-version != '3.8' }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down
14 changes: 14 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# History

## v0.9.0 - 2024-08-07

This release enables the diagnostic score to be computed in a benchmarking run. It also renames the `IndependentSynthesizer` to `ColumnSynthesizer`. Finally, it fixes a bug so that the time for all metrics will now be used to compute the `Evaluate_Time` column in the results.

### Bugs Fixed

* Cap numpy to less than 2.0.0 until SDGym supports - Issue [#313](https://github.com/sdv-dev/SDGym/issues/313) by @gsheni
* The returned `Evaluate_Time` does not include results from all metrics - Issue [#310](https://github.com/sdv-dev/SDGym/issues/310) by @lajohn4747

### New Features

* Rename `IndependentSynthesizer` to `ColumnSynthesizer` - Issue [#319](https://github.com/sdv-dev/SDGym/issues/319) by @lajohn4747
* Allow the ability to compute diagnostic score in a benchmarking run - Issue [#311](https://github.com/sdv-dev/SDGym/issues/311) by @lajohn4747

## v0.8.0 - 2024-06-07

This release adds support for both Python 3.11 and 3.12! It also drops support for Python 3.7.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ lint:

.PHONY: fix-lint
fix-lint:
ruff check --fix .
ruff format
invoke fix-lint


# TEST TARGETS
.PHONY: test-unit
Expand Down
10 changes: 5 additions & 5 deletions latest_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ compress-pickle==2.1.0
humanfriendly==10.0
numpy==1.26.4
pandas==2.2.2
rdt==1.12.1
scikit-learn==1.5.0
rdt==1.12.2
scikit-learn==1.5.1
scipy==1.13.1
sdmetrics==0.14.1
sdv==1.13.1
sdmetrics==0.15.0
sdv==1.15.0
tabulate==0.8.10
torch==2.3.0
torch==2.3.1
tqdm==4.66.4
33 changes: 23 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ dependencies = [
'botocore>=1.31,<2',
'compress-pickle>=1.2.0',
'humanfriendly>=8.2',
"numpy>=1.21.0;python_version<'3.10'",
"numpy>=1.23.3,<2;python_version>='3.10' and python_version<'3.12'",
"numpy>=1.26.0,<2;python_version>='3.12'",
"numpy>=1.21.0,<2.0.0;python_version<'3.10'",
"numpy>=1.23.3,<2.0.0;python_version>='3.10' and python_version<'3.12'",
"numpy>=1.26.0,<2.0.0;python_version>='3.12'",
"pandas>=1.4.0;python_version<'3.11'",
"pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'",
"pandas>=2.1.1;python_version>='3.12'",
Expand Down Expand Up @@ -133,7 +133,7 @@ namespaces = false
version = {attr = 'sdgym.__version__'}

[tool.bumpversion]
current_version = "0.8.0"
current_version = "0.9.0.dev1"
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
serialize = [
'{major}.{minor}.{patch}.{release}{candidate}',
Expand Down Expand Up @@ -179,7 +179,8 @@ exclude = [
".tox",
".git",
"__pycache__",
".ipynb_checkpoints"
".ipynb_checkpoints",
"tasks.py",
]

[tool.ruff.lint]
Expand All @@ -189,14 +190,22 @@ select = [
# Pycodestyle
"E",
"W",
"D200",
# pydocstyle
"D",
# isort
"I001",
# print statements
"T201",
# pandas-vet
"PD"
]
ignore = [
"E501",
# pydocstyle
"D107", # Missing docstring in __init__
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://github.com/PyCQA/pydocstyle/issues/449
"PD901",
"PD101",
]

[tool.ruff.format]
Expand All @@ -206,14 +215,18 @@ preview = true
docstring-code-format = true
docstring-code-line-length = "dynamic"

[tool.ruff.lint.pep8-naming]
extend-ignore-names = ["X", "C", "X_padded", "Y", "Y_padded"]

[tool.ruff.lint.isort]
known-first-party = ["sdgym"]
lines-between-types = 0

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]
"errors.py" = ["D105"]
"tests/**.py" = ["D"]

[tool.ruff.lint.pydocstyle]
convention = "google"
convention = "google"

[tool.ruff.lint.pycodestyle]
max-doc-length = 100
max-line-length = 100
2 changes: 1 addition & 1 deletion sdgym/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__copyright__ = 'Copyright (c) 2022 DataCebo, Inc.'
__email__ = '[email protected]'
__license__ = 'BSL-1.1'
__version__ = '0.8.0'
__version__ = '0.9.0.dev1'

import logging

Expand Down
Loading

0 comments on commit e1e4524

Please sign in to comment.