mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
fix(deps): Lock setuptools version to <81 (#5284)
- Update Dockerfile to specify "setuptools<81" - Modify ModuleUpdate.py to install setuptools with version constraint
This commit is contained in:
@@ -28,7 +28,7 @@ COPY requirements.txt WebHostLib/requirements.txt
|
|||||||
|
|
||||||
RUN pip install --no-cache-dir -r \
|
RUN pip install --no-cache-dir -r \
|
||||||
WebHostLib/requirements.txt \
|
WebHostLib/requirements.txt \
|
||||||
setuptools
|
"setuptools<81"
|
||||||
|
|
||||||
COPY _speedups.pyx .
|
COPY _speedups.pyx .
|
||||||
COPY intset.h .
|
COPY intset.h .
|
||||||
|
@@ -78,7 +78,7 @@ def install_pkg_resources(yes=False):
|
|||||||
check_pip()
|
check_pip()
|
||||||
if not yes:
|
if not yes:
|
||||||
confirm("pkg_resources not found, press enter to install it")
|
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:
|
def update(yes: bool = False, force: bool = False) -> None:
|
||||||
|
Reference in New Issue
Block a user