pyoframe 0.1.1__tar.gz → 0.1.2__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.
- {pyoframe-0.1.1/src/pyoframe.egg-info → pyoframe-0.1.2}/PKG-INFO +1 -1
- {pyoframe-0.1.1 → pyoframe-0.1.2}/pyproject.toml +1 -1
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/constants.py +3 -3
- {pyoframe-0.1.1 → pyoframe-0.1.2/src/pyoframe.egg-info}/PKG-INFO +1 -1
- {pyoframe-0.1.1 → pyoframe-0.1.2}/LICENSE +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/README.md +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/setup.cfg +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/__init__.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/_arithmetic.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/core.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/model.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/model_element.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/monkey_patch.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/objective.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe/util.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe.egg-info/SOURCES.txt +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe.egg-info/dependency_links.txt +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe.egg-info/requires.txt +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/src/pyoframe.egg-info/top_level.txt +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_arithmetic.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_examples.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_io.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_model.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_operations.py +0 -0
- {pyoframe-0.1.1 → pyoframe-0.1.2}/tests/test_solver.py +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
File containing shared constants used across the package.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
-
import importlib.metadata
|
|
6
5
|
import typing
|
|
7
6
|
from enum import Enum
|
|
8
7
|
from typing import Literal, Optional
|
|
@@ -11,8 +10,9 @@ import polars as pl
|
|
|
11
10
|
import pyoptinterface as poi
|
|
12
11
|
from packaging import version
|
|
13
12
|
|
|
14
|
-
#
|
|
15
|
-
|
|
13
|
+
# Constant to help split our logic depending on the polars version in use.
|
|
14
|
+
# This approach is compatible with polars-lts-cpu.
|
|
15
|
+
POLARS_VERSION = version.parse(pl.__version__)
|
|
16
16
|
|
|
17
17
|
COEF_KEY = "__coeff"
|
|
18
18
|
VAR_KEY = "__variable_id"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|