Skip to content

Commit

Permalink
Move from ~= to >=,< in python dependencies
Browse files Browse the repository at this point in the history
Due to certain vagaries of how pip resolves ~= dependency listings,
we are moving to a consistent >=,< approach instead of the ~=
syntax.

This commit makes the change across the dbt-semantic-interfaces
pyproject.toml in preparation for updating some other dependency
versions.
  • Loading branch information
tlento committed Feb 15, 2024
1 parent 23e6318 commit cd9a15b
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ classifiers = [
]
dependencies = [
"pydantic>=1.10,<3",
"jsonschema~=4.0",
"PyYAML~=6.0",
"jsonschema>=4.0,<5",
"PyYAML>=6.0,<7",
"more-itertools>=8.0,<11.0",
"Jinja2~=3.0",
"Jinja2>=3.0,<4",
"click>=7.0,<9.0",
"python-dateutil~=2.0",
"importlib_metadata~=6.0",
"typing-extensions~=4.4",
"python-dateutil>=2.0,<3",
"importlib_metadata>=6.0,<7",
"typing-extensions>=4.4,<5",
]

[build-system]
Expand Down Expand Up @@ -58,20 +58,20 @@ 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",
"pytest-xdist~=3.2",
"httpx~=0.24",
"hypothesis~=6.87",
"pre-commit~=3.2",
"isort~=5.12",
"black~=23.3",
"pytest>=7.3,<8",
"pytest-xdist>=3.2,<4",
"httpx>=0.24,<0.25",
"hypothesis>=6.87,<7",
"pre-commit>=3.2,<4",
"isort>=5.12,<6",
"black>=23.3,<24",
"ruff==0.0.260",
"mypy~=1.3",
"pytest~=7.3",
"types-Jinja2~=2.11",
"types-jsonschema~=4.17",
"types-python-dateutil~=2.8",
"types-PyYAML~=6.0",
"mypy>=1.3,<2",
"pytest>=7.3,<8",
"types-Jinja2>=2.11,<3",
"types-jsonschema>=4.17,<5",
"types-python-dateutil>=2.8,<3",
"types-PyYAML>=6.0,<7",
]

[tool.ruff]
Expand Down

0 comments on commit cd9a15b

Please sign in to comment.