Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ead48a6
update lxml
evanvolgas Jun 18, 2025
9ddab38
Replace pkg_resources with importlib.metadata for version retrieval i…
AlejandroEsquivel Jul 14, 2025
e4160c3
Bump the npm_and_yarn group across 1 directory with 2 updates
dependabot[bot] Jul 18, 2025
1667366
fix tests
CalebCourier Sep 11, 2025
4590fbb
open up lxml version range
CalebCourier Sep 11, 2025
fb3f70e
Merge pull request #1295 from guardrails-ai/chore/remove-pkg-resources
CalebCourier Sep 11, 2025
61073cc
Merge pull request #1279 from sifaka-ai/lxml
CalebCourier Sep 11, 2025
602615c
Merge pull request #1299 from guardrails-ai/dependabot/npm_and_yarn/n…
CalebCourier Sep 11, 2025
fe270a0
Merge pull request #1310 from guardrails-ai/lxml
CalebCourier Sep 11, 2025
89558ef
switch to project dependencies; open up verison ranges
CalebCourier Sep 12, 2025
b283e04
test numpy 2, remove todos
CalebCourier Sep 12, 2025
c022c83
install dev deps for license check step
CalebCourier Sep 12, 2025
52c5de9
with -> extras
CalebCourier Sep 12, 2025
f957d6b
Merge pull request #1312 from guardrails-ai/open-version-ranges
CalebCourier Sep 12, 2025
c7968ea
bump version
CalebCourier Sep 12, 2025
d5aa9eb
update poetry.lock
CalebCourier Sep 12, 2025
d7a3eb6
downgrade pyright until we can dedicate a task to upgrading
CalebCourier Sep 12, 2025
ed9df65
lock transformers to lower version range bc of jsonformer
CalebCourier Sep 12, 2025
1feaf72
remove extraneous enum field that was introduced in pydantic 2.7 by e…
CalebCourier Sep 12, 2025
62b13c9
autoformat
CalebCourier Sep 12, 2025
e6b7dc3
autoformat
CalebCourier Sep 12, 2025
6ba86cd
update license list
CalebCourier Sep 12, 2025
2975c39
npm audit fixews
CalebCourier Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# Setup Virtual Environment
python3 -m venv ./.venv
source .venv/bin/activate
poetry install
poetry install --extras dev

- name: Check license
run: |
Expand Down
4 changes: 2 additions & 2 deletions guardrails/hub/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from string import Template
from typing import Callable, cast, List

import pkg_resources
import importlib.metadata

from guardrails.hub.validator_package_service import (
ValidatorPackageService,
Expand Down Expand Up @@ -149,7 +149,7 @@ def install(
installed_version_message = ""
with contextlib.suppress(Exception):
package_name = ValidatorPackageService.get_normalized_package_name(validator_id)
installed_version = pkg_resources.get_distribution(package_name).version
installed_version = importlib.metadata.version(package_name)
if installed_version:
installed_version_message = f" version {installed_version}"

Expand Down
45 changes: 30 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading