diff --git a/Dockerfile b/Dockerfile index 46393aab..9e3c5f0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ COPY requirements.txt WebHostLib/requirements.txt RUN pip install --no-cache-dir -r \ WebHostLib/requirements.txt \ - setuptools + "setuptools<81" COPY _speedups.pyx . COPY intset.h . diff --git a/ModuleUpdate.py b/ModuleUpdate.py index e6ac570e..2e58c4f7 100644 --- a/ModuleUpdate.py +++ b/ModuleUpdate.py @@ -78,7 +78,7 @@ def install_pkg_resources(yes=False): check_pip() if not yes: confirm("pkg_resources not found, press enter to install it") - subprocess.call([sys.executable, "-m", "pip", "install", "--upgrade", "setuptools"]) + subprocess.call([sys.executable, "-m", "pip", "install", "--upgrade", "setuptools<81"]) def update(yes: bool = False, force: bool = False) -> None: