Skip to content

Commit

Permalink
tried fixing, but failed
Browse files Browse the repository at this point in the history
  • Loading branch information
watakandai committed Jul 26, 2024
1 parent de8ea8f commit 0031124
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 40 deletions.
7 changes: 7 additions & 0 deletions .github/actions/setup-poetry-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ runs:
run: |
poetry env use py
- name : Install suite-sparse for mac to install cvxopt
if: runner.os == 'macOS'
shell: bash
run: |
brew install suite-sparse
poetry run pip install cvxopt==1.3.2
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
cache-key: ${{ format(env.venv-cache-key-fmt, env.os, steps.setup-python.outputs.python-version, hashFiles('**/poetry.lock')) }}
python-version: ${{ steps.setup-python.outputs.python-version }}
poetry-install-args: --no-interaction --with dev
poetry-install-args: --no-interaction --with docs

- name: Sphinx build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
cache-key: ${{ format(env.venv-cache-key-fmt, env.os, steps.setup-python.outputs.python-version, hashFiles('**/poetry.lock')) }}
python-version: ${{ steps.setup-python.outputs.python-version }}
poetry-install-args: --no-interaction --with dev
poetry-install-args: --no-interaction --with docs

- name: Sphinx build
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: '🧪 Test'
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
py-test:
Expand Down
33 changes: 1 addition & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ readme = "README.md"
python = ">=3.8,<3.13"
bidict = "^0.23.1"
click = "^8.1.7"
# For Linux, Mac (not M1), and Windows
cvxopt = [
{version=">=1.3.2", python = ">=3.9"},
{version="=1.2.7", python = "=3.8"}
]
# For Linux and Windows. TESTS FAIL ON MAC FOR python3.8!!!
# cvxopt = [
# {version="^1.3.2", platform="linux"},
# {version="^1.3.2", platform="win32"},
# ]
# 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 == "arm"'}
distinctipy = "^1.3.4"
graphviz = "^0.20.3"
gurobipy = {version="10.0.3"}
Expand Down

0 comments on commit 0031124

Please sign in to comment.