Skip to content

Commit 77ba318

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 89400d5 commit 77ba318

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
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
strategy:
3535
matrix:
36-
python-version: ["3.7", "3.8", "3.9"]
36+
python-version: ["3.7", "3.8"]
3737
env:
3838
MINIZINC_URL: https://github.com/MiniZinc/MiniZincIDE/releases/download/2.6.3/MiniZincIDE-2.6.3-x86_64.AppImage
3939
steps:

0 commit comments

Comments
 (0)