Skip to content

Commit 97cfd5c

Browse files
enkorepkittenis
andauthored
ci: swap 3.10 for 3.11 (#60)
* ci: swap 3.10 for 3.11 rationale: 3.6, 3.8 and 3.9 are used by various LTS distros, 3.10 not so much. * ci: use "next gen" circle CI images (cimg) Co-authored-by: Panos <pkittenis@users.noreply.github.com>
1 parent cc52708 commit 97cfd5c

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.circleci/config.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
version: 2.1
1717

1818
orbs:
19-
python: circleci/python@0.3.2
19+
python: circleci/python@2.1.1
2020

2121
jobs:
2222
python_test:
@@ -25,21 +25,17 @@ jobs:
2525
type: string
2626
default: "3.9"
2727
docker:
28-
- image: circleci/python:<< parameters.python_ver >>
28+
- image: cimg/python:<< parameters.python_ver >>
2929
steps:
3030
- checkout
31-
- python/load-cache:
32-
dependency-file: requirements_dev.txt
33-
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
31+
- python/install-packages:
32+
pip-dependency-file: requirements_dev.txt
33+
pkg-manager: pip
3434
- run:
3535
name: Deps
3636
command: |
3737
sudo apt-get update
3838
sudo apt-get install cmake openssh-server
39-
pip install -r requirements_dev.txt
40-
- python/save-cache:
41-
dependency-file: requirements_dev.txt
42-
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
4339
- run:
4440
command: |
4541
pip install -e .
@@ -95,9 +91,9 @@ jobs:
9591
- run:
9692
name: sdist
9793
command: python setup.py sdist
98-
- python/load-cache:
99-
key: manylinuxdepsv6-{{ .Branch }}.{{ arch }}
100-
dependency-file: requirements_dev.txt
94+
- python/install-packages:
95+
pip-dependency-file: requirements_dev.txt
96+
pkg-manager: pip
10197
- run:
10298
name: Git LFS
10399
command: |
@@ -113,9 +109,6 @@ jobs:
113109
pip install twine
114110
which twine
115111
which python3
116-
- python/save-cache:
117-
key: manylinuxdepsv6-{{ .Branch }}.{{ arch }}
118-
dependency-file: requirements_dev.txt
119112
- run:
120113
name: Build Wheels
121114
command: |
@@ -150,7 +143,7 @@ workflows:
150143
- "3.6"
151144
- "3.8"
152145
- "3.9"
153-
- "3.10"
146+
- "3.11"
154147
filters:
155148
tags:
156149
ignore: /.*/

0 commit comments

Comments
 (0)