Skip to content

Commit a3d8aaf

Browse files
authored
Merge pull request #87 from RedisAI/ck-virtualenv-fix
virtualenv fix for pypi cache issue
2 parents 98708ee + 7942e51 commit a3d8aaf

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
@@ -39,15 +39,11 @@ commands:
3939
build_and_test:
4040
steps:
4141
- checkout
42-
- restore_cache: # Download and cache dependencies
43-
keys:
44-
- v1-dependencies-{{ checksum "pyproject.toml" }}
45-
# fallback to using the latest cache if no exact match is found
46-
- v1-dependencies-
4742

4843
- run:
4944
name: install tox dependencies
5045
command: |
46+
pip install --user --upgrade pip virtualenv
5147
pip install --user --quiet -r .circleci/circle_requirements.txt
5248
5349
- run:
@@ -66,13 +62,6 @@ commands:
6662
command:
6763
tox -e tests
6864

69-
- save_cache:
70-
paths:
71-
- ./.tox
72-
- ~/.cache/pip
73-
- ~/.cache/pypoetry
74-
key: v1-dependencies-{{ checksum "pyproject.toml" }}
75-
7665
jobs:
7766
build:
7867
parameters:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exclude =.git,.tox,dist,doc,*/__pycache__/*
1111
[testenv:tests]
1212
whitelist_externals = find
1313
commands_pre =
14-
find . -type f -name "*.pyc" -delete
14+
pip install --upgrade pip
1515
commands =
1616
nosetests -vsx test
1717

0 commit comments

Comments
 (0)