Skip to content

Conversation

@imciner2
Copy link
Member

No description provided.

@vineetbansal
Copy link
Contributor

@AmitSolomonPrinceton - the tests in nn_test.py are working fine on my Linux machine with numpy 2.2.2 and torch 2.6.0. Was the intention here to disable the tests only for macs?

@AmitSolomonPrinceton
Copy link
Collaborator

@vineetbansal I wanted to be on the safer side, but we can change this as we see fit.

@vineetbansal
Copy link
Contributor

@AmitSolomonPrinceton - there's no matrix parameter like python-version, and likely never will be (since we let cibuildwheel decide what versions to use, and don't care about running cibuildwheel itself under many different interpreters). Let's hold on to this PR for a short while and see how PR #165 progresses..

@vineetbansal
Copy link
Contributor

@AmitSolomonPrinceton, @imciner2 - I think PR #165 can be reviewed/merged in preference to this one. In case there are any additional platforms to add to the CI, we can do it in PR #165

@imciner2
Copy link
Member Author

I've updated this to now only be the aarch64 runner enablement, since Python 3.13 is already enabled on master.

@imciner2
Copy link
Member Author

The 3.13 tests are failing on the arm64 runner here because it seems to be unable to install the Torch dependency:

  Collecting jinja2 (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
  Collecting numpy>=1.7 (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Downloading numpy-2.2.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (63 kB)
  Collecting qdldl (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Downloading qdldl-0.1.7.post5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (1.7 kB)
  Collecting scipy>=0.13.2 (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Downloading scipy-1.15.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (61 kB)
  Collecting setuptools (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Using cached setuptools-76.0.0-py3-none-any.whl.metadata (6.7 kB)
  Collecting joblib (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Using cached joblib-1.4.2-py3-none-any.whl.metadata (5.4 kB)
  Collecting pre-commit (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Using cached pre_commit-4.1.0-py2.py3-none-any.whl.metadata (1.3 kB)
  Collecting pytest>=6 (from osqp==0.1.dev1+gb3262fc->osqp==0.1.dev1+gb3262fc)
    Using cached pytest-8.3.5-py3-none-any.whl.metadata (7.6 kB)
  INFO: pip is looking at multiple versions of osqp[dev] to determine which version is compatible with other requirements. This could take a while.
  ERROR: Ignored the following versions that require a different python version: 1.10.0 Requires-Python <3.12,>=3.8; 1.10.0rc1 Requires-Python <3.12,>=3.8; 1.10.0rc2 Requires-Python <3.12,>=3.8; 1.10.1 Requires-Python <3.12,>=3.8; 1.11.0 Requires-Python <3.13,>=3.9; 1.11.0rc1 Requires-Python <3.13,>=3.9; 1.11.0rc2 Requires-Python <3.13,>=3.9; 1.11.1 Requires-Python <3.13,>=3.9; 1.11.2 Requires-Python <3.13,>=3.9; 1.11.3 Requires-Python <3.13,>=3.9; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11; 1.9.0 Requires-Python >=3.8,<3.12; 1.9.0rc1 Requires-Python >=3.8,<3.12; 1.9.0rc2 Requires-Python >=3.8,<3.12; 1.9.0rc3 Requires-Python >=3.8,<3.12; 1.9.1 Requires-Python >=3.8,<3.12
  ERROR: Could not find a version that satisfies the requirement torch; extra == "dev" (from osqp[dev]) (from versions: none)
  ERROR: No matching distribution found for torch; extra == "dev"

@vineetbansal any ideas why it wouldn't be able to install the newest Torch version here?

@vineetbansal
Copy link
Contributor

Closing this as the current master branch does generate wheels for 3.13 correctly.

@imciner2 imciner2 added the ci Continuous integration label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants