Skip to content

Commit 46f419a

Browse files
committed
make release-tag: Merge branch 'main' into stable
2 parents 5302858 + 22e4e1b commit 46f419a

File tree

7 files changed

+70
-7
lines changed

7 files changed

+70
-7
lines changed

.github/workflows/install.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Install Tests
2+
on:
3+
pull_request:
4+
types: [opened, synchronize]
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
install:
15+
name: ${{ matrix.python_version }} install
16+
strategy:
17+
fail-fast: true
18+
matrix:
19+
python_version: ["3.9", "3.13"]
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Set up python ${{ matrix.python_version }}
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: ${{ matrix.python_version }}
26+
- uses: actions/checkout@v4
27+
- name: Build package
28+
run: |
29+
make package
30+
- name: Install package
31+
run: |
32+
python -m pip install "unpacked_sdist/."
33+
- name: Test by importing packages
34+
run: |
35+
python -c "import sdgym"
36+
python -c "import sdgym;print(sdgym.__version__)"
37+
- name: Check package conflicts
38+
run: |
39+
python -m pip check

HISTORY.md

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

3+
## v0.11.1 - 2025-11-03
4+
5+
### Bugs Fixed
6+
7+
* Missing dependency openpyxl - Issue [#479](https://github.com/sdv-dev/SDGym/issues/479) by @rwedge
8+
39
## v0.11.0 - 2025-10-31
410

511
### New Features

Makefile

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ endif
212212

213213
.PHONY: check-deps
214214
check-deps: # Dependency targets
215-
$(eval allow_list='appdirs=|compress-pickle=|humanfriendly=|numpy=|pandas=|\
215+
$(eval allow_list='appdirs=|compress-pickle=|humanfriendly=|numpy=|openpyxl=|pandas=|\
216216
psutil=|scikit-learn=|scipy=|tabulate=|torch=|tqdm=|XlsxWriter=|rdt=|sdmetrics=|sdv=')
217217
pip freeze | grep -v "SDMetrics.git" | grep -E $(allow_list) | sort > $(OUTPUT_FILEPATH)
218218

@@ -238,3 +238,22 @@ release-minor: check-release bumpversion-minor release
238238

239239
.PHONY: release-major
240240
release-major: check-release bumpversion-major release
241+
242+
.PHONY: upgradepip
243+
upgradepip:
244+
python -m pip install --upgrade pip
245+
246+
.PHONY: upgradebuild
247+
upgradebuild:
248+
python -m pip install --upgrade build
249+
250+
.PHONY: upgradesetuptools
251+
upgradesetuptools:
252+
python -m pip install --upgrade setuptools
253+
254+
.PHONY: package
255+
package: upgradepip upgradebuild upgradesetuptools
256+
python -m build ; \
257+
$(eval VERSION=$(shell python -c 'import setuptools; setuptools.setup()' --version))
258+
tar -zxvf "dist/sdgym-${VERSION}.tar.gz"
259+
mv "sdgym-${VERSION}" unpacked_sdist

latest_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ numpy==2.3.4
55
pandas==2.3.3
66
rdt==1.18.2
77
scikit-learn==1.7.2
8-
scipy==1.16.2
8+
scipy==1.16.3
99
sdmetrics==0.23.0
1010
sdv==1.28.0
1111
tabulate==0.8.10

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
"numpy>=1.24.0;python_version>='3.10' and python_version<'3.12'",
3232
"numpy>=1.26.0;python_version>='3.12' and python_version<'3.13'",
3333
"numpy>=2.1.0;python_version>='3.13'",
34+
'openpyxl>=3.1.2',
3435
"pandas>=1.4.0;python_version<'3.11'",
3536
"pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'",
3637
"pandas>=2.1.1;python_version>='3.12' and python_version<'3.13'",
@@ -78,8 +79,6 @@ test = [
7879
'jupyter>=1.0.0,<2',
7980
'tomli>=2.0.0,<3',
8081
'slack-sdk>=3.23,<4.0',
81-
"openpyxl>=3.0.0; python_version<'3.9'",
82-
"openpyxl>=3.1.2; python_version>='3.9'",
8382
'pydrive2>=1.4.0,<2.0.0'
8483
]
8584
dev = [
@@ -145,7 +144,7 @@ namespaces = false
145144
version = {attr = 'sdgym.__version__'}
146145

147146
[tool.bumpversion]
148-
current_version = "0.11.0"
147+
current_version = "0.11.1.dev1"
149148
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
150149
serialize = [
151150
'{major}.{minor}.{patch}.{release}{candidate}',

sdgym/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__copyright__ = 'Copyright (c) 2022 DataCebo, Inc.'
99
__email__ = '[email protected]'
1010
__license__ = 'BSL-1.1'
11-
__version__ = '0.11.0'
11+
__version__ = '0.11.1.dev1'
1212

1313
import logging
1414

static_code_analysis.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Run started:2025-10-31 21:31:35.616789
1+
Run started:2025-11-03 21:42:26.598320
22

33
Test results:
44
>> Issue: [B403:blacklist] Consider possible security implications associated with pickle module.

0 commit comments

Comments
 (0)