Skip to content

Commit 725d421

Browse files
committed
Remove python 3.9 tests as they crash for now
The error traceback: /opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/site-packages/discrete_optimization/tsp/tsp_model.py:267: in <module> class Point2D(Point, NamedTuple): /opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/typing.py:1929: in _namedtuple_mro_entries raise TypeError("Multiple inheritance with NamedTuple is not supported") E TypeError: Multiple inheritance with NamedTuple is not supported Coming from python/cpython#19363 Potential solution: replace NamedTuple by Dataclass(frozen=True)
1 parent 328b2b0 commit 725d421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_do.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
38-
python-version: ["3.7", "3.8", "3.9"]
38+
python-version: ["3.7", "3.8"]
3939
include:
4040
- os: "ubuntu-latest"
4141
minizinc_path: $(pwd)/bin

0 commit comments

Comments
 (0)