Skip to content

Commit

Permalink
Add 2.7.1 to pydantic matrix -
Browse files Browse the repository at this point in the history
- Bump xenon and pre-commit in dev-requirements
  • Loading branch information
pattisdr committed Jun 16, 2024
1 parent 3fa9cb7 commit abc66ec
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/fideslang/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abc66ec

Please sign in to comment.