Skip to content

Commit bd61546

Browse files
committed
Improve pyproject, setup and tox using pytest
1 parent ebbd0c0 commit bd61546

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools>=68.2.2", "wheel"]
2+
requires = ["setuptools>=75.8.2", "wheel"]
33
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = hpsklearn
3-
version = 1.0.3
3+
version = 1.1.0
44
description = Hyperparameter Optimization for sklearn
55
long_description = file: README.md
66
url = http://hyperopt.github.com/hyperopt-sklearn/
@@ -11,7 +11,7 @@ license_file = LICENSE.txt
1111
platforms = Linux, OS-X, Windows
1212
keywords = hyperopt, hyperparameter, sklearn
1313
classifiers =
14-
Development Status :: 1.0.3 - Alpha
14+
Development Status :: 1.1.0 - Alpha
1515
Intended Audience :: Education
1616
Intended Audience :: Science/Research
1717
Intended Audience :: Developers
@@ -23,25 +23,29 @@ classifiers =
2323
Operating System :: Unix
2424
Programming Language :: Python :: 3
2525
Programming Language :: Python :: 3 :: Only
26-
Programming Language :: Python :: 3.9
27-
Programming Language :: Python :: 3.10
2826
Programming Language :: Python :: 3.11
27+
Programming Language :: Python :: 3.12
28+
Programming Language :: Python :: 3.13
2929
Topic :: Scientific/Engineering
3030
Topic :: Software Development
3131

3232
[options]
3333
packages =
3434
find:
3535
install_requires =
36-
hyperopt>=0.2.6
37-
numpy>=1.26.0
38-
scikit-learn>=1.3.0
39-
scipy>=1.11.2
40-
python_requires = >=3.9
36+
hyperopt==0.2.7
37+
numpy>=2.0.0
38+
scikit-learn>=1.5,<=1.7
39+
scipy>=1.15.0
40+
pandas>=2.1.0
41+
python_requires = >=3.11
4142
zip_safe = False
4243

4344
[options.extras_require]
4445
xgboost = xgboost>=2.0.0
45-
lightgbm = lightgbm>=4.0.0
46+
lightgbm = lightgbm>=4.6.0
4647
testing =
47-
tox>=4.11.3
48+
tox>=4.20.0
49+
coverage==7.6.12
50+
pytest==8.3.5
51+
pytest-xdist==3.6.1

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[tox]
22
minversion = 3.7.0
3-
envlist = py39, py310, py311, flake8
3+
envlist = py311, py312, py313, flake8
44
isolated_build = true
55

66
[gh-actions]
77
python =
8-
3.9: py39
9-
3.10: py310
10-
3.11: py311, flake8
8+
3.11: py311
9+
3.12: py312
10+
3.13: py313, flake8
1111

1212
[testenv]
1313
setenv =
1414
PYTHONPATH = {toxinidir}
1515
deps =
1616
-r{toxinidir}/requirements_dev.txt
1717
commands =
18-
coverage run -m unittest discover
18+
coverage run -m pytest -n auto
1919
coverage report -m
2020

2121
[testenv:flake8]
22-
basepython = python3.11
22+
basepython = python3.13
2323
deps = flake8
2424
commands = flake8 --max-line-length=120 --ignore=F401,W504 hpsklearn tests

0 commit comments

Comments
 (0)