Skip to content

Commit

Permalink
cvxpy v1.5.2 (#94)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Jun 19, 2024
2 parents 76c37d0 + f809197 commit 9a0a18d
Show file tree
Hide file tree
Showing 18 changed files with 70 additions and 33 deletions.
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.22python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.22python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.22python3.9.____73_pypy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.22python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_64_numpy1.26python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
Expand Down
2 changes: 2 additions & 0 deletions .ci_support/osx_arm64_numpy1.26python3.12.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
MACOSX_SDK_VERSION:
- '11.0'
c_compiler:
- clang
c_compiler_version:
Expand Down
4 changes: 2 additions & 2 deletions .gitattributes

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

7 changes: 7 additions & 0 deletions .scripts/build_steps.sh

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

7 changes: 7 additions & 0 deletions .scripts/run_osx_build.sh

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

5 changes: 5 additions & 0 deletions .scripts/run_win_build.bat

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

10 changes: 5 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{% set name = "cvxpy" %}
{% set version = "1.5.1" %}
{% set version = "1.5.2" %}

package:
name: cvxpy-split
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 225c90abe61a143dde2ff72d1acf9875b58d8c047ad589abc1b735640735dbfc
sha256: 8231f006f6b55da141758282aecb788b3b5742448765dba6a9440b6336080ce3
patches:
# avoid https://github.com/cvxpy/cvxpy/issues/2447
- patches/0001-reinstate-package-name-in-setup.py.patch
# test that fails due to timing issues on slow CI agents when in emulation
- patches/0001-loosen-time-limit-in-test_scipy_mi_time_limit_reache.patch

build:
number: 1
number: 0

# Need these up here for conda-smithy to handle them properly.
requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 5868af2b7649031ad86c069839ef1d199c1079f2 Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <[email protected]>
Date: Wed, 19 Jun 2024 10:31:29 +1100
Subject: [PATCH] loosen time-limit in test_scipy_mi_time_limit_reached

---
cvxpy/tests/test_conic_solvers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cvxpy/tests/test_conic_solvers.py b/cvxpy/tests/test_conic_solvers.py
index ad2206eb3..083272a19 100644
--- a/cvxpy/tests/test_conic_solvers.py
+++ b/cvxpy/tests/test_conic_solvers.py
@@ -2229,7 +2229,7 @@ class TestSCIPY(unittest.TestCase):
sth = sths.mi_lp_7()

# We only check that the option does not raise an error.
- sth.solve(solver='SCIPY', scipy_options={"time_limit": 0.1})
+ sth.solve(solver='SCIPY', scipy_options={"time_limit": 1})

@unittest.skipUnless('SCIPY' in INSTALLED_MI_SOLVERS, 'SCIPY version cannot solve MILPs')
def test_scipy_mi_solver_stats(self) -> None:
26 changes: 0 additions & 26 deletions recipe/patches/0001-reinstate-package-name-in-setup.py.patch

This file was deleted.

0 comments on commit 9a0a18d

Please sign in to comment.