Skip to content

Commit

Permalink
Merge pull request #112 from dbt-labs/plypaul--42--relax-deps
Browse files Browse the repository at this point in the history
Relax Dependencies for Better Compatibility with Other Projects
  • Loading branch information
plypaul committed Jul 12, 2023
2 parents 9b98c5e + 5fcb77c commit 1307550
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 24 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230711-141108.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Dependencies
body: elax Dependencies for Better Compatibility with Other Projects
time: 2023-07-11T14:11:08.034583-07:00
custom:
Author: plypaul
PR: "111"
5 changes: 0 additions & 5 deletions dbt_semantic_interfaces/implementations/semantic_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@
PydanticCustomInputParser,
PydanticParseableValueType,
)
from dbt_semantic_interfaces.protocols.semantic_version import SemanticVersion


class PydanticSemanticVersion(PydanticCustomInputParser, HashableBaseModel):
"""Pydantic implementation of SemanticVersion."""

@override
def _implements_protocol(self) -> SemanticVersion:
return self

major_version: str
minor_version: str
patch_version: Optional[str]
Expand Down
38 changes: 19 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"pydantic~=1.10.8",
"jsonschema==3.2.0",
"pydantic~=1.10",
"jsonschema~=3.0",
"PyYAML~=6.0",
"more-itertools==8.10.0",
"Jinja2==3.1.2",
"click>=7.1.2",
"python-dateutil==2.8.2",
"importlib_metadata==6.6.0",
"typing-extensions~=4.6.1",
"more-itertools~=8.0",
"Jinja2~=3.0",
"click>=7.0,<9.0",
"python-dateutil~=2.0",
"importlib_metadata~=6.0",
"typing-extensions~=4.0",
]

[build-system]
Expand All @@ -53,19 +53,19 @@ all = ["pre-commit run --all-files"]
[tool.hatch.envs.dev-env]
description = "Env for running development commands like pytest / pre-commit"
dependencies = [
"pytest~=7.3.0",
"pytest-xdist~=3.2.1",
"httpx~=0.24.0",
"pre-commit~=3.2.2",
"isort~=5.12.0",
"black~=23.3.0",
"pytest~=7.3",
"pytest-xdist~=3.2",
"httpx~=0.24",
"pre-commit~=3.2",
"isort~=5.12",
"black~=23.3",
"ruff~=0.0.260",
"mypy~=1.3.0",
"pytest~=7.3.0",
"types-Jinja2~=2.11.9",
"mypy~=1.3",
"pytest~=7.3",
"types-Jinja2~=2.11",
"types-jsonschema~=4.17",
"types-python-dateutil~=2.8.19",
"types-PyYAML~=6.0.12",
"types-python-dateutil~=2.8",
"types-PyYAML~=6.0",
]

[tool.ruff]
Expand Down

0 comments on commit 1307550

Please sign in to comment.