From 96f56d788e2a2533223d2a5cd048fc3afda2db0b Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Wed, 24 Apr 2024 09:54:50 +0400 Subject: [PATCH] Install `setuptools` needed by `pgcli` (#4191) --- api/pdm.lock | 13 ++++++++++++- api/pyproject.toml | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/api/pdm.lock b/api/pdm.lock index c899a82f225..c2b6c640f95 100644 --- a/api/pdm.lock +++ b/api/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev", "overrides", "test"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:74b23aaad4e685cc28731311ccfa796682759a06372d4dbe7a4c1f9f5c342037" +content_hash = "sha256:6f1ab08ad6b7d958853793eb783a39eadbce3257070ab404b111c7390ed85cf6" [[package]] name = "adrf" @@ -1693,6 +1693,17 @@ files = [ {file = "setproctitle-1.3.3.tar.gz", hash = "sha256:c913e151e7ea01567837ff037a23ca8740192880198b7fbb90b16d181607caae"}, ] +[[package]] +name = "setuptools" +version = "69.5.1" +requires_python = ">=3.8" +summary = "Easily download, build, install, upgrade, and uninstall Python packages" +groups = ["dev"] +files = [ + {file = "setuptools-69.5.1-py3-none-any.whl", hash = "sha256:c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32"}, + {file = "setuptools-69.5.1.tar.gz", hash = "sha256:6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987"}, +] + [[package]] name = "six" version = "1.16.0" diff --git a/api/pyproject.toml b/api/pyproject.toml index 1368dee8b4e..4ab67187157 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "python-xmp-toolkit >=2.0.2, <3", "sentry-sdk >=1.40.6, <2", "uvicorn[standard] >=0.27.1, <0.28", - "openverse-attribution @ file:///${PROJECT_ROOT}/../packages/python/openverse-attribution" + "openverse-attribution @ file:///${PROJECT_ROOT}/../packages/python/openverse-attribution", ] [tool.pdm] @@ -51,6 +51,7 @@ dev = [ "ipython >=8.22.1, <9", "pgcli >=3.5.0, <4", "remote-pdb >=2.1.0, <3", + "setuptools >=69.5.1,<70", ] test = [ "factory-boy >=3.3.0, <4",