Skip to content

Commit 6e65ea3

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 402f182 commit 6e65ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

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

0 commit comments

Comments
 (0)