Skip to content

Commit 7f6ef43

Browse files
authored
virtualenv fix for pypi cache issue (#41)
disabling circle cache for now
1 parent 8103276 commit 7f6ef43

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.circleci/config.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,10 @@ commands:
4747
- abort_for_noci
4848
- checkout
4949

50-
- restore_cache: # Download and cache dependencies
51-
keys:
52-
- v1-dependencies-{{ checksum "pyproject.toml" }}
53-
# fallback to using the latest cache if no exact match is found
54-
- v1-dependencies-
55-
5650
- run:
5751
name: install tox dependencies
5852
command: |
53+
pip install --user --upgrade pip virtualenv
5954
pip install --user --quiet -r .circleci/circle_requirements.txt
6055
6156
- run:
@@ -75,12 +70,6 @@ commands:
7570
command:
7671
tox -e cover
7772

78-
- save_cache:
79-
paths:
80-
- ./.tox
81-
- ~/.cache/pip
82-
key: v1-dependencies-{{ checksum "pyproject.toml" }}
83-
8473
- store_artifacts:
8574
path: test-reports
8675
destination: test-reports

tox.ini

Lines changed: 1 addition & 1 deletion
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)