Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update continuous integration #299

Merged
merged 14 commits into from May 22, 2024
Merged

Update continuous integration #299

merged 14 commits into from May 22, 2024

Conversation

stephane-caron
Copy link
Member

@stephane-caron stephane-caron commented May 9, 2024

  • Update ruff to 0.4.3
  • Remove Python 3.7 from continuous integration tests
  • Fix licensed solver test environment

@stephane-caron stephane-caron changed the title Update ruff to 0.4.3 Update ruff and remove Python 3.7 from CI May 9, 2024
@stephane-caron stephane-caron changed the title Update ruff and remove Python 3.7 from CI Update continuous integration May 9, 2024
@stephane-caron
Copy link
Member Author

Waiting on #300 before moving on with this PR.

It is not available any more in macos-latest runner images:

    Version 3.7 was not found in the local cache
    Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.4.1.
    The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
... as it does not distribute wheels:

    lint-py38-macos: exit 1 (3.92 seconds) /Users/runner/work/qpsolvers/qpsolvers> python -I -m pip install 'clarabel>=0.4.1' 'daqp>=0.5.1' 'ecos>=2.0.8' 'gurobipy>=9.5.2' 'highspy>=1.1.2.dev3' 'numpy>=1.15.4' 'osqp>=0.6.2.post9' 'piqp>=0.2.2' 'proxsuite>=0.2.9' 'qpalm>=1.2.1' 'quadprog>=0.1.11' 'scipy>=1.2.0' 'scs>=3.2.0' pid=4827
    [31mERROR: Could not find a version that satisfies the requirement gurobipy>=9.5.2 (from versions: none)
      coverage-py38-macos: FAIL code 1 (5.52 seconds)
    ERROR: No matching distribution found for gurobipy>=9.5.2
    [39m[31mERROR: Could not find a version that satisfies the requirement gurobipy>=9.5.2 (from versions: none)
    ERROR: No matching distribution found for gurobipy>=9.5.2
Because CVXOPT does not supply ARM64 wheels for Python versions anterior
to 3.9, see https://pypi.org/project/cvxopt/#files
It currently fails with:

    MOSEK error 1014 (MSK_RES_ERR_FLEXLM): The license manager reported 'Invalid license file syntax.
    Feature:       PTS
    License path:  D:\a\qpsolvers\qpsolvers/mosek.lic;
    FlexNet Licensing error:-2,413'.
@stephane-caron stephane-caron merged commit fd20603 into main May 22, 2024
29 checks passed
@stephane-caron stephane-caron deleted the update/ruff branch May 22, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant