Skip to content

Commit 92d5f54

Browse files
authored
Update circleci cimg base to 3.10.17 which includes uv (#673)
# References and relevant issues Split out from #618 # Description Updates circleci base image and uses uv for venv management
1 parent a4cf644 commit 92d5f54

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.circleci/config.yml

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1+
# Python CircleCI 2.1 configuration file
2+
#
13
# As much as possible, this file should be kept in sync with:
24
# https://github.com/napari/napari/blob/main/.circleci/config.yaml
3-
# Use the latest 2.1 version of CircleCI pipeline process engine.
4-
# See: https://circleci.com/docs/2.1/configuration-reference
5+
#
6+
# Check for more details: https://circleci.com/docs/2.1/configuration-reference
57
version: 2.1
8+
69
# Orbs are reusable packages of CircleCI configuration that you may share across projects.
710
# See: https://circleci.com/docs/2.1/orb-intro/
811
orbs:
912
python: circleci/[email protected]
13+
1014
jobs:
1115
build-docs:
1216
docker:
13-
# A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python
14-
- image: cimg/python:3.10.16
17+
- image: cimg/python:3.10.17
1518
steps:
1619
- checkout:
1720
path: docs
@@ -24,21 +27,19 @@ jobs:
2427
- run:
2528
name: Setup virtual environment
2629
command: |
27-
python -m venv venv
28-
. venv/bin/activate
29-
python -m pip install --upgrade pip
30-
30+
uv venv
31+
. .venv/bin/activate
3132
- run:
3233
name: Install napari-dev
3334
command: |
34-
. venv/bin/activate
35-
python -m pip install -e "napari/[pyqt5,docs]"
35+
. .venv/bin/activate
36+
uv pip install -e "napari/[pyqt5,docs]"
3637
environment:
3738
PIP_CONSTRAINT: napari/resources/constraints/constraints_py3.10_docs.txt
3839
- run:
3940
name: Build docs
4041
command: |
41-
. venv/bin/activate
42+
. .venv/bin/activate
4243
cd docs
4344
xvfb-run --auto-servernum make html
4445
environment:

0 commit comments

Comments
 (0)