Skip to content

Commit

Permalink
ci: swap 3.10 for 3.11 (#60)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
enkore and pkittenis authored Nov 22, 2022
1 parent cc52708 commit 97cfd5c
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
version: 2.1

orbs:
python: circleci/python@0.3.2
python: circleci/python@2.1.1

jobs:
python_test:
Expand All @@ -25,21 +25,17 @@ jobs:
type: string
default: "3.9"
docker:
- image: circleci/python:<< parameters.python_ver >>
- image: cimg/python:<< parameters.python_ver >>
steps:
- checkout
- python/load-cache:
dependency-file: requirements_dev.txt
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
- python/install-packages:
pip-dependency-file: requirements_dev.txt
pkg-manager: pip
- run:
name: Deps
command: |
sudo apt-get update
sudo apt-get install cmake openssh-server
pip install -r requirements_dev.txt
- python/save-cache:
dependency-file: requirements_dev.txt
key: depsv3-{{ .Branch }}.{{ arch }}-PY<< parameters.python_ver >>
- run:
command: |
pip install -e .
Expand Down Expand Up @@ -95,9 +91,9 @@ jobs:
- run:
name: sdist
command: python setup.py sdist
- python/load-cache:
key: manylinuxdepsv6-{{ .Branch }}.{{ arch }}
dependency-file: requirements_dev.txt
- python/install-packages:
pip-dependency-file: requirements_dev.txt
pkg-manager: pip
- run:
name: Git LFS
command: |
Expand All @@ -113,9 +109,6 @@ jobs:
pip install twine
which twine
which python3
- python/save-cache:
key: manylinuxdepsv6-{{ .Branch }}.{{ arch }}
dependency-file: requirements_dev.txt
- run:
name: Build Wheels
command: |
Expand Down Expand Up @@ -150,7 +143,7 @@ workflows:
- "3.6"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
filters:
tags:
ignore: /.*/
Expand Down

0 comments on commit 97cfd5c

Please sign in to comment.