From e00d5ba5c8e498a641cfb5581705693e4949c54a Mon Sep 17 00:00:00 2001 From: pdmurray Date: Tue, 12 Nov 2024 15:03:03 -0800 Subject: [PATCH] Pin max version of `setuptools` --- conda-store-server/pyproject.toml | 6 ++++-- conda-store/pyproject.toml | 4 +--- .../community/contribute/local-setup-labextension.md | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conda-store-server/pyproject.toml b/conda-store-server/pyproject.toml index 1df935516..1b1aa8d29 100644 --- a/conda-store-server/pyproject.toml +++ b/conda-store-server/pyproject.toml @@ -55,7 +55,6 @@ dependencies = [ "flower", "itsdangerous", "jinja2", - "packaging>=24", "pyjwt", "psycopg2-binary", "pymysql", @@ -66,7 +65,10 @@ dependencies = [ "requests", "pydantic >=1.10.16,<2.0a0", "python-multipart", - "setuptools>74", + # setuptools>=70 uses local version of packaging (and other deps) without + # pinning them; conda-lock depends on this, but also doesn't pin the setuptools + # version. See https://github.com/pypa/setuptools/issues/4478 for details + "setuptools<70", "sqlalchemy<2.0a0", "traitlets", "uvicorn", diff --git a/conda-store/pyproject.toml b/conda-store/pyproject.toml index a82b4027c..4930325ab 100644 --- a/conda-store/pyproject.toml +++ b/conda-store/pyproject.toml @@ -11,7 +11,7 @@ name = "conda-store" description = "conda-store client" readme = "README.md" license = "BSD-3-Clause" -requires-python = ">=3.8" +requires-python = ">=3.10,<3.13" keywords = [ "conda", "dependency management", @@ -31,8 +31,6 @@ classifiers = [ "Topic :: Software Development :: Build Tools", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/docusaurus-docs/community/contribute/local-setup-labextension.md b/docusaurus-docs/community/contribute/local-setup-labextension.md index 499a56223..a0ce1170a 100644 --- a/docusaurus-docs/community/contribute/local-setup-labextension.md +++ b/docusaurus-docs/community/contribute/local-setup-labextension.md @@ -9,7 +9,7 @@ description: Local development setup for jupyterlab-conda-store - Local [clone of your fork](community/contribute/contribute-code#setup-for-local-development) of the [`jupyterlab-conda-store-ui` repository](https://github.com/conda-incubator/jupyterlab-conda-store) - [NodeJS `> 18`](https://nodejs.org/en/download/) installed on your local computer to build the extension package. -- Python `>= 3.8` (and `pip`) +- Python `>= 3.10` (and `pip`) ## Build and link the extension