Skip to content

Commit 640a79c

Browse files
authored
chore(ci): switch to next-gen CircleCI's convenience images (#327)
1 parent d2aa0af commit 640a79c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.circleci/config.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ commands:
2222
- restore_cache:
2323
name: Restoring Pip Cache
2424
keys:
25-
- &cache-key pip-cache-v9-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-{{ checksum "setup.py" }}
26-
- pip-cache-v9-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-
27-
- run:
28-
command: | # use pipenv to install dependencies
29-
sudo pip install pipenv
25+
- &cache-key pip-cache-v11-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-{{ checksum "setup.py" }}
26+
- pip-cache-v11-<< parameters.python-image >>-<< parameters.enabled-ciso-8601 >>-
3027
- run:
3128
name: "Running tests"
3229
command: ./scripts/ci-test.sh
@@ -46,7 +43,7 @@ jobs:
4643
parameters:
4744
python-image:
4845
type: string
49-
default: &default-python "circleci/python:3.6-buster"
46+
default: &default-python "cimg/python:3.6"
5047
influxdb-image:
5148
type: string
5249
default: &default-influxdb "influxdb:latest"
@@ -93,6 +90,7 @@ jobs:
9390
- run:
9491
name: Checks that the description will render correctly on PyPI.
9592
command: |
93+
pip install --upgrade pip
9694
pip install twine --user
9795
python setup.py sdist bdist_wheel
9896
twine check dist/*
@@ -173,13 +171,13 @@ workflows:
173171
influxdb-image: "quay.io/influxdb/influxdb:nightly"
174172
- tests-python:
175173
name: test-3.7
176-
python-image: "circleci/python:3.7-buster"
174+
python-image: "cimg/python:3.7"
177175
- tests-python:
178176
name: test-3.8
179-
python-image: "circleci/python:3.8-buster"
177+
python-image: "cimg/python:3.8"
180178
- tests-python:
181179
name: test-3.9
182-
python-image: "circleci/python:3.9-buster"
180+
python-image: "cimg/python:3.9"
183181

184182
nightly:
185183
triggers:

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
### Bug Fixes
99
1. [#321](https://github.com/influxdata/influxdb-client-python/pull/321): Fixes return type for dashboard when `include=properties` is used
10+
11+
### CI
12+
1. [#327](https://github.com/influxdata/influxdb-client-python/pull/327): Switch to next-gen CircleCI's convenience images
1013

1114
## 1.20.0 [2021-08-20]
1215

0 commit comments

Comments
 (0)