Skip to content

Commit 673ffdb

Browse files
committed
set upperbound version for setuptools
1 parent 54f0361 commit 673ffdb

3 files changed

Lines changed: 37 additions & 41 deletions

File tree

.github/workflows/build-python.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ jobs:
194194
- name: Lint code
195195
run: uv run ruff check giskard tests
196196

197-
- name: Ensure setuptools with pkg_resources is available for mlflow
198-
run: |
199-
uv pip install "setuptools<70"
200-
201197
- name: Test code
202198
run: uv run pytest -c pyproject.toml --cov=giskard --cov-report=xml --cov-append --disable-warnings --no-header -vv --durations=0 -n auto -m 'not slow' --use-subprocess tests
203199
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ dependencies = [
149149
"chardet", # text metadata
150150
"jinja2>=3", # scan template
151151
"requests-toolbelt>=0.9.1",
152-
"setuptools", # used for pkg_resources
152+
"setuptools<70", # used for pkg_resources, <70 to ensure pkg_resources is available
153153
"typing_extensions", # used in registry/decorators, for python <3.10
154154
"pyyaml",
155155
"packaging", # used in settings

uv.lock

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)