Skip to content

Commit ce25860

Browse files
committed
Added python 3.14 support and fixed black
1 parent 18e1a54 commit ce25860

7 files changed

Lines changed: 628 additions & 561 deletions

File tree

poetry.lock

Lines changed: 623 additions & 556 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "schema-enforcer"
3-
version = "1.5.2a0"
3+
version = "1.5.2"
44
description = "Tool/Framework for testing structured data against schema definitions"
55
authors = ["Network to Code, LLC <info@networktocode.com>"]
66
license = "Apache-2.0"
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.11",
1616
"Programming Language :: Python :: 3.12",
1717
"Programming Language :: Python :: 3.13",
18+
"Programming Language :: Python :: 3.14",
1819
]
1920
include = [
2021
"CHANGELOG.md",
@@ -26,7 +27,7 @@ packages = [
2627
]
2728

2829
[tool.poetry.dependencies]
29-
python = ">=3.10,<3.14"
30+
python = ">=3.10,<3.15"
3031
# Packages
3132
click = ">=8.2.0"
3233
jinja2 = ">=3.1.6,<4.0.0"

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from schema_enforcer.utils import load_file
66
from schema_enforcer.schemas.jsonschema import JsonSchema
77

8-
98
FIXTURES_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "fixtures", "test_jsonschema")
109
FORMAT_CHECK_ERROR_MESSAGE_MAPPING = {
1110
"incorrect_regex_format": "'[' is not a 'regex'",

tests/fixtures/test_validators_pydantic/pydantic_validators/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44

55
from schema_enforcer.schemas.manager import PydanticManager
66

7-
87
manager1 = PydanticManager(models=[Hostname, Interfaces])
98
manager2 = PydanticManager(prefix="pydantic", models=[Hostname, Interfaces, Dns])

tests/test_ansible_inventory.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
from schema_enforcer.ansible_inventory import AnsibleInventory
77

8-
98
INVENTORY_DIR = "tests/mocks/inventory"
109

1110

tests/test_jsonschema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# pylint: disable=redefined-outer-name
22
"""Tests to validate functions defined in jsonschema.py"""
3+
34
import os
45
import pytest
56

tests/test_schemas_schema_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# pylint: disable=redefined-outer-name
22
"""Test manager.py SchemaManager class"""
3+
34
import os
45
import pytest
56
from schema_enforcer.schemas.manager import SchemaManager

0 commit comments

Comments
 (0)