Skip to content

Commit d0cd57a

Browse files
authored
virtualenv fix for pypi cache issue (#64)
disabling circle cache for now
1 parent 5724d36 commit d0cd57a

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.circleci/config.yml

+1-13
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,10 @@ commands:
4646
- abort_for_noci
4747
- checkout
4848

49-
- restore_cache: # Download and cache dependencies
50-
keys:
51-
- v1-dependencies-{{ checksum "pyproject.toml" }}
52-
# fallback to using the latest cache if no exact match is found
53-
- v1-dependencies-
54-
5549
- run:
5650
name: install tox dependencies
5751
command: |
52+
pip install --user --quiet --upgrade pip virtualenv
5853
pip install --user --quiet -r .circleci/circle_requirements.txt
5954
6055
- run:
@@ -79,13 +74,6 @@ commands:
7974
command:
8075
tox -e cover
8176

82-
- save_cache:
83-
paths:
84-
- ./.tox
85-
- ~/.cache/pip
86-
- ~/.cache/pypoetry
87-
key: v1-dependencies-{{ checksum "pyproject.toml" }}
88-
8977
jobs:
9078
build:
9179
parameters:

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exclude =.git,.tox,dist,doc,*/__pycache__/*,*test*.py
1212
[testenv:cover]
1313
whitelist_externals = find
1414
commands_pre =
15-
find . -type f -name "*.pyc" -delete
15+
pip install --upgrade pip
1616
setenv =
1717
REDIS_PORT = 6379
1818
commands =

0 commit comments

Comments
 (0)