Skip to content

Commit

Permalink
Fix Python 3.6 CI build by installing rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Nov 24, 2021
1 parent 93b1c94 commit d9b897a
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
PYTHON_INTERPRETER: python3
SUDO: sudo
ENCHANT_PACKAGE: python3-enchant
EXTRA_APT: rustc # there is no wheel for cryptography

- image: circleci/postgres:9.6-ram
environment:
Expand All @@ -37,6 +38,17 @@ jobs:
steps:
- checkout

- run:
name: apt update
command: |
set +e
$SUDO apt update
echo
- run:
name: Installing psql client and enchant
command: $SUDO apt -y install postgresql-client netcat $ENCHANT_PACKAGE $EXTRA_APT

- restore_cache:
keys:
- v10-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements.txt" }}
Expand All @@ -62,17 +74,6 @@ jobs:
- ./venv
key: v10-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "requirements.txt" }}

- run:
name: apt update
command: |
set +e
$SUDO apt update
echo
- run:
name: Installing psql client and enchant
command: $SUDO apt -y install postgresql-client netcat $ENCHANT_PACKAGE

- run:
name: Waiting for PostgreSQL to be ready
command: |
Expand Down Expand Up @@ -142,6 +143,7 @@ jobs:
PYTHON_INTERPRETER: python3
SUDO: sudo
ENCHANT_PACKAGE: python3-enchant
EXTRA_APT: ''

- image: circleci/postgres:9.6
environment:
Expand All @@ -165,6 +167,7 @@ jobs:
PYTHON_INTERPRETER: pypy3
SUDO: ''
ENCHANT_PACKAGE: python3-enchant
EXTRA_APT: ''

- image: circleci/postgres:9.6
environment:
Expand All @@ -188,6 +191,7 @@ jobs:
PYTHON_INTERPRETER: pypy3
SUDO: ''
ENCHANT_PACKAGE: python-enchant
EXTRA_APT: rustc

- image: circleci/postgres:9.6
environment:
Expand Down

0 comments on commit d9b897a

Please sign in to comment.