mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
hub env: remove pip pinning, always upgrade pip
This commit is contained in:
3
.github/workflows/unit-test.yaml
vendored
3
.github/workflows/unit-test.yaml
vendored
@@ -81,10 +81,7 @@ jobs:
|
||||
${{ hashFiles('setup.py', 'dev-requirements.txt', '.github/workflows/unit-test.yaml') }}
|
||||
|
||||
- name: Install Python dependencies
|
||||
# Keep pip version pinning in sync with the one in bootstrap.py!
|
||||
# See changelog at https://pip.pypa.io/en/latest/news/#changelog
|
||||
run: |
|
||||
python3 -m pip install -U "pip==23.1.*"
|
||||
python3 -m pip install -r dev-requirements.txt
|
||||
python3 -m pip install -e .
|
||||
pip freeze
|
||||
|
||||
@@ -475,11 +475,8 @@ def main():
|
||||
os.makedirs(hub_env_prefix, exist_ok=True)
|
||||
run_subprocess(["python3", "-m", "venv", hub_env_prefix])
|
||||
|
||||
# Upgrade pip
|
||||
# Keep pip version pinning in sync with the one in unit-test.yml!
|
||||
# See changelog at https://pip.pypa.io/en/latest/news/#changelog
|
||||
logger.info("Upgrading pip...")
|
||||
run_subprocess([hub_env_pip, "install", "--upgrade", "pip==23.1.*"])
|
||||
run_subprocess([hub_env_pip, "install", "--upgrade", "pip"])
|
||||
|
||||
# Install/upgrade TLJH installer
|
||||
tljh_install_cmd = [hub_env_pip, "install", "--upgrade"]
|
||||
|
||||
Reference in New Issue
Block a user