From 331d5c9dc7ad108f56d57e11eb011a4e487e28d0 Mon Sep 17 00:00:00 2001 From: mckib2 Date: Wed, 28 Oct 2020 19:21:43 -0700 Subject: [PATCH 1/3] Fix double-bounded variable condition; resolves issue #11 --- glpk/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glpk/_utils.py b/glpk/_utils.py index b868703..33cd312 100644 --- a/glpk/_utils.py +++ b/glpk/_utils.py @@ -21,7 +21,7 @@ def _convert_bounds(processed_bounds): elif ub in {np.inf, None}: # lb <= x < inf bounds[ii] = (GLPK.GLP_LO, lb, 0) - elif ub < lb: + elif lb < ub: # lb <= x <= ub bounds[ii] = (GLPK.GLP_DB, lb, ub) else: From 8b6fe241049c30b9debf3f782b7e32e683a0195e Mon Sep 17 00:00:00 2001 From: mckib2 Date: Wed, 28 Oct 2020 19:22:04 -0700 Subject: [PATCH 2/3] Python 3.5 EOL; resolves issue #10 --- .github/workflows/github-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-deploy.yml b/.github/workflows/github-deploy.yml index 2df5f86..de82c6d 100644 --- a/.github/workflows/github-deploy.yml +++ b/.github/workflows/github-deploy.yml @@ -11,7 +11,7 @@ on: - published env: - CIBW_SKIP: cp27-* pp27-* # skip python2.7 builds + CIBW_SKIP: cp27-* pp27-* cp35-* # skip python2.7 builds, python3.5 EOL jobs: build_wheels: From aacff0dff5c873309bb2dbdbbd4b6c77039b9615 Mon Sep 17 00:00:00 2001 From: mckib2 Date: Wed, 28 Oct 2020 19:22:10 -0700 Subject: [PATCH 3/3] Bump version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8ae8e6a..92d5a43 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def get_export_symbols(self, ext): setup( name='scikit-glpk', - version='0.3.0', + version='0.3.1', author='Nicholas McKibben', author_email='nicholas.bgp@gmail.com', url='https://github.com/mckib2/scikit-glpk',