From 5913de626322176ad7bbcc9eda9634a857b1fc2a Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Tue, 15 Apr 2025 14:48:58 -0700 Subject: [PATCH] Update circleci cimg 3.10.17 which includes uv --- .circleci/config.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 935e054d2..993be1654 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,17 +1,20 @@ +# Python CircleCI 2.1 configuration file +# # As much as possible, this file should be kept in sync with: # https://github.com/napari/napari/blob/main/.circleci/config.yaml -# Use the latest 2.1 version of CircleCI pipeline process engine. -# See: https://circleci.com/docs/2.1/configuration-reference +# +# Check for more details: https://circleci.com/docs/2.1/configuration-reference version: 2.1 + # Orbs are reusable packages of CircleCI configuration that you may share across projects. # See: https://circleci.com/docs/2.1/orb-intro/ orbs: python: circleci/python@3.0.0 + jobs: build-docs: docker: - # A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python - - image: cimg/python:3.10.16 + - image: cimg/python:3.10.17 steps: - checkout: path: docs @@ -24,21 +27,19 @@ jobs: - run: name: Setup virtual environment command: | - python -m venv venv - . venv/bin/activate - python -m pip install --upgrade pip - + uv venv + . .venv/bin/activate - run: name: Install napari-dev command: | - . venv/bin/activate - python -m pip install -e "napari/[pyqt5,docs]" + . .venv/bin/activate + uv pip install -e "napari/[pyqt5,docs]" environment: PIP_CONSTRAINT: napari/resources/constraints/constraints_py3.10_docs.txt - run: name: Build docs command: | - . venv/bin/activate + . .venv/bin/activate cd docs xvfb-run --auto-servernum make html environment: