diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index bad5ab3..766e58a 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -94,8 +94,8 @@ jobs: strategy: matrix: python_version: ["3.9", "3.10", "3.11", "3.12"] - pydantic_version: ["2.2.1", "2.3.0", "2.4.2", "2.5.0"] - pyyaml_version: ["5.4.1", "6.0"] + pydantic_version: ["2.2.1", "2.3.0", "2.4.2", "2.7.1"] + pyyaml_version: ["6.0.1"] runs-on: ubuntu-latest continue-on-error: true steps: diff --git a/dev-requirements.txt b/dev-requirements.txt index f91fc28..0d0d24b 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,11 +2,11 @@ black==23.3.0 mypy==1.4.0 nox>=2023 packaging>=22.0 -pre-commit==2.9.3 +pre-commit==3.7.1 pylint==2.10.0 pytest==7.3.1 pytest-cov==2.11.1 requests-mock==1.8.0 setuptools>=64.0.2 types-PyYAML -xenon==0.7.3 +xenon==0.9.1 diff --git a/noxfile.py b/noxfile.py index 95bc821..39c9642 100644 --- a/noxfile.py +++ b/noxfile.py @@ -5,8 +5,8 @@ # These should match what is in the `pr_checks.yml` file for CI runs TESTED_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"] -TESTED_PYDANTIC_VERSIONS = ["2.2.1", "2.3.0", "2.4.2", "2.5.0"] -TESTED_PYYAML_VERSIONS = ["5.4.1", "6.0"] +TESTED_PYDANTIC_VERSIONS = ["2.2.1", "2.3.0", "2.4.2", "2.7.1"] +TESTED_PYYAML_VERSIONS = ["5.5.1", "6.0.1"] def install_requirements(session: nox.Session) -> None: diff --git a/pyproject.toml b/pyproject.toml index 47a2608..c9befed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,13 +9,12 @@ name = "fideslang" description = "Fides Taxonomy Language" dynamic = ["dependencies", "version"] readme = "README.md" -requires-python = ">=3.8, <4" +requires-python = ">=3.9, <4" authors = [{ name = "Ethyca, Inc.", email = "fidesteam@ethyca.com" }] license = { text = "Apache License 2.0" } classifiers = [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/requirements.txt b/requirements.txt index a9e0607..a7e5078 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pydantic>=2.2.1,<=2.6.0 +pydantic>=2.2.1,<=2.7.1 pyyaml>=5,<7 packaging>=20.0 bump-pydantic==0.8.0 \ No newline at end of file diff --git a/src/fideslang/validation.py b/src/fideslang/validation.py index cfd8c3b..007e238 100644 --- a/src/fideslang/validation.py +++ b/src/fideslang/validation.py @@ -3,7 +3,7 @@ """ import re from collections import Counter -from typing import Dict, Generator, List, Optional, Pattern, Set, Tuple +from typing import Dict, List, Optional, Pattern, Set, Tuple from typing_extensions import Annotated from packaging.version import Version