Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
watakandai committed Jul 25, 2024
1 parent a1f80dd commit ba8d364
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tox-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
# python-version: ['3.9']
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10']
poetry-version: ['1.8.3']
include:
Expand Down Expand Up @@ -73,6 +71,7 @@ jobs:
run: brew install graphviz

- name: Debug
if: matrix.os == 'windows-latest' && matrix.python-version == '3.8'
env:
PYTHON_SETUP_VERSION: ${{ steps.setup-python.outputs.python-version}}
CACHE_KEY: ${{ format(matrix.poetry-cache-key-fmt, matrix.poetry-version, matrix.os, steps.setup-python.outputs.python-version) }}
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python = "^3.8"
bidict = "^0.23.1"
click = "^8.1.7"
# For Linux, Mac (not M1), and Windows
cvxopt = {version="^1.3.2", markers='sys_platform != "darwin" or platform_machine == "x86_64"'}
cvxopt = {version="^1.3.2", markers='sys_platform != "darwin" or platform_machine == "x86_64" or python'}
distinctipy = "^1.3.4"
graphviz = "^0.20.3"
gurobipy = {version="10.0.3"}
Expand All @@ -24,7 +24,7 @@ gymnasium = "^0.29.1"
ipykernel = "^6.29.5"
ipython = "^8.12.3"
# For MacOS M1
kvxopt={version="1.3.2.0", markers='sys_platform == "darwin" and platform_machine != "x86_64"'}
kvxopt={version="1.3.2.0", markers='sys_platform == "darwin" and platform_machine != "x86_64"', python = ">=3.9"} # 3.8 not supported. 3.8 gives an error. "This error originates from the build backend, and is likely not a problem with poetry but with cvxopt (1.3.2) not supporting PEP 517 builds"
ltlf2dfa = "^1.0.1"
matplotlib = "^3.7.5"
moviepy = "^1.0.3"
Expand Down

0 comments on commit ba8d364

Please sign in to comment.