Skip to content

Commit 7f4daa9

Browse files
committed
ci update
1 parent 9e9742e commit 7f4daa9

File tree

5 files changed

+42
-39
lines changed

5 files changed

+42
-39
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
- name: Upgrade pip
2828
run: python -m pip install --upgrade pip
2929
- name: Install dependencies
30-
run: pip install -r requirements.txt
31-
- name: Check
30+
run: pip install .
31+
- name: Run tests
3232
shell: bash
3333
run: |
34-
pip install -e .
3534
python -m unittest discover -v tests

CHANGELOG

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ CHANGELOG
33
=========
44

55
-------------------------------------------------------------------------------
6-
Nov 24, 2025 2.1.1
6+
Nov 24, 2025 2.1.2
77
-------------------------------------------------------------------------------
8-
- update setup.py to move from Python 3.8 to Python 3.10+.
8+
- Migrate from setup.py to pyproject.toml
9+
- Going forward, instead of using `python setup.py sdist bdist_wheel` use `python -m build` (requires `pip install build`)
10+
- Followed by `twine upload dist/* --verbose`
911

1012
-------------------------------------------------------------------------------
1113
Nov 24, 2025 2.1.0

balans/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.1.1"
1+
__version__ = "2.1.2"

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "balans"
7+
description = "Balans: Bandit-based Adaptive Large Neighborhood Search"
8+
readme = "README.md"
9+
requires-python = ">=3.10"
10+
license = "Apache-2.0"
11+
authors = [
12+
{name = "skadio"}
13+
]
14+
classifiers = [
15+
"Programming Language :: Python :: 3.10",
16+
"Operating System :: OS Independent",
17+
]
18+
dependencies = [
19+
"alns[mabwiser]",
20+
"mabwiser",
21+
"numpy",
22+
"pyscipopt",
23+
"gurobipy"
24+
]
25+
dynamic = ["version"]
26+
27+
[project.urls]
28+
Documentation = "https://github.com/skadio/balans"
29+
Source = "https://github.com/skadio/balans"
30+
31+
[tool.setuptools.dynamic]
32+
version = {attr = "balans._version.__version__"}
33+
34+
[tool.setuptools.packages.find]
35+
exclude = ["*.tests", "*.tests.*", "tests.*", "tests", "notebooks"]

setup.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)