python-constraint2 2.0.1__tar.gz → 2.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/PKG-INFO +3 -2
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/README.rst +2 -1
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/constraints.c +6 -6
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/domain.c +5 -5
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/problem.c +6 -6
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/solvers.c +566 -477
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/solvers.py +10 -5
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/pyproject.toml +6 -2
- python_constraint2-2.0.3/tests/__init__.py +0 -0
- python_constraint2-2.0.3/tests/setup_teardown.py +40 -0
- python_constraint2-2.0.3/tests/test_compilation.py +17 -0
- python_constraint2-2.0.3/tests/test_constraint.py +127 -0
- python_constraint2-2.0.3/tests/test_doctests.py +10 -0
- python_constraint2-2.0.3/tests/test_problem.py +27 -0
- python_constraint2-2.0.3/tests/test_solvers.py +72 -0
- python_constraint2-2.0.3/tests/test_some_not_in_set.py +99 -0
- python_constraint2-2.0.3/tests/test_toml_file.py +72 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/LICENSE +0 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/__init__.py +0 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/constraints.py +0 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/domain.py +0 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/constraint/problem.py +0 -0
- {python_constraint2-2.0.1 → python_constraint2-2.0.3}/cythonize_build.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: python-constraint2
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.3
|
|
4
4
|
Summary: python-constraint is a module for efficiently solving CSPs (Constraint Solving Problems) over finite domains.
|
|
5
5
|
License: BSD-2-Clause
|
|
6
6
|
Keywords: CSP,constraint solving problems,problem solver,SMT,satisfiability modulo theory,SAT
|
|
@@ -200,8 +200,9 @@ For an overview of recent changes, visit the `Changelog <https://github.com/pyth
|
|
|
200
200
|
|
|
201
201
|
Planned development:
|
|
202
202
|
|
|
203
|
-
- Add parallel-capable solver
|
|
204
203
|
- Add a string parser for constraints
|
|
204
|
+
- Add parallel-capable solver
|
|
205
|
+
- Add `benchmarking tests <https://pypi.org/project/pytest-benchmark/>`_ automated with `GH actions <https://github.com/benchmark-action/github-action-benchmark>`_
|
|
205
206
|
- Versioned documentation
|
|
206
207
|
|
|
207
208
|
Contact
|
|
@@ -168,8 +168,9 @@ For an overview of recent changes, visit the `Changelog <https://github.com/pyth
|
|
|
168
168
|
|
|
169
169
|
Planned development:
|
|
170
170
|
|
|
171
|
-
- Add parallel-capable solver
|
|
172
171
|
- Add a string parser for constraints
|
|
172
|
+
- Add parallel-capable solver
|
|
173
|
+
- Add `benchmarking tests <https://pypi.org/project/pytest-benchmark/>`_ automated with `GH actions <https://github.com/benchmark-action/github-action-benchmark>`_
|
|
173
174
|
- Versioned documentation
|
|
174
175
|
|
|
175
176
|
Contact
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -39,10 +39,10 @@ END: Cython Metadata */
|
|
|
39
39
|
#else
|
|
40
40
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
41
41
|
#endif
|
|
42
|
-
#define CYTHON_ABI "
|
|
42
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
43
43
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
44
44
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
45
|
-
#define CYTHON_HEX_VERSION
|
|
45
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
46
46
|
#define CYTHON_FUTURE_DIVISION 1
|
|
47
47
|
#include <stddef.h>
|
|
48
48
|
#ifndef offsetof
|
|
@@ -1828,7 +1828,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1828
1828
|
#if !CYTHON_VECTORCALL
|
|
1829
1829
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1830
1830
|
#include "frameobject.h"
|
|
1831
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1831
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1832
1832
|
#ifndef Py_BUILD_CORE
|
|
1833
1833
|
#define Py_BUILD_CORE 1
|
|
1834
1834
|
#endif
|
|
@@ -27254,7 +27254,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
27254
27254
|
#include "compile.h"
|
|
27255
27255
|
#include "frameobject.h"
|
|
27256
27256
|
#include "traceback.h"
|
|
27257
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
27257
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
27258
27258
|
#ifndef Py_BUILD_CORE
|
|
27259
27259
|
#define Py_BUILD_CORE 1
|
|
27260
27260
|
#endif
|
|
@@ -28367,7 +28367,7 @@ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name
|
|
|
28367
28367
|
|
|
28368
28368
|
/* CoroutineBase */
|
|
28369
28369
|
#include <frameobject.h>
|
|
28370
|
-
#if PY_VERSION_HEX >= 0x030b00a6
|
|
28370
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
|
|
28371
28371
|
#ifndef Py_BUILD_CORE
|
|
28372
28372
|
#define Py_BUILD_CORE 1
|
|
28373
28373
|
#endif
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -39,10 +39,10 @@ END: Cython Metadata */
|
|
|
39
39
|
#else
|
|
40
40
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
41
41
|
#endif
|
|
42
|
-
#define CYTHON_ABI "
|
|
42
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
43
43
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
44
44
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
45
|
-
#define CYTHON_HEX_VERSION
|
|
45
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
46
46
|
#define CYTHON_FUTURE_DIVISION 1
|
|
47
47
|
#include <stddef.h>
|
|
48
48
|
#ifndef offsetof
|
|
@@ -1742,7 +1742,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1742
1742
|
#if !CYTHON_VECTORCALL
|
|
1743
1743
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1744
1744
|
#include "frameobject.h"
|
|
1745
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1745
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1746
1746
|
#ifndef Py_BUILD_CORE
|
|
1747
1747
|
#define Py_BUILD_CORE 1
|
|
1748
1748
|
#endif
|
|
@@ -8000,7 +8000,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
8000
8000
|
#include "compile.h"
|
|
8001
8001
|
#include "frameobject.h"
|
|
8002
8002
|
#include "traceback.h"
|
|
8003
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
8003
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
8004
8004
|
#ifndef Py_BUILD_CORE
|
|
8005
8005
|
#define Py_BUILD_CORE 1
|
|
8006
8006
|
#endif
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -39,10 +39,10 @@ END: Cython Metadata */
|
|
|
39
39
|
#else
|
|
40
40
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
41
41
|
#endif
|
|
42
|
-
#define CYTHON_ABI "
|
|
42
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
43
43
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
44
44
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
45
|
-
#define CYTHON_HEX_VERSION
|
|
45
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
46
46
|
#define CYTHON_FUTURE_DIVISION 1
|
|
47
47
|
#include <stddef.h>
|
|
48
48
|
#ifndef offsetof
|
|
@@ -1825,7 +1825,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1825
1825
|
#if !CYTHON_VECTORCALL
|
|
1826
1826
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1827
1827
|
#include "frameobject.h"
|
|
1828
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1828
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1829
1829
|
#ifndef Py_BUILD_CORE
|
|
1830
1830
|
#define Py_BUILD_CORE 1
|
|
1831
1831
|
#endif
|
|
@@ -13804,7 +13804,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
13804
13804
|
#include "compile.h"
|
|
13805
13805
|
#include "frameobject.h"
|
|
13806
13806
|
#include "traceback.h"
|
|
13807
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
13807
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
13808
13808
|
#ifndef Py_BUILD_CORE
|
|
13809
13809
|
#define Py_BUILD_CORE 1
|
|
13810
13810
|
#endif
|
|
@@ -14889,7 +14889,7 @@ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value,
|
|
|
14889
14889
|
|
|
14890
14890
|
/* CoroutineBase */
|
|
14891
14891
|
#include <frameobject.h>
|
|
14892
|
-
#if PY_VERSION_HEX >= 0x030b00a6
|
|
14892
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !defined(PYPY_VERSION)
|
|
14893
14893
|
#ifndef Py_BUILD_CORE
|
|
14894
14894
|
#define Py_BUILD_CORE 1
|
|
14895
14895
|
#endif
|