Skip to content

Update circleci cimg base to 3.10.17 which includes uv #673

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down