def test_minimum_qpdf_version(): from pikepdf import _qpdf pyproject_toml = toml.load(Path(__file__).parent / '../pyproject.toml') toml_env = pyproject_toml['tool']['cibuildwheel']['environment'] assert Version(_qpdf.qpdf_version()) >= Version( toml_env['QPDF_MIN_VERSION'])
def test_minimum_qpdf_version(): from pikepdf import _qpdf assert _qpdf.qpdf_version() >= '7.0.0'
def test_minimum_qpdf_version(): from pikepdf import _qpdf assert LooseVersion(_qpdf.qpdf_version()) >= LooseVersion('10.0.0')